Re: [EMAIL PROTECTED] Apache killing server by using all swap

2008-05-14 Thread Stargazer
Igor Galić wrote: On Mon, 12 May 2008 21:36:20 +0100 Stargazer <[EMAIL PROTECTED]> wrote: 750/8 ~ 93M each... that's awfully lot for a httpd child. Are you sure you're not leaking memory anywhere? Setting http://httpd.apache.org/docs/2.0/mod/mpm_common.html#maxrequestsperchild back to default (

Re: [EMAIL PROTECTED] Apache killing server by using all swap

2008-05-14 Thread Nick Kew
ipcs -s | grep apache | perl -e 'while () { @a=split(/\s+/); print `ipcrm sem $a[1]`}' service httpd restart This sounds more like a HACK, rather than a solution. That's not swap it's cleaning up! Almost certainly a (badly) buggy app leading to lots of crashes. Or just leaking semaphores. -

Re: [EMAIL PROTECTED] Apache killing server by using all swap

2008-05-14 Thread Igor Galić
On Mon, 12 May 2008 21:36:20 +0100 Stargazer <[EMAIL PROTECTED]> wrote: > Hi list, I have a RH server using Plesk with Apache 2.0.54. I can't > upgrade Apache via yum and am very reluctant to try manually > installing a newer version in case it breaks Plesk. The server hosts > about 60 domains and

Re: [EMAIL PROTECTED] Apache killing server by using all swap

2008-05-14 Thread Stargazer
Stargazer wrote: Hi list, I have a RH server using Plesk with Apache 2.0.54. I can't ipcs -s | grep apache | perl -e 'while () { @a=split(/\s+/); print `ipcrm sem $a[1]`}' service httpd restart Can I bumpt this please? Could anyone suggest a command I can issue just when swap is near zero s

[EMAIL PROTECTED] Apache killing server by using all swap

2008-05-12 Thread Stargazer
Hi list, I have a RH server using Plesk with Apache 2.0.54. I can't upgrade Apache via yum and am very reluctant to try manually installing a newer version in case it breaks Plesk. The server hosts about 60 domains and needed a daily restart due to it eating all the memory then swap, which actuall