You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@jmeter.apache.org by Mitesh Patel <pa...@hotmail.com> on 2012/12/14 16:03:51 UTC

Remote testing via Unix failure?

Hi,

I have an "all Unix" contoller/slave environment configued, and am running into the following errors during the ramp up of threads:

012/12/14 14:26:49 ERROR - jmeter.samplers.StandardSampleSender: sampleOccurred java.rmi.ConnectIOException: error during JRMP connection establishment; nested exception is: 
    java.net.SocketException: Connection reset
    at sun.rmi.transport.tcp.TCPChannel.createConnection(TCPChannel.java:304)
    at sun.rmi.transport.tcp.TCPChannel.newConnection(TCPChannel.java:202)
    at sun.rmi.server.UnicastRef.invoke(UnicastRef.java:128)
    at org.apache.jmeter.samplers.RemoteSampleListenerImpl_Stub.sampleOccurred(Unknown Source)
    at org.apache.jmeter.samplers.StandardSampleSender.sampleOccurred(StandardSampleSender.java:65)
    at org.apache.jmeter.samplers.RemoteListenerWrapper.sampleOccurred(RemoteListenerWrapper.java:99)
    at org.apache.jmeter.threads.ListenerNotifier.notifyListeners(ListenerNotifier.java:84)
    at org.apache.jmeter.threads.JMeterThread.notifyListeners(JMeterThread.java:774)
    at org.apache.jmeter.threads.JMeterThread.process_sampler(JMeterThread.java:440)
    at org.apache.jmeter.threads.JMeterThread.run(JMeterThread.java:255)
    at java.lang.Thread.run(Thread.java:722)
Caused by: java.net.SocketException: Connection reset
    at java.net.SocketInputStream.read(SocketInputStream.java:189)
    at java.net.SocketInputStream.read(SocketInputStream.java:121)
    at java.io.BufferedInputStream.fill(BufferedInputStream.java:235)
    at java.io.BufferedInputStream.read(BufferedInputStream.java:254)
    at java.io.DataInputStream.readByte(DataInputStream.java:265)
    at sun.rmi.transport.tcp.TCPChannel.createConnection(TCPChannel.java:246)
    ... 10 more

Does anybody know what could be causing this?

Thanks,
 		 	   		  

Re: Remote testing via Unix failure?

Posted by sebb <se...@gmail.com>.
On 14 December 2012 15:03, Mitesh Patel <pa...@hotmail.com> wrote:
> Hi,
>
> I have an "all Unix" contoller/slave environment configued, and am running into the following errors during the ramp up of threads:
>
> 012/12/14 14:26:49 ERROR - jmeter.samplers.StandardSampleSender: sampleOccurred java.rmi.ConnectIOException: error during JRMP connection establishment; nested exception is:
>     java.net.SocketException: Connection reset
>     at sun.rmi.transport.tcp.TCPChannel.createConnection(TCPChannel.java:304)
>     at sun.rmi.transport.tcp.TCPChannel.newConnection(TCPChannel.java:202)
>     at sun.rmi.server.UnicastRef.invoke(UnicastRef.java:128)
>     at org.apache.jmeter.samplers.RemoteSampleListenerImpl_Stub.sampleOccurred(Unknown Source)
>     at org.apache.jmeter.samplers.StandardSampleSender.sampleOccurred(StandardSampleSender.java:65)
>     at org.apache.jmeter.samplers.RemoteListenerWrapper.sampleOccurred(RemoteListenerWrapper.java:99)
>     at org.apache.jmeter.threads.ListenerNotifier.notifyListeners(ListenerNotifier.java:84)
>     at org.apache.jmeter.threads.JMeterThread.notifyListeners(JMeterThread.java:774)
>     at org.apache.jmeter.threads.JMeterThread.process_sampler(JMeterThread.java:440)
>     at org.apache.jmeter.threads.JMeterThread.run(JMeterThread.java:255)
>     at java.lang.Thread.run(Thread.java:722)
> Caused by: java.net.SocketException: Connection reset
>     at java.net.SocketInputStream.read(SocketInputStream.java:189)
>     at java.net.SocketInputStream.read(SocketInputStream.java:121)
>     at java.io.BufferedInputStream.fill(BufferedInputStream.java:235)
>     at java.io.BufferedInputStream.read(BufferedInputStream.java:254)
>     at java.io.DataInputStream.readByte(DataInputStream.java:265)
>     at sun.rmi.transport.tcp.TCPChannel.createConnection(TCPChannel.java:246)
>     ... 10 more
>
> Does anybody know what could be causing this?

If it is only sporadic, then most likely a lack of OS resoruces or a
network problem.

Try using a different remote batching node, e.g. set the jmeter property

mode=Asynch

see the comments in jmeter.properties.

> Thanks,
>

---------------------------------------------------------------------
To unsubscribe, e-mail: user-unsubscribe@jmeter.apache.org
For additional commands, e-mail: user-help@jmeter.apache.org