| Author |
Message |
tommyjjohnson
Joined: 03 Jan 2007 Posts: 3
|
Posted: Tue Feb 27, 2007 10:31 pm Post subject: Error Distributing Load Generation |
|
|
I'm trying to use multiple hosts to generate load using a particular test script. I have it setup like this:
localhost
--localhost
----Host1
----Host2
----Host3
----Hostn
When I start the test, everything looks good. I can tell by the Web Service\Current Connections performance counter that my script is running and, in fact, hitting the Web Server(s). In addition, I have text that is being logged to track the progress of the script and it shows that the script is progressing as expected. After a while, however, I get the following message on the master machine:
An error was raised on .:
System.Runtime.Remoting.RemotingException: Server encountered an internal error. For more information, turn on customErrors in the server's .config file.
Server stack trace:
Exception rethrown at[0]:
at System.Runtime.Remoting.Proxies.RealProxy.HandleReturnMessage(IMessage reqMsg, IMessage retMsg)
at System.Runtime.Remoting.Proxies.RealProxy.PrivateInvoke(MessageData& msgData, Int32 type)
at RedGate.Ants.Controllers._1.EndInvoke(IAsyncResult result)
at RedGate.Ants.Controllers.Host._1(IAsyncResult)
Any help would be much appreciated.
Thanks in advance |
|
| Back to top |
|
 |
Brian Donahue
Joined: 23 Aug 2004 Posts: 6346 Location: Red Gate Software
|
Posted: Tue Feb 27, 2007 10:44 pm Post subject: |
|
|
It looks like one of the distributed test hosts isn't working, and of course we can't tell which one. Is it possible to try putting only one host in, trying each one, until you can find out which one has the problem? It may be as simple as starting the ANTS Load Distributed Test Service on the host because it isn't running. _________________ Brian Donahue
Technical Support
Red Gate Software Ltd.
44 (0)870 160 0037 ext 8521
US and CAN 1-866-RED GATE ext 8521 |
|
| Back to top |
|
 |
tommyjjohnson
Joined: 03 Jan 2007 Posts: 3
|
Posted: Tue Feb 27, 2007 11:08 pm Post subject: |
|
|
I left out that I get two such errors for every one distributed host. I changed it to use just one host and now I get just two error messages.
I've verified that the service is running. As a precaution, I even restarted the service on each distributed host. Also, the individual hosts are able to run the script if I start the Ants GUI on them directly.
What I'm looking into now is how to turn customErrors off so that hopefully, I can get more information. I'm not quite sure how to do that. What I think I need to do (and what I've done) is to create a RedGate.Ants.Ants.exe.config file in the Program Files\Ants Load folder with customErrors="Off" in it. And as I type I see that didn't work. Same error message. Actually, I notice now there is one variant between the messages. This one had the last two lines of:
at RedGate.Ants.Controllers._3.EndInvoke(IAsyncResult result)
at RedGate.Ants.Controllers.Host._7(IAsyncResult)
where it was
at RedGate.Ants.Controllers._1.EndInvoke(IAsyncResult result)
at RedGate.Ants.Controllers.Host._1(IAsyncResult)
Thanks |
|
| Back to top |
|
 |
Brian Donahue
Joined: 23 Aug 2004 Posts: 6346 Location: Red Gate Software
|
Posted: Tue Feb 27, 2007 11:32 pm Post subject: |
|
|
Two ideas: I think the account you log into the ANTS master with needs to be a domain account with admin rights on all machines. I know ANTS uses the ANTS:Host performance counters to distribute the load. I'm not 100% sure about whether the Service (which is probably running as LocalSystem) does this, which is the source of the doubt.
There could also be remoting restrictions in the .NET Framework configuration. I think if this was the case, though, the exception would have 'SecurityException' in it somewhere.
Can you please look into one or both of these and let me know the outcome? _________________ Brian Donahue
Technical Support
Red Gate Software Ltd.
44 (0)870 160 0037 ext 8521
US and CAN 1-866-RED GATE ext 8521 |
|
| Back to top |
|
 |
|
|
All times are GMT + 1 Hour
|
| Page 1 of 1 |
|
You cannot post new topics in this forum You cannot reply to topics in this forum You cannot edit your posts in this forum You cannot delete your posts in this forum You cannot vote in polls in this forum
|
Powered by phpBB © 2001, 2005 phpBB Group