"Connection reset by peer" failure When doing local test with lost ( >1000) concurent users
See original GitHub issueI’m using locust 0.7.5 , when I try to do a local (on my ubuntu 16.04) load test on a tornado web service, with a high number of concurrent users, a certain percentage of the requests (~8%) fail with the error
"ConnectionError(ProtocolError('Connection aborted.', error(104, 'Connection reset by peer')),)"
According to http://www.itmaybeahack.com/homepage/iblog/architecture/C551260341/E20081031204203/index.html , it seems to be a known python issue , which also seems to rule out a problem on the server side (which is correlated by the fact that I see no error or warning on the server side)
Is this a known locust issue ? If yes what are the workaround ?
Issue Analytics
- State:
- Created 7 years ago
- Comments:8 (3 by maintainers)
Top Results From Across the Web
ssh: handshake failed: read tcp read: connection reset by peer
I am running 1000 concurrent connections at it eventually hits this also on OSX with file descriptors bumped up from default (256) to...
Read more >6 Ways to Fix Connection Reset by peer - howtouselinux
Connection reset by peer means the TCP stream was abnormally closed from the other end. A TCP RST was received and the connection...
Read more >Random Connection Reset By Peer on client machine.
No. 'Connection reset by peer' is most usually caused by writing to a connection that the other end has already closed. This is...
Read more >postgres connection reset by peer - You.com | The Search ...
Using sqlx with a couple concurrent connections I ran quickly into the issue of Too many open connections . Limiting db.DB.MaxOpenConnections got actually...
Read more >Server : 127.0.0.1 Errorcode : 10054 SocketErrorCode ...
Currently, I am testing it on my local Lan server, ... 10054 SocketErrorCode: ConnectionReset Message : connection reset by peer.
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
Connection reset by peer means the server (your target host) has closed its connection to Locust. With a high probability it has nothing to do with Locust and everything to do with your target server.
You might find some hints here: https://github.com/locustio/locust/wiki/FAQ#increase-my-request-raterps
Thank you