executing 2 nGrinder Agent on the same machine

classic Classic list List threaded Threaded
2 messages Options
Reply | Threaded
Open this post in threaded view
|

executing 2 nGrinder Agent on the same machine

Shantanu
I am using the below commands to execute two grinder agent on the same machine

run_agent.bat --agent-home ngrinde-agent-1 -hi my_agent_1

run_agent.bat --agent-home ngrinde-agent-2 -hi my_agent_2

But i am getting the below error

2014-05-07 15:12:51,226 ERROR worker-bootstrap: Error running worker process net.grinder.communication.CommunicationException: Exception whilst sending message
        at net.grinder.communication.AbstractSender.send(AbstractSender.java:57)
 ~[grinder-core-3.9.1.jar:na]
        at net.grinder.communication.QueuedSenderDecorator.flush(QueuedSenderDec
orator.java:60) ~[grinder-core-3.9.1.jar:na]
        at net.grinder.engine.process.GrinderProcess.sendStatusMessage(GrinderPr
ocess.java:544) ~[ngrinder-runtime-3.3.jar:na]
        at net.grinder.engine.process.GrinderProcess.run(GrinderProcess.java:352
) ~[ngrinder-runtime-3.3.jar:na]
        at net.grinder.engine.process.WorkerProcessEntryPoint.run(WorkerProcessE
ntryPoint.java:87) [grinder-core-3.9.1.jar:na]
        at net.grinder.engine.process.WorkerProcessEntryPoint.main(WorkerProcess
EntryPoint.java:60) [grinder-core-3.9.1.jar:na]
Caused by: java.net.SocketException: Software caused connection abort: socket wr
ite error
        at java.net.SocketOutputStream.socketWrite0(Native Method) ~[na:1.7.0_51
]
        at java.net.SocketOutputStream.socketWrite(Unknown Source) ~[na:1.7.0_51
]
        at java.net.SocketOutputStream.write(Unknown Source) ~[na:1.7.0_51]
        at java.io.BufferedOutputStream.flushBuffer(Unknown Source) ~[na:1.7.0_5
1]
        at java.io.BufferedOutputStream.flush(Unknown Source) ~[na:1.7.0_51]
        at java.io.ObjectOutputStream$BlockDataOutputStream.flush(Unknown Source
) ~[na:1.7.0_51]
        at java.io.ObjectOutputStream.flush(Unknown Source) ~[na:1.7.0_51]
        at net.grinder.communication.AbstractSender.writeMessageToStream(Abstrac
tSender.java:90) ~[grinder-core-3.9.1.jar:na]
        at net.grinder.communication.StreamSender.writeMessage(StreamSender.java
:70) ~[grinder-core-3.9.1.jar:na]
        at net.grinder.communication.AbstractSender.send(AbstractSender.java:53)
 ~[grinder-core-3.9.1.jar:na]
        ... 5 common frames omitted
2014-05-07 15:12:54,031 ERROR worker-bootstrap: Error running worker process
net.grinder.communication.CommunicationException: Exception whilst sending messa
ge
        at net.grinder.communication.AbstractSender.send(AbstractSender.java:57)
 ~[grinder-core-3.9.1.jar:na]
        at net.grinder.communication.QueuedSenderDecorator.flush(QueuedSenderDec
orator.java:60) ~[grinder-core-3.9.1.jar:na]
        at net.grinder.engine.process.GrinderProcess.sendStatusMessage(GrinderPr
ocess.java:544) ~[ngrinder-runtime-3.3.jar:na]
        at net.grinder.engine.process.GrinderProcess.run(GrinderProcess.java:352
) ~[ngrinder-runtime-3.3.jar:na]
        at net.grinder.engine.process.WorkerProcessEntryPoint.run(WorkerProcessE
ntryPoint.java:87) [grinder-core-3.9.1.jar:na]
        at net.grinder.engine.process.WorkerProcessEntryPoint.main(WorkerProcess
EntryPoint.java:60) [grinder-core-3.9.1.jar:na]
Caused by: java.net.SocketException: Software caused connection abort: socket wr
ite error
        at java.net.SocketOutputStream.socketWrite0(Native Method) ~[na:1.7.0_51
]
        at java.net.SocketOutputStream.socketWrite(Unknown Source) ~[na:1.7.0_51
]
        at java.net.SocketOutputStream.write(Unknown Source) ~[na:1.7.0_51]
        at java.io.BufferedOutputStream.flushBuffer(Unknown Source) ~[na:1.7.0_5
1]
        at java.io.BufferedOutputStream.flush(Unknown Source) ~[na:1.7.0_51]
        at java.io.ObjectOutputStream$BlockDataOutputStream.flush(Unknown Source
) ~[na:1.7.0_51]
        at java.io.ObjectOutputStream.flush(Unknown Source) ~[na:1.7.0_51]
        at net.grinder.communication.AbstractSender.writeMessageToStream(Abstrac
tSender.java:90) ~[grinder-core-3.9.1.jar:na]
        at net.grinder.communication.StreamSender.writeMessage(StreamSender.java
:70) ~[grinder-core-3.9.1.jar:na]
        at net.grinder.communication.AbstractSender.send(AbstractSender.java:53)
 ~[grinder-core-3.9.1.jar:na]
        ... 5 common frames omitted
