[ale] Can anyone help with an understanding

Robert L. Harris Robert.L.Harris at rdlg.net
Thu Apr 25 11:32:31 EDT 2002



I'm trying to track down what I think might be a memory leak in a RedHat
6.0 and PHP4 setup.  No upgrading isn't a possibility yet, but if I'm
right we'll likely be doing a project plan.  

At any rate I'm seeing this while the system is running.

 0  0  0      0  62040  16304 125312   0   0     0     0  616   877   6 2  92
 0  0  0      0  62036  16304 125316   0   0     0     7  131    97   0 1  99
 0  0  0      0  62036  16304 125316   0   0     0     0  111    54   0 0 100
 0  0  0      0  62016  16304 125336   0   0     0     0  500   772   5 2  93
 0  0  0      0  62012  16304 125340   0   0     0     7  131    98   0 0 100
 0  0  0      0  62012  16304 125340   0   0     0     0  110    54   0 0 100
 0  0  0      0  61992  16304 125364   0   0     0     0  500   785   5 2  92
 0  0  0      0  61988  16304 125364   0   0     0     8  188   160   1 1  98
 0  0  0      0  61984  16304 125368   0   0     0     0  111    57   0 0 100
 0  0  0      0  61992  16304 125384   0   0     0     0  480   754   6 2  92
 0  0  0      0  61988  16304 125388   0   0     0     7  132   100   0 0  99
 0  0  0      0  61988  16304 125388   0   0     0     0  111    54   0 0 100
 0  0  0      0  61916  16304 125408   0   0     0     0  489   769   5 2  92
 0  0  0      0  61908  16304 125416   0   0     0     7  126    59   0 0  99
 0  0  0      0  61908  16304 125416   0   0     0     0  113    53   0 1  99
 0  0  0      0  61964  16304 125432   0   0     0     0  492   707   5 2  93
 0  0  0      0  61960  16304 125436   0   0     0     7  131    97   0 0  99
 1  0  0      0  61932  16304 125444   0   0     0     0  269   286   1 1  98
 0  0  0      0  61936  16304 125456   0   0     0     0  394   596   6 2  92
 0  0  0      0  61932  16304 125460   0   0     0     8  132   101   0 0  99
 1  0  0      0  61880  16304 125468   0   0     0     0  286   322   1 2  98


This is with the the site under a constant load.  Memory is slowly eaten
away.  I stopped apache and got back about 350 megs on the spot.  We
restarted apache and about 80 megs was used on the spot, about 80 more
within a minute.  The box is sitting idle with no users or hits to the site 
and I'm getting this now:


 0  0  0   1116 275628  56908  82820   0   0     0     0  108    50   0 0 100
 0  0  0   1116 275408  56908  82820   0   0     0     0  107    52   0 0 100
 0  0  0   1116 275188  56908  82820   0   0     0     0  108    52   0 0 100
 0  0  0   1116 274968  56908  82820   0   0     0     0  108    52   0 0 100
 0  0  0   1116 274748  56908  82820   0   0     0     0  108    53   0 0 100
 0  0  0   1116 274528  56908  82820   0   0     0     0  108    53   0 0  99
 0  0  0   1116 274308  56908  82820   0   0     0     0  108    50   0 0 100
 0  0  0   1116 274084  56908  82824   0   0     0     0  110    52   0 0  99
 0  0  0   1116 273860  56908  82824   0   0     0     0  110    54   0 1  99
 0  0  0   1116 273640  56908  82824   0   0     0     1  108    51   0 0  99
 0  0  0   1116 273640  56908  82824   0   0     0     0  103    10   0 0 100
 0  0  0   1116 273420  56908  82824   0   0     0     0  108    51   0 0  99
 0  0  0   1116 273200  56908  82824   0   0     0     0  108    51   0 0 100
 0  0  0   1116 272980  56908  82824   0   0     0     0  108    52   0 0  99
 0  0  0   1116 272760  56908  82824   0   0     0     0  108    49   0 0 100
 0  0  0   1116 272540  56908  82824   0   0     0     0  108    52   0 0 100
 0  0  0   1116 272320  56908  82824   0   0     0     0  107    51   0 0 100
 0  0  0   1116 271072  56908  82836   0   0     0     0  214   281   0 1  99


Very slowly memory is just being eaten away.


Has anyone seen this?  Should I?


:wq!
---------------------------------------------------------------------------
Robert L. Harris                |  Micros~1 :  
Senior System Engineer          |    For when quality, reliability 
  at RnD Consulting             |      and security just aren't
                                \_       that important!
DISCLAIMER:
      These are MY OPINIONS ALONE.  I speak for no-one else.
FYI:
 perl -e 'print $i=pack(c5,(41*2),sqrt(7056),(unpack(c,H)-2),oct(115),10);'


---
This message has been sent through the ALE general discussion list.
See http://www.ale.org/mailing-lists.shtml for more info. Problems should be 
sent to listmaster at ale dot org.






More information about the Ale mailing list