Question

Error: Connection reset by peer. Please help.

  • Posted November 20, 2013

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

Subscribe
Share

Submit an answer
You can type!ref in this text area to quickly search our full set of tutorials, documentation & marketplace offerings and insert the link!

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.

Perhaps you have to tinker with the <code>MaxClients</code> and <code>MaxRequestsPerChild</code> directives, in your Apache configuration file. <br> <br>If enabled, have you tried disabling the <code>reqtimeout_module</code>?