RE: Apache memory hog

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Hi Eric,

That outputs kind of misleading.  Within a few hours each httpd process will consuming 300-400mb instead of the 13-15 (I'd just restarted httpd).

And yet the usage of the server is very light, only a few users on the system, not doing a lot of svn work either.

-----Original Message-----
From: Eric Covener [mailto:covener@xxxxxxxxx] 
Sent: 03 April 2009 14:06
To: users@xxxxxxxxxxxxxxxx
Subject: Re:  Apache memory hog

On Fri, Apr 3, 2009 at 8:58 AM, Adrian Marsh <Adrian.Marsh@xxxxxxxxxxxxx> wrote:
> Hi Andre,
>
> Thanks for the reply. No its definitely the httpd process.  I see each thread consuming hundreds of megs of RES memory being used in TOP.  I just restarted it and already each is consuming:
>
> 10006 apache    15   0  279m  15m 3160 S  0.0  0.1   0:00.29 httpd
> 10004 apache    15   0  278m  13m 3400 S  0.0  0.1   0:00.05 httpd
> 10007 apache    15   0  278m  13m 3048 S  0.0  0.1   0:00.04 httpd
> 10001 apache    15   0  277m  13m 3456 S  0.0  0.1   0:00.08 httpd
> 10003 apache    15   0  277m  13m 2976 S  0.0  0.1   0:00.10 httpd
> 10002 apache    15   0  277m  13m 3112 S  0.0  0.1   0:00.07 httpd
> 10005 apache    15   0  277m  13m 3080 S  0.0  0.1   0:00.06 httpd
> 10000 apache    15   0  277m  12m 3432 S  0.0  0.1   0:00.51 httpd

Are those separate worker processes?  What's unhealthy about it?  You
can shrink the harmless vsz with ulimit -s 512.

-- 
Eric Covener
covener@xxxxxxxxx

---------------------------------------------------------------------
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


---------------------------------------------------------------------
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



[Index of Archives]     [Open SSH Users]     [Linux ACPI]     [Linux Kernel]     [Linux Laptop]     [Kernel Newbies]     [Security]     [Netfilter]     [Bugtraq]     [Squid]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Samba]     [Video 4 Linux]     [Device Mapper]

  Powered by Linux