jeffweb
By:
jeffweb

Error: Connection reset by peer. Please help.

November 20, 2013 3.6k views
I'm trying to create a web application that will be accessed by a few hundred users simultaneously. Each user's device will check the server once every two seconds to see if anything has been updated. I am using Varnish to optimize this and my web app can serve thousands of these requests per second when I run testing on my droplet. However, when I test through the internet, I get many connection resets. I am doing my testing with the apache benchmark tool. Is my droplet somehow confused into thinking I'm sending a DDOS attack? I'm running Ubuntu 12.04
1 Answer
Perhaps you have to tinker with the MaxClients and MaxRequestsPerChild directives, in your Apache configuration file.

If enabled, have you tried disabling the reqtimeout_module?
Have another answer? Share your knowledge.