Re: Apache memory hog

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

 



On Mon, Apr 6, 2009 at 7:54 PM, Sean Conner <spc@xxxxxxxxxx> wrote:
> It was thus said that the Great Eric Covener once stated:
>> On Fri, Apr 3, 2009 at 10:08 AM, Adrian Marsh
>> <Adrian.Marsh@xxxxxxxxxxxxx> wrote:
>> > Am trying MaxMemFree 30000    (30mb? - pure guess number).
>>
>> Far too large, it's per-thread. Try 1MB.
>
>  This triggered something I recently learned---what threading model are you
> using under Apache?  Pre-fork?  Or pthreads?  I ask because pthreads will
> allocate stack space for each thread, and the amount used is the default
> mount allocated per stack per process:
>
>        http://boston.conman.org/2007/11/05.1
>
>  Rather nasty shock when I found out.

The wasted stack space doesn't shows up as a high VSZ, but not RSS.

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



[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