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.
Click below to sign up and get $100 of credit to try our products over 60 days!
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>?