Current time: 11-16-2024, 06:30 PM Hello There, Guest! (LoginRegister)


Post Reply 
Apache restart problem
Author Message
pulponair Offline
Junior Member
*

Posts: 10
Joined: Jun 2010
Reputation: 0
Post: #5
RE: Apache restart problem
(07-22-2010 11:17 AM)borzu Wrote:  Thanks Nikolas,
Actually first I needed to install apache2-mpm-prefork

Well actually my settings were related to the apach2-mpm-worker. I'd suggest to use the worker instead of the prefork mpm.

Ich you wan't to free some more memory you could safely reduce the
ThreadStackSize to 1mb or even 512kb. According to my pmap findings an avarange Apache thread uses arround 90kb of stack space.

BTW: i recently found this nice little script somewhere on the we and adapted it to fit my needs. Perphaps it helps you tracing memory usage:

http://bin.cakephp.org/view/1742357609

Sample output:
./avg_memory_usage.php apache2
14 "apache2" processes running allocating 327300.00 kb of private memory
Average process private memory allocation: 23378.57 kb

Cheers,
Nikolas
(This post was last modified: 07-22-2010 05:44 PM by pulponair.)
07-22-2010 05:27 PM
Find all posts by this user Quote this message in a reply
Post Reply 


Messages In This Thread
Apache restart problem - borzu - 07-19-2010, 09:22 AM
RE: Apache restart problem - pulponair - 07-21-2010, 06:35 PM
RE: Apache restart problem - borzu - 07-22-2010, 11:17 AM
RE: Apache restart problem - pulponair - 07-22-2010 05:27 PM
RE: Apache restart problem - kilburn - 07-22-2010, 04:16 PM

Forum Jump:


User(s) browsing this thread: 2 Guest(s)