You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@jmeter.apache.org by Ch...@labware.com on 2008/09/22 14:18:25 UTC

Interpretation of errors in jmeter.log file

Hi Guys,
After running my test for 1 hour when I was simulating 50 users to load 
test an ajax application , I have got such errors(marked in bold) in 
Jmeter.log file ...Any clue as to what went wrong here : Basically what I 
get is BindException ....Whats wrong here ?Why would BindException show up 
after running for 1 hour ?

2008/09/22 14:56:40 INFO  - jmeter.engine.StandardJMeterEngine: Starting 
50 threads for group Thread Group. Ramp up = 25. 
2008/09/22 14:56:40 INFO  - jmeter.engine.StandardJMeterEngine: Thread 
will stop on error 
2008/09/22 14:56:40 INFO  - jmeter.threads.JMeterThread: 
jmeterthread.startearlier=true (see jmeter.properties) 
2008/09/22 14:56:40 INFO  - jmeter.threads.JMeterThread: Running 
PostProcessors in forward order 
2008/09/22 14:56:40 INFO  - jmeter.threads.JMeterThread: Thread Thread 
Group 1-1 started 
2008/09/22 14:56:41 INFO  - jmeter.threads.JMeterThread: Thread Thread 
Group 1-2 started 
2008/09/22 14:56:42 INFO  - jmeter.threads.JMeterThread: Thread Thread 
Group 1-3 started 
2008/09/22 14:56:42 INFO  - jmeter.threads.JMeterThread: Thread Thread 
Group 1-4 started 
2008/09/22 14:56:43 INFO  - jmeter.threads.JMeterThread: Thread Thread 
Group 1-5 started 
2008/09/22 14:56:43 INFO  - jmeter.threads.JMeterThread: Thread Thread 
Group 1-6 started 
2008/09/22 14:56:44 INFO  - jmeter.threads.JMeterThread: Thread Thread 
Group 1-7 started 
2008/09/22 14:56:44 INFO  - jmeter.threads.JMeterThread: Thread Thread 
Group 1-8 started 
2008/09/22 14:56:45 INFO  - jmeter.threads.JMeterThread: Thread Thread 
Group 1-9 started 
2008/09/22 14:56:46 INFO  - jmeter.threads.JMeterThread: Thread Thread 
Group 1-10 started 
2008/09/22 14:56:46 INFO  - jmeter.threads.JMeterThread: Thread Thread 
Group 1-11 started 
2008/09/22 14:56:48 INFO  - jmeter.threads.JMeterThread: Thread Thread 
Group 1-12 started 
2008/09/22 14:56:48 INFO  - jmeter.threads.JMeterThread: Thread Thread 
Group 1-13 started 
2008/09/22 14:56:49 INFO  - jmeter.threads.JMeterThread: Thread Thread 
Group 1-14 started 
2008/09/22 14:56:50 INFO  - jmeter.threads.JMeterThread: Thread Thread 
Group 1-15 started 
2008/09/22 14:56:50 INFO  - jmeter.threads.JMeterThread: Thread Thread 
Group 1-16 started 
2008/09/22 14:56:51 INFO  - jmeter.threads.JMeterThread: Thread Thread 
Group 1-17 started 
2008/09/22 14:56:51 INFO  - jmeter.threads.JMeterThread: Thread Thread 
Group 1-18 started 
2008/09/22 14:56:52 INFO  - jmeter.threads.JMeterThread: Thread Thread 
Group 1-19 started 
2008/09/22 14:56:52 INFO  - jmeter.threads.JMeterThread: Thread Thread 
Group 1-20 started 
2008/09/22 14:56:53 INFO  - jmeter.threads.JMeterThread: Thread Thread 
Group 1-21 started 
2008/09/22 14:56:54 INFO  - jmeter.threads.JMeterThread: Thread Thread 
Group 1-22 started 
2008/09/22 14:56:54 INFO  - jmeter.threads.JMeterThread: Thread Thread 
Group 1-23 started 
2008/09/22 14:56:55 INFO  - jmeter.threads.JMeterThread: Thread Thread 
Group 1-24 started 
2008/09/22 14:56:56 INFO  - jmeter.threads.JMeterThread: Thread Thread 
Group 1-25 started 
2008/09/22 14:56:57 INFO  - jmeter.threads.JMeterThread: Thread Thread 
Group 1-26 started 
2008/09/22 14:56:57 INFO  - jmeter.threads.JMeterThread: Thread Thread 
Group 1-27 started 
2008/09/22 14:56:58 INFO  - jmeter.threads.JMeterThread: Thread Thread 
Group 1-28 started 
2008/09/22 14:56:58 INFO  - jmeter.threads.JMeterThread: Thread Thread 
Group 1-29 started 
2008/09/22 14:56:59 INFO  - jmeter.threads.JMeterThread: Thread Thread 
Group 1-30 started 
2008/09/22 14:57:00 INFO  - jmeter.threads.JMeterThread: Thread Thread 
Group 1-31 started 
2008/09/22 14:57:00 INFO  - jmeter.threads.JMeterThread: Thread Thread 
Group 1-32 started 
2008/09/22 14:57:01 INFO  - jmeter.threads.JMeterThread: Thread Thread 
Group 1-33 started 
2008/09/22 14:57:02 INFO  - jmeter.threads.JMeterThread: Thread Thread 
Group 1-34 started 
2008/09/22 14:57:02 INFO  - jmeter.threads.JMeterThread: Thread Thread 
Group 1-35 started 
2008/09/22 14:57:03 INFO  - jmeter.threads.JMeterThread: Thread Thread 
Group 1-36 started 
2008/09/22 14:57:04 INFO  - jmeter.threads.JMeterThread: Thread Thread 
Group 1-37 started 
2008/09/22 14:57:05 INFO  - jmeter.threads.JMeterThread: Thread Thread 
Group 1-38 started 
2008/09/22 14:57:05 INFO  - jmeter.threads.JMeterThread: Thread Thread 
Group 1-39 started 
2008/09/22 14:57:06 INFO  - jmeter.threads.JMeterThread: Thread Thread 
Group 1-40 started 
2008/09/22 14:57:06 INFO  - jmeter.threads.JMeterThread: Thread Thread 
Group 1-41 started 
2008/09/22 14:57:07 INFO  - jmeter.threads.JMeterThread: Thread Thread 
Group 1-42 started 
2008/09/22 14:57:08 INFO  - jmeter.threads.JMeterThread: Thread Thread 
Group 1-43 started 
2008/09/22 14:57:08 INFO  - jmeter.threads.JMeterThread: Thread Thread 
Group 1-44 started 
2008/09/22 14:57:09 INFO  - jmeter.threads.JMeterThread: Thread Thread 
Group 1-45 started 
2008/09/22 14:57:09 INFO  - jmeter.threads.JMeterThread: Thread Thread 
Group 1-46 started 
2008/09/22 14:57:10 INFO  - jmeter.threads.JMeterThread: Thread Thread 
Group 1-47 started 
2008/09/22 14:57:11 INFO  - jmeter.threads.JMeterThread: Thread Thread 
Group 1-48 started 
2008/09/22 14:57:12 INFO  - jmeter.threads.JMeterThread: Thread Thread 
Group 1-49 started 
2008/09/22 14:57:12 INFO  - jmeter.threads.JMeterThread: Thread Thread 
Group 1-50 started 
2008/09/22 15:58:06 ERROR - jmeter.protocol.http.sampler.HTTPSampler: 
Can't connect java.net.BindException: Address already in use: connect
        at java.net.PlainSocketImpl.socketConnect(Native Method)
        at java.net.PlainSocketImpl.doConnect(Unknown Source)
        at java.net.PlainSocketImpl.connectToAddress(Unknown Source)
        at java.net.PlainSocketImpl.connect(Unknown Source)
        at java.net.Socket.connect(Unknown Source)
        at java.net.Socket.connect(Unknown Source)
        at sun.net.NetworkClient.doConnect(Unknown Source)
        at sun.net.www.http.HttpClient.openServer(Unknown Source)
        at sun.net.www.http.HttpClient.openServer(Unknown Source)
        at sun.net.www.http.HttpClient.<init>(Unknown Source)
        at sun.net.www.http.HttpClient.<init>(Unknown Source)
        at sun.net.www.http.HttpClient.New(Unknown Source)
        at sun.net.www.http.HttpClient.New(Unknown Source)
        at sun.net.www.http.HttpClient.New(Unknown Source)
        at 
