Go Back   HowtoForge Forums | HowtoForge - Linux Howtos and Tutorials > Linux Forums > Server Operation

Do you like HowtoForge? Please consider supporting us by becoming a subscriber.
 
 
Thread Tools Display Modes
Prev Previous Post   Next Post Next
  #1  
Old 12th February 2011, 02:45
talkingnews talkingnews is offline
Member
 
Join Date: Jan 2011
Posts: 67
Thanks: 15
Thanked 6 Times in 6 Posts
Default My apache2 processes are out of control! 28 of them now

Ispconfig 3, Ubuntu 10.10 64 bit vps, 512Mb RAM

I believe apache2 i's running prefork. The php is suPHP.

I have changed every value below according to multiple guides. I've had keepalive on and off, I've had timeouts from 1 to 6 seconds, I've had start and maxservers from 1 to 10.
I've had Maxclients from 10 to 256.

And still I am seeing pages of apache processes, the server slows down and down... almost all the RAM eaten. I've looked at the vhost conf files too.

How can I stop all these apache processes from starting? It's only a small php/mysql db driven site, no more than 5 or 6 people online at any one time.

Here's what I have right now, but as I say, over the last 2 months I've had all combinations possible. Mysql has been tweaked to within an inch of its life so it's not that. The VPS isn't overloaded either. It's just keeping these Apache/php process under control that's causing problems.

Timeout 300
KeepAlive On
MaxKeepAliveRequests 1000
KeepAliveTimeout 3
<IfModule mpm_prefork_module>
StartServers 3
MinSpareServers 5
MaxSpareServers 10
MaxClients 256
MaxRequestsPerChild 10000
</IfModule>
Reply With Quote
Sponsored Links
 

Bookmarks

Tags
apache2, ispconfig, mysql, slow

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
ISPConfig 3.0.1.4 causes Apache to have too many open files gkovacs Installation/Configuration 29 27th February 2013 09:59
Whole server went down wxman General 25 28th September 2012 19:32
ISPConfig 3 Security mnzava Installation/Configuration 8 8th March 2010 12:00
apache2 won't connect to localhost or 127.0.0.1 anw Server Operation 6 19th March 2009 19:51
Webmin docs missing namit Server Operation 11 5th January 2006 10:51


All times are GMT +2. The time now is 03:06.


Powered by vBulletin® Version 3.8.7
Copyright ©2000 - 2014, vBulletin Solutions, Inc.