2014-05-07 15:12:54,095 ERROR worker-bootstrap: Error running worker process
net.grinder.communication.CommunicationException: Exception whilst sending messa
ge
        at net.grinder.communication.AbstractSender.send(AbstractSender.java:57)
 ~[grinder-core-3.9.1.jar:na]
        at net.grinder.communication.QueuedSenderDecorator.flush(QueuedSenderDec
orator.java:60) ~[grinder-core-3.9.1.jar:na]
        at net.grinder.engine.process.GrinderProcess.sendStatusMessage(GrinderPr
ocess.java:544) ~[ngrinder-runtime-3.3.jar:na]
        at net.grinder.engine.process.GrinderProcess.run(GrinderProcess.java:352
) ~[ngrinder-runtime-3.3.jar:na]
        at net.grinder.engine.process.WorkerProcessEntryPoint.run(WorkerProcessE
ntryPoint.java:87) [grinder-core-3.9.1.jar:na]
        at net.grinder.engine.process.WorkerProcessEntryPoint.main(WorkerProcess
EntryPoint.java:60) [grinder-core-3.9.1.jar:na]
Caused by: java.net.SocketException: Software caused connection abort: socket wr
ite error
        at java.net.SocketOutputStream.socketWrite0(Native Method) ~[na:1.7.0_51
]
        at java.net.SocketOutputStream.socketWrite(Unknown Source) ~[na:1.7.0_51
]
        at java.net.SocketOutputStream.write(Unknown Source) ~[na:1.7.0_51]
        at java.io.BufferedOutputStream.flushBuffer(Unknown Source) ~[na:1.7.0_5
1]
        at java.io.BufferedOutputStream.flush(Unknown Source) ~[na:1.7.0_51]
        at java.io.ObjectOutputStream$BlockDataOutputStream.flush(Unknown Source
) ~[na:1.7.0_51]
        at java.io.ObjectOutputStream.flush(Unknown Source) ~[na:1.7.0_51]
        at net.grinder.communication.AbstractSender.writeMessageToStream(Abstrac
tSender.java:90) ~[grinder-core-3.9.1.jar:na]
        at net.grinder.communication.StreamSender.writeMessage(StreamSender.java
:70) ~[grinder-core-3.9.1.jar:na]
        at net.grinder.communication.AbstractSender.send(AbstractSender.java:53)
 ~[grinder-core-3.9.1.jar:na]
        ... 5 common frames omitted
2014-05-07 15:12:54,862 ERROR worker-bootstrap: Error running worker process
net.grinder.communication.CommunicationException: Exception whilst sending messa
ge
        at net.grinder.communication.AbstractSender.send(AbstractSender.java:57)
 ~[grinder-core-3.9.1.jar:na]
        at net.grinder.communication.QueuedSenderDecorator.flush(QueuedSenderDec
orator.java:60) ~[grinder-core-3.9.1.jar:na]
        at net.grinder.engine.process.GrinderProcess.sendStatusMessage(GrinderPr
ocess.java:544) ~[ngrinder-runtime-3.3.jar:na]
        at net.grinder.engine.process.GrinderProcess.run(GrinderProcess.java:352
) ~[ngrinder-runtime-3.3.jar:na]
        at net.grinder.engine.process.WorkerProcessEntryPoint.run(WorkerProcessE
ntryPoint.java:87) [grinder-core-3.9.1.jar:na]
        at net.grinder.engine.process.WorkerProcessEntryPoint.main(WorkerProcess
EntryPoint.java:60) [grinder-core-3.9.1.jar:na]
Caused by: java.net.SocketException: Software caused connection abort: socket wr
ite error
        at java.net.SocketOutputStream.socketWrite0(Native Method) ~[na:1.7.0_51
]
        at java.net.SocketOutputStream.socketWrite(Unknown Source) ~[na:1.7.0_51
]
        at java.net.SocketOutputStream.write(Unknown Source) ~[na:1.7.0_51]
        at java.io.BufferedOutputStream.flushBuffer(Unknown Source) ~[na:1.7.0_5
1]
        at java.io.BufferedOutputStream.flush(Unknown Source) ~[na:1.7.0_51]
        at java.io.ObjectOutputStream$BlockDataOutputStream.flush(Unknown Source
) ~[na:1.7.0_51]
        at java.io.ObjectOutputStream.flush(Unknown Source) ~[na:1.7.0_51]
        at net.grinder.communication.AbstractSender.writeMessageToStream(Abstrac
tSender.java:90) ~[grinder-core-3.9.1.jar:na]
        at net.grinder.communication.StreamSender.writeMessage(StreamSender.java
:70) ~[grinder-core-3.9.1.jar:na]
        at net.grinder.communication.AbstractSender.send(AbstractSender.java:53)
 ~[grinder-core-3.9.1.jar:na]
        ... 5 common frames omitted
Reply | Threaded
Open this post in threaded view
|

Re: executing 2 nGrinder Agent on the same machine

junoyoon
Administrator
Sorry for late response. I was so busy to release the other product so far.

The message you've got is to indicate that there are some failure while sending the periodic message to controller and it's ignoble if it's not occurred too much. The controller is tolerable enough to eat the trivial errors.

It's usually occurred when you made too much traffic which the underlying OS can not handle well. If you use linux instead of the Windows you currently use, you may see fewer error messages.