sun.net.www.protocol.http.HttpURLConnection.plainConnect(Unknown Source)
        at sun.net.www.protocol.http.HttpURLConnection.connect(Unknown 
Source)
        at 
org.apache.jmeter.protocol.http.sampler.HTTPSampler.sample(HTTPSampler.java:440)
        at 
org.apache.jmeter.protocol.http.sampler.HTTPSamplerBase.sample(HTTPSamplerBase.java:863)
        at 
org.apache.jmeter.protocol.http.sampler.HTTPSamplerBase.sample(HTTPSamplerBase.java:849)
        at 
org.apache.jmeter.threads.JMeterThread.run(JMeterThread.java:300)
        at java.lang.Thread.run(Unknown Source)


Another Question ::: What happens to the connection between Jmeter HTTP 
Client and App server  when a thread is stopped by Jmeter  when it 
encounters a error( I configured Jmeter to stop the thread if there is any 
error) ?

Regards,

Subhrajyoti 
Mobile: +919830079545
Mail: choudhury@labware.com
Web: www.labware.com

LabWare LIMS Solutions - Results Count

Re: Interpretation of errors in jmeter.log file

Posted by sebb <se...@gmail.com>.
On 22/09/2008, Choudhury@labware.com <Ch...@labware.com> wrote:
> Hi Guys,
>  After running my test for 1 hour when I was simulating 50 users to load
>  test an ajax application , I have got such errors(marked in bold) in
>  Jmeter.log file ...Any clue as to what went wrong here : Basically what I
>  get is BindException ....Whats wrong here ?Why would BindException show up
>  after running for 1 hour ?

Probably you have run out of sockets.

>  2008/09/22 14:56:40 INFO  - jmeter.engine.StandardJMeterEngine: Starting
>  50 threads for group Thread Group. Ramp up = 25.
>  2008/09/22 14:56:40 INFO  - jmeter.engine.StandardJMeterEngine: Thread
>  will stop on error
>  2008/09/22 14:56:40 INFO  - jmeter.threads.JMeterThread:
>  jmeterthread.startearlier=true (see jmeter.properties)
>  2008/09/22 14:56:40 INFO  - jmeter.threads.JMeterThread: Running
>  PostProcessors in forward order
>  2008/09/22 14:56:40 INFO  - jmeter.threads.JMeterThread: Thread Thread
>  Group 1-1 started
>  2008/09/22 14:56:41 INFO  - jmeter.threads.JMeterThread: Thread Thread
>  Group 1-2 started
>  2008/09/22 14:56:42 INFO  - jmeter.threads.JMeterThread: Thread Thread
>  Group 1-3 started
>  2008/09/22 14:56:42 INFO  - jmeter.threads.JMeterThread: Thread Thread
>  Group 1-4 started
>  2008/09/22 14:56:43 INFO  - jmeter.threads.JMeterThread: Thread Thread
>  Group 1-5 started
>  2008/09/22 14:56:43 INFO  - jmeter.threads.JMeterThread: Thread Thread
>  Group 1-6 started
>  2008/09/22 14:56:44 INFO  - jmeter.threads.JMeterThread: Thread Thread
>  Group 1-7 started
>  2008/09/22 14:56:44 INFO  - jmeter.threads.JMeterThread: Thread Thread
>  Group 1-8 started
>  2008/09/22 14:56:45 INFO  - jmeter.threads.JMeterThread: Thread Thread
>  Group 1-9 started
>  2008/09/22 14:56:46 INFO  - jmeter.threads.JMeterThread: Thread Thread
>  Group 1-10 started
>  2008/09/22 14:56:46 INFO  - jmeter.threads.JMeterThread: Thread Thread
>  Group 1-11 started
>  2008/09/22 14:56:48 INFO  - jmeter.threads.JMeterThread: Thread Thread
>  Group 1-12 started
>  2008/09/22 14:56:48 INFO  - jmeter.threads.JMeterThread: Thread Thread
>  Group 1-13 started
>  2008/09/22 14:56:49 INFO  - jmeter.threads.JMeterThread: Thread Thread
>  Group 1-14 started
>  2008/09/22 14:56:50 INFO  - jmeter.threads.JMeterThread: Thread Thread
>  Group 1-15 started
>  2008/09/22 14:56:50 INFO  - jmeter.threads.JMeterThread: Thread Thread
>  Group 1-16 started
>  2008/09/22 14:56:51 INFO  - jmeter.threads.JMeterThread: Thread Thread
>  Group 1-17 started
>  2008/09/22 14:56:51 INFO  - jmeter.threads.JMeterThread: Thread Thread
>  Group 1-18 started
>  2008/09/22 14:56:52 INFO  - jmeter.threads.JMeterThread: Thread Thread
>  Group 1-19 started
>  2008/09/22 14:56:52 INFO  - jmeter.threads.JMeterThread: Thread Thread
>  Group 1-20 started
>  2008/09/22 14:56:53 INFO  - jmeter.threads.JMeterThread: Thread Thread
>  Group 1-21 started
>  2008/09/22 14:56:54 INFO  - jmeter.threads.JMeterThread: Thread Thread
>  Group 1-22 started
>  2008/09/22 14:56:54 INFO  - jmeter.threads.JMeterThread: Thread Thread
>  Group 1-23 started
>  2008/09/22 14:56:55 INFO  - jmeter.threads.JMeterThread: Thread Thread
>  Group 1-24 started
>  2008/09/22 14:56:56 INFO  - jmeter.threads.JMeterThread: Thread Thread
>  Group 1-25 started
>  2008/09/22 14:56:57 INFO  - jmeter.threads.JMeterThread: Thread Thread
>  Group 1-26 started
>  2008/09/22 14:56:57 INFO  - jmeter.threads.JMeterThread: Thread Thread
>  Group 1-27 started
>  2008/09/22 14:56:58 INFO  - jmeter.threads.JMeterThread: Thread Thread
>  Group 1-28 started
>  2008/09/22 14:56:58 INFO  - jmeter.threads.JMeterThread: Thread Thread
>  Group 1-29 started
>  2008/09/22 14:56:59 INFO  - jmeter.threads.JMeterThread: Thread Thread
>  Group 1-30 started
>  2008/09/22 14:57:00 INFO  - jmeter.threads.JMeterThread: Thread Thread
>  Group 1-31 started
>  2008/09/22 14:57:00 INFO  - jmeter.threads.JMeterThread: Thread Thread
>  Group 1-32 started
>  2008/09/22 14:57:01 INFO  - jmeter.threads.JMeterThread: Thread Thread
>  Group 1-33 started
>  2008/09/22 14:57:02 INFO  - jmeter.threads.JMeterThread: Thread Thread
>  Group 1-34 started
>  2008/09/22 14:57:02 INFO  - jmeter.threads.JMeterThread: Thread Thread
>  Group 1-35 started
>  2008/09/22 14:57:03 INFO  - jmeter.threads.JMeterThread: Thread Thread
>  Group 1-36 started
>  2008/09/22 14:57:04 INFO  - jmeter.threads.JMeterThread: Thread Thread
>  Group 1-37 started
>  2008/09/22 14:57:05 INFO  - jmeter.threads.JMeterThread: Thread Thread
>  Group 1-38 started
>  2008/09/22 14:57:05 INFO  - jmeter.threads.JMeterThread: Thread Thread
>  Group 1-39 started
>  2008/09/22 14:57:06 INFO  - jmeter.threads.JMeterThread: Thread Thread
>  Group 1-40 started
>  2008/09/22 14:57:06 INFO  - jmeter.threads.JMeterThread: Thread Thread
>  Group 1-41 started
>  2008/09/22 14:57:07 INFO  - jmeter.threads.JMeterThread: Thread Thread
>  Group 1-42 started
>  2008/09/22 14:57:08 INFO  - jmeter.threads.JMeterThread: Thread Thread
>  Group 1-43 started
>  2008/09/22 14:57:08 INFO  - jmeter.threads.JMeterThread: Thread Thread
>  Group 1-44 started
>  2008/09/22 14:57:09 INFO  - jmeter.threads.JMeterThread: Thread Thread
>  Group 1-45 started
>  2008/09/22 14:57:09 INFO  - jmeter.threads.JMeterThread: Thread Thread
>  Group 1-46 started
>  2008/09/22 14:57:10 INFO  - jmeter.threads.JMeterThread: Thread Thread
>  Group 1-47 started
>  2008/09/22 14:57:11 INFO  - jmeter.threads.JMeterThread: Thread Thread
>  Group 1-48 started
>  2008/09/22 14:57:12 INFO  - jmeter.threads.JMeterThread: Thread Thread
>  Group 1-49 started
>  2008/09/22 14:57:12 INFO  - jmeter.threads.JMeterThread: Thread Thread
>  Group 1-50 started
>  2008/09/22 15:58:06 ERROR - jmeter.protocol.http.sampler.HTTPSampler:
>  Can't connect java.net.BindException: Address already in use: connect
>         at java.net.PlainSocketImpl.socketConnect(Native Method)
>         at java.net.PlainSocketImpl.doConnect(Unknown Source)
>         at java.net.PlainSocketImpl.connectToAddress(Unknown Source)
>         at java.net.PlainSocketImpl.connect(Unknown Source)
>         at java.net.Socket.connect(Unknown Source)
>         at java.net.Socket.connect(Unknown Source)
>         at sun.net.NetworkClient.doConnect(Unknown Source)
>         at sun.net.www.http.HttpClient.openServer(Unknown Source)
>         at sun.net.www.http.HttpClient.openServer(Unknown Source)
>         at sun.net.www.http.HttpClient.<init>(Unknown Source)
>         at sun.net.www.http.HttpClient.<init>(Unknown Source)
>         at sun.net.www.http.HttpClient.New(Unknown Source)
>         at sun.net.www.http.HttpClient.New(Unknown Source)
>         at sun.net.www.http.HttpClient.New(Unknown Source)
>         at
>  sun.net.www.protocol.http.HttpURLConnection.plainConnect(Unknown Source)
>         at sun.net.www.protocol.http.HttpURLConnection.connect(Unknown
>  Source)
>         at
>  org.apache.jmeter.protocol.http.sampler.HTTPSampler.sample(HTTPSampler.java:440)
>         at
>  org.apache.jmeter.protocol.http.sampler.HTTPSamplerBase.sample(HTTPSamplerBase.java:863)
>         at
>  org.apache.jmeter.protocol.http.sampler.HTTPSamplerBase.sample(HTTPSamplerBase.java:849)
>         at
>  org.apache.jmeter.threads.JMeterThread.run(JMeterThread.java:300)
>         at java.lang.Thread.run(Unknown Source)
>
>
>  Another Question ::: What happens to the connection between Jmeter HTTP
>  Client and App server  when a thread is stopped by Jmeter  when it
>  encounters a error( I configured Jmeter to stop the thread if there is any
>  error) ?

Depends on whether you use keepalive or not. If not, then the
connection is closed after every sample. If you use keep-alive with
the sampler does not attempt to clean up any connections at the end of
the run.

However, although the Java Http implementation allows one to
disconnect an HttpURLConnection, this just tells the JVM that the
connection is not needed for a while. There is no way to tell it to
forcibly disconnect the socket. The Java API is simple, but lacks
flexibility.

However, if you use the HttpClient HTTPSampler, then that will close
any sockets that it opens - either at sample end or at the end of the
test run, depending on keep-alive.

>  Regards,
>
>  Subhrajyoti
>  Mobile: +919830079545
>  Mail: choudhury@labware.com
>  Web: www.labware.com
>
>  LabWare LIMS Solutions - Results Count

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