check out the following sections in the guide:

http://perl.apache.org/guide/performance.html#Memory_leakage
http://perl.apache.org/guide/debug.html#How_can_I_find_if_my_mod_perl_sc
http://perl.apache.org/guide/performance.html#Limiting_the_resources_used_by_h
http://perl.apache.org/guide/performance.html#Tuning_the_Apache_s_configuratio

this ought to get you off to a good start.

cliff rayman
genwax.com



Jason Terry wrote:

> Is there a way I can tell where my memory usage is going in an Apache child?
>
> I have a server that starts with acceptable numbers, but after a while it
> turns into this
>
> Server Version: Apache/1.3.9 (Unix) mod_perl/1.21 PHP/3.0.12 mod_ssl/2.4.4
> OpenSSL/0.9.4
> Redhat Linux: 2.2.13
>
> PID   USER     PRI  NI   SIZE   RSS SHARE LC STAT %CPU %MEM   TIME  COMMAND
> 9666 nobody    -1    -1   38900  37M  6768    1    S <       0.0        7.5
> 6:57    /usr/local/apache/bin/httpd
> 9665 nobody    -1    -1   35728  34M  6240    1    S <       0.0        6.9
> 5:57    /usr/local/apache/bin/httpd
> 9663 nobody    -1    -1   35312  34M  6412    1    S <       0.0        6.8
> 6:11    /usr/local/apache/bin/httpd
>
> Now I examined these children using /server-status and they had all recieved
> more than 7000 accesses for each child.
>
> Is there a way I can find out where all this RAM is being used.  Or does
> anyone have any suggestions (besides limiting the MaxRequestsPerChild)

Reply via email to