Greetings,
I’m hoping I can find some answers here. Forgive me if this is the wrong place to put this. I have somewhat of a strange problem that has my team and my ISP stumped. Recently, we discovered a problem with out website, aaspire.org. The site will intermittently give a 500 error due to exceeding its memory limit. Upon doing a little digging with our ISP we discovered that some Russians sites are referring traffic to our site. We are a small, Oregon based academic research group with no relationship or business in Russia. When we get these referrals, the site becomes inaccessible as the memory usage suddenly spikes. Errors from the logs are as follows:
[Wed Jan 09 14:15:58 2013] [error] [client 91.223.75.118] (12)Cannot allocate memory: couldn't create child process: /opt/suphp/sbin/suphp for /home/jaaspire/public_html/index.php, referer: http://megapolis-b.ru/ [Wed Jan 09 14:15:58 2013] [error] [client 91.223.75.118] (12)Cannot allocate memory: couldn't create child process: /opt/suphp/sbin/suphp for /home/jaaspire/public_html/index.php, referer: http://reservist.ru/ [Wed Jan 09 14:15:58 2013] [error] [client 91.223.75.118] (12)Cannot allocate memory: couldn't create child process: /opt/suphp/sbin/suphp for /home/jaaspire/public_html/index.php, referer: http://0029.ru/
The ISP says its refering to the “index.php script”. Their suggestion was to optimize the site, which isn’t possible. Index.php, as I’m sure you all can guess, isn’t a script. All it does is serve the site html templates. It’s memory usage is normally extremely low. Traffic to our site in general is also very low. The only way to make the site more basic is to serve flat HTML. It’s really a very simple site. I’ve spoken with my ISP and they claim that there is nothing that they or we can do about it since the web admins on these Russian sites won’t respond to their emails.
I’m not convinced that is true. My questions are as follows:
- How did we get targeted for this kind of traffic?
- Is there anyway to block it? How can we get it to stop?
- Is there some sort of security issue with our code that is causing it?
- How can we prevent more unwanted referred traffic?
Many Thanks,
Ren