httpd-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Dan Bunyard <danodem...@gmail.com>
Subject Re: [users@httpd] Runaway Apache Process
Date Wed, 27 Jan 2010 02:05:37 GMT
I can't imagine that RAM is the problem, nor the CPU.  It's a dual core
machine with 5GB of RAM that gets MAYBE a few hundred unique hits a month
between ALL the web sites on it.  It did this once before I even had most of
the web sites on it, it only had one or two on it the first time it happened
and was getting maybe a dozen hits a month.
--
Dan

http://www.moonlightrpg.com
http://www.linkedin.com/in/danbunyard
http://www.danodemano.com
http://www.dansrandomness.com
http://www.danandshelley.com

This is not a problem that requires infinite wisdom, Benj. This is a problem
that requires enough neural organization to qualify as a vertebrate,
apparently a stretch for some folks these days.
~Cecil Adams.


On Tue, Jan 26, 2010 at 20:42, Reese <howell.r@inkworkswell.com> wrote:

> 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@httpd.apache.org
>  "   from the digest: users-digest-unsubscribe@httpd.apache.org
> For additional commands, e-mail: users-help@httpd.apache.org
>
>

Mime
View raw message