Thanks for the tip, it lead me down a path of investigation that lead to teh
ThreadStackSize directive for mpm_worker.  It looks like ThreadStackSize
would allow me to adjust the stack size for Apache only (my ideal
situation), however this directive doesn't seem to affect the actual memory
utilization of Apache -- for my tests I've tried using several different
sizes of ThreadStackSize, from 1024 to 8196.

Is there a certain magic for using ThreadStackSize?  The mpm_worker doc for
that directive is rather unclear.

Thanks,

-Tim

-----Original Message-----
From: Eric Covener [mailto:[EMAIL PROTECTED] 
Sent: Wednesday, November 21, 2007 4:17 PM
To: users@httpd.apache.org
Subject: Re: [EMAIL PROTECTED] Excessive memory utilization with mpm_worker and
glibc 2.4+

On Nov 21, 2007 2:01 PM, Spangler, Tim <[EMAIL PROTECTED]> wrote:
> Hello all,
> On the SLES 9 and Red Hat systems (glibc 2.3),   'ps -ea -o
> "pcpu,vsz,args,pagein" | grep -i httpd | grep -v grep'    reveals that
> apache is using apx 313MB of ram. No problem here, about 2.5MB per thread.
>
> On the SLES 10 system (glibc 2.4), same Apache build and settings, I 
> find that Apache is using apx 1179MB of ram, or about 9.25MB per 
> thread.  A 370% increase in memory utilization. This memory 
> utilization can also be confirmed via top, free, or whatever other 
> flavor of utility you would like to use.

Linux default  stack size is something very large when ulimit -s is set to
unlimited.  Try ThreadStackSize or ulimit -s <something other then 8M>

--
Eric Covener
[EMAIL PROTECTED]

---------------------------------------------------------------------
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: [EMAIL PROTECTED]
   "   from the digest: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]


---------------------------------------------------------------------
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: [EMAIL PROTECTED]
   "   from the digest: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to