Re: Apache 2.2 MPM Worker Virtual Memory Usage

2007-10-21 Thread Niklas Edmundsson
On Sun, 21 Oct 2007, Ruediger Pluem wrote: What is your setting for ThreadsPerChild? On my Linux each thread consumes 8MB of virtual memory (I assume for stack and other thread private data) as shown by pmap. This can sum up to a large amount of memory. This is due to linux libc setting t

Re: Apache 2.2 MPM Worker Virtual Memory Usage

2007-10-21 Thread Apache Dev
The default of 25 threads. 8MB * 25 = 200MB. Very helpful. Stack size. Doh. Why didn't I think of that. This should of course affect Prefork as well. The stack size must be less than 10MB with it. Does Apache change the stack size with Prefork? Or, is Linux handling the VM needs differently?

Re: Apache 2.2 MPM Worker Virtual Memory Usage

2007-10-21 Thread Ruediger Pluem
What is your setting for ThreadsPerChild? On my Linux each thread consumes 8MB of virtual memory (I assume for stack and other thread private data) as shown by pmap. This can sum up to a large amount of memory. Regards RĂ¼diger On 10/21/2007 12:29 PM, Apache Dev wrote: > > I tried asking th