Discussion:
Software caused connection abort
rkannan
2010-12-15 06:45:42 UTC
Permalink
Hi all,

When i tried to run the test for 60 threads, some of the http request are
failed and i get the following error.

"java.net.SocketException: Software caused connection abort: socket write
error"

What is the solution for this error?

Why i'm getting this error?
--
View this message in context: http://jmeter.512774.n5.nabble.com/Software-caused-connection-abort-tp3305788p3305788.html
Sent from the JMeter - User mailing list archive at Nabble.com.
Mariusz W
2010-12-15 08:21:34 UTC
Permalink
Hi,
I think that is not jmeter issue but rather your service capacity is
finished or something between jmeter host and service is closing connections
suddenly (firewall?).
Can you give more details (e.g. this errors appear from test start or after
some period, what is response time for this incorrect requests, after first
error all next requests are wrong or some of them and other are ok...).
Post by rkannan
Hi all,
When i tried to run the test for 60 threads, some of the http request are
failed and i get the following error.
"java.net.SocketException: Software caused connection abort: socket write
error"
What is the solution for this error?
Why i'm getting this error?
--
http://jmeter.512774.n5.nabble.com/Software-caused-connection-abort-tp3305788p3305788.html
Sent from the JMeter - User mailing list archive at Nabble.com.
---------------------------------------------------------------------
rkannan
2010-12-15 08:35:25 UTC
Permalink
Only for few requests i'm getting that errors. for other requests it is
working fine. I'm not getting any response data when that error occurs.

Please any one help me out of this issue.
--
View this message in context: http://jmeter.512774.n5.nabble.com/Software-caused-connection-abort-tp3305788p3305897.html
Sent from the JMeter - User mailing list archive at Nabble.com.
Mariusz W
2010-12-15 09:00:14 UTC
Permalink
Use "View Results Tree" Listener and grab load time for wrong request and
compare it with this that are ok (just few of them) to see if there is big
difference. Write more about your server (Tomcat? httpd?...).
Post by rkannan
Only for few requests i'm getting that errors. for other requests it is
working fine. I'm not getting any response data when that error occurs.
Please any one help me out of this issue.
--
http://jmeter.512774.n5.nabble.com/Software-caused-connection-abort-tp3305788p3305897.html
Sent from the JMeter - User mailing list archive at Nabble.com.
---------------------------------------------------------------------
rkannan
2010-12-15 09:41:24 UTC
Permalink
From "View Results Tree" Listener i got as below,
Load time: 96227
Latency: 0
Size in bytes: 2074
Sample Count: 1
Error Count: 1
Response code: Non HTTP response code: java.net.SocketException
Response message: Non HTTP response message: Software caused connection
abort: recv failed

Then for successful me got like as below,

Load time: 1636
Latency: 366
Size in bytes: 141637
Sample Count: 1
Error Count: 0
Response code: 200
Response message: OK

I'm using http request. Any suggestions please?
--
View this message in context: http://jmeter.512774.n5.nabble.com/Software-caused-connection-abort-tp3305788p3305984.html
Sent from the JMeter - User mailing list archive at Nabble.com.
Mariusz W
2010-12-15 10:30:28 UTC
Permalink
Thread is waiting 96sek on response:( What server do you use? Check server
for long running/stacked requests/exceptions. Maybe you should try to
increase thread pool size or database connections pool size at beginning and
check firewall config between jmeter and server.
From "View Results Tree" Listener i got as below,
Load time: 96227
Latency: 0
Size in bytes: 2074
Sample Count: 1
Error Count: 1
Response code: Non HTTP response code: java.net.SocketException
Response message: Non HTTP response message: Software caused connection
abort: recv failed
Then for successful me got like as below,
Load time: 1636
Latency: 366
Size in bytes: 141637
Sample Count: 1
Error Count: 0
Response code: 200
Response message: OK
I'm using http request. Any suggestions please?
--
http://jmeter.512774.n5.nabble.com/Software-caused-connection-abort-tp3305788p3305984.html
Sent from the JMeter - User mailing list archive at Nabble.com.
---------------------------------------------------------------------
Loading...