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

Willy



                                                                                       
                             
                      "Charles"                                                        
                             
                      <frankeldsl@peakp        To:       <[EMAIL PROTECTED]>          
                             
                      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?






Reply via email to