Question

Error: Connection reset by peer. Please help.

Posted November 20, 2013 5.7k 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

These answers are provided by our Community. If you find them useful, show some love by clicking the heart. If you run into issues leave a comment, or add your own answer to help others.

×
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?
Submit an Answer