Hi all!
I have a webserver where I have bots that ping (via url to a PHP page) the server continuously – Many times per minute.
It seems that after around 3 days some kind of rate limiting / throttling. Which is fixed by a reboot.
I’m not sure how to look for the root cause of this, because I need to be able to let these bots ping the server all they want.
(My server is a “default” UBUNTU server where I followed the tutorial to install LAMP – so I dont believe I have anything “special” enabled).
If it’s not an apache thing, could it be a firewall thing?
This textbox defaults to using Markdown to format your answer.
You can type !ref in this text area to quickly search our full set of tutorials, documentation & marketplace offerings and insert the link!
Apache has a KeepAlive and KeepAliveTimeout setting that can pose an issue in these instances. If KeepAlive is set to true, then the server will not close a connection after delivering it’s content, rather it will keep it open for additional requests. Turning off the KeepAlive setting in your apache configuration will most likely prevent the server from becoming unreachable after a time as it will then close open connections as soon as it’s work is done, leaving them available to serve new requests.
Get paid to write technical tutorials and select a tech-focused charity to receive a matching donation.
Full documentation for every DigitalOcean product.
The Wave has everything you need to know about building a business, from raising funding to marketing your product.
Stay up to date by signing up for DigitalOcean’s Infrastructure as a Newsletter.
New accounts only. By submitting your email you agree to our Privacy Policy
Scale up as you grow — whether you're running one virtual machine or ten thousand.
Sign up and get $200 in credit for your first 60 days with DigitalOcean.*
*This promotional offer applies to new accounts only.