Portal Home > Knowledgebase > Articles Database > apache problem..


apache problem..




Posted by funnyfun, 11-28-2009, 07:53 PM
Hi, we worked on apache 1.3 with mod_fastcgi.. aftere update to 2.2.14 version (wit mod_fastcgi) we have problem.. we have a few servers with this problem.. Apache consumes suddenly all of memory and swapping (all allocated swap memory !), load is growing up and machines not responsible.. it's very often.. we don't know what to do with this.. We updated this stuff to 2.2 version because in 1.3 greaceful restarts wiht DA not working properly.. Servers have installed 4gigs of rama and we using DirectAdmin Any conception ? some of ps:

Posted by david510, 11-28-2009, 08:15 PM
What mpm is used? /usr/local/apache/bin/httpd -L

Posted by funnyfun, 11-28-2009, 08:25 PM
configure: httpd -L: httpd -l

Posted by david510, 11-28-2009, 08:55 PM
mpm used is "worker.c". You can try prefork as it take less memory foot print. Prefork is generally be better for servers running with single or dual cpu systems. You can use --with-mpm=prefork to include this in apache.

Posted by soulhunter, 11-29-2009, 12:55 AM
Hi! Sorry, but mpm worker actually takes less memory than prefork (because worker uses threads instead of fork processes), nevertheless, there was a time when php wasn't threadsafe, and thus, it was better to run it with prefork, I hasn't tried php with worker for a long time, but that applies to modphp, not fastcgi anyway. funnyfun: what are you running on these servers? I mean: php(4/5), perl, RoR (ruby on rails), other. OS: ex. CentOS 5.3 Linux, Debian GNU/Linux lenny.

Posted by funnyfun, 11-29-2009, 05:48 AM
it's webhosting.. debian4, php5-fcgi (5.2.9 actually), perl..



Was this answer helpful?

Add to Favourites Add to Favourites    Print this Article Print this Article

Also Read


Language:

LoadingRetrieving latest tweet...

Back to Top Copyright © 2018 DC International LLC. - All Rights Reserved.