First, the site : http://www.gallerymodules.com
At one point, I had a div at the bottom that would refresh every 10 seconds to update a counter. I noticed that this was placing a huge load on my server, and removed the div and the corresponding Ajax code from the site header. However, I’m still seeing gobs of requests to the page that handled the refresh, even though the code is no longer there. These requests are overrunning my apache logs. Is there any way to force them to stop? They seem to be coming from IPs that are not active on the site (based on the fact that they haven’t requested the index page, yet are still triggering the ajax updates).
Any help would be greatly appreciated.
Here’s what I did:
1. Renamed the file that was being called by the zombie ajax code.
2. I created a 301 redirect in my .htaccess redirecting from the old file to the site index.
This avoided a flood of 404s in my logs, and seemed to trigger the offending clients to realize that the code had changed, and has resolved the issue.