On 26-Jan-10 20:28, Dan Bunyard wrote:
This has happened twice now and it's a little bit concerning to me. I have a Fedora 12 server with 5GB of RAM that I use to host a few small web sites of mine. As I mentioned, this happened once before. I tried to load one of my web sites today and it took FOREVER (as in the 10s of minutes) to load. I SSHed into the box and found the load average around 100 (dual core machine). Since this was the second time it had happened, I knew that it was Apache causing it. So I restarted the Apache service and everything returned to normal. A look in the error_log showed this error: server reached MaxClients setting, consider raising the MaxClients setting I suspect that this is the reason that Apache was eating up all my system resources but I don't have any idea how to fix it. I do use PHP and MySQL fairly heavily. All the sites on the server use PHP in some form and most of the use MySQL. Could this be part of the problem? I attached a copy of my httpd.conf file to this message if that will help (It's also inserted into this email at the very bottom). Any help would be appreciated!!!
Off-the-cuff guesses: - Install more RAM - Install more CPU - Install more CPU and more RAM - limit MaxClients to 75 or 50 If you are getting that much traffic, grow the server to accommodate it or choke it so that you can run FTP in the manner you like. Reese --------------------------------------------------------------------- The official User-To-User support forum of the Apache HTTP Server Project. See <URL:http://httpd.apache.org/userslist.html> for more info. To unsubscribe, e-mail: users-unsubscribe@xxxxxxxxxxxxxxxx " from the digest: users-digest-unsubscribe@xxxxxxxxxxxxxxxx For additional commands, e-mail: users-help@xxxxxxxxxxxxxxxx