[uklinux-status] Apache DOS on hosted server
status@uklinux.net
status@uklinux.net
Sat, 26 Oct 2002 22:06:46 +0100 (BST)
There is a user script on the hosted server that keeps on running the
server out of memory - and its got 1.5 GB of RAM and 3.8 GB of swap !!
When this happens the server is unresponsive until it realises what is
happening and kills the relevant httpd process.
All the logs show is :-
Oct 26 02:01:40 s9 kernel: Out of Memory: Killed process 14033 (httpd).
Oct 26 21:42:50 s9 kernel: Out of Memory: Killed process 24287 (httpd).
(these are the last two times it has happened).
So I've imposed cpu time and memory process limits in apache, as it hasnt
been possible to track down the culprit :(
The limits are :-
Memory soft limit 32 MB, hard limit 40 MB
CPU Time soft limit 60 seconds, hard limit 75 seconds
These seem reasonable values, but if anyone has problems because of them
then please email support@uklinux.net
Lance
--
uklinux.net - The ISP of choice for the discerning Linux user.