bigsid Posted February 26, 2007 Share Posted February 26, 2007 Hi, I have a RedHat Linux 4 box running a pretty standard Apache 2 RPM installation. I'm running SMF forum with PHP 5 and MySQL 4. The other day we lost the webserver as in it went down, or at least very slow. When we checked on the server that runs Apache the load had hit about 50 and we had nearly 200 zombie processes... Anyway, today it turns out that this was due to a stapler falling off someones monitor stand and landing on their F5 key whilst they were on our website. The constant page refreshes killed the server and this was from just one client! We recreated the problem today (again using the stapler for authenticity :-) and saw the same problem. How can I prevent this sort of client behaviour trashing our server in the future (apart from going round the office confiscating staplers)? Thanks - Sid Quote Link to comment https://forums.phpfreaks.com/topic/40197-apache-server-killed-by-stapler/ Share on other sites More sharing options...
scrupul0us Posted February 28, 2007 Share Posted February 28, 2007 idk if u can use this: http://httpd.apache.org/docs/1.3/mod/core.html#maxrequestsperchild or as an idea: maybe you can trap the F5 key with javascript... that is to say, it will detect if its been pressed, but if exceeds 'x' time then redirect to about:blank :shrugs: maybe? Quote Link to comment https://forums.phpfreaks.com/topic/40197-apache-server-killed-by-stapler/#findComment-195783 Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.