[prev in list] [next in list] [prev in thread] [next in thread] 

List:       apache-modperl
Subject:    Re: Identifying memory leaks
From:       Huili_Liu () ap ! org
Date:       2002-11-27 14:25:01
[Download RAW message or body]


check Apache::leak that will help you to track mod_perl memory leak.

Willy



                                                                                      \
                
                      "Charles"                                                       \
                
                      <frankeldsl@peakp        To:       <modperl@apache.org>         \
                
                      eak.com>                 cc:                                    \
                
                                               Subject:  Identifying memory leaks     \
                
                      11/26/2002 02:28                                                \
                
                      PM                                                              \
                
                                                                                      \
                
                                                                                      \






A Linux machine running Apache/2.0.35 (Unix) mod_perl/1.99_05-dev
Perl/v5.6.1 mysql 4.0.1 uses increasing "used" memory (according
"/usr/bin/free"), eventually resuting in all memory being consumed.  Memory
usage drops somewhat after a reboot of apache and mysql, but not
completely.

If a reference does not go out of scope between sessions, that memory will
not be garbage collected.  I would like to test for these types of
difficulties.

Questions:

Are there tools to track total (all threads/processes) mod_perl, apache,
mysql memory usage?

What is the normal behavior for a module which connects (via a global) to a
database in terms of mysql processes started?


[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic