On Wed, 2006-06-07 at 14:17 -0700, john doe wrote: > Yes, it grows in 4k chunks just about every page reload. And when I > hit it from a test script just doing a GET to the exact same page, it > grows much faster (still at 4k rate), but you can see the proc size > grow infront of your eyes!
That's crazy. Definitely not normal behavior. I suspect a flaky Perl compile there. > Any ideas on how to identify the cause of the leak? Sorry, I've never seen anything like this. When I have processes that grow over time, I take things out of my code until eventually they stop growing and I find the offending lines. In your case, there's almost nothing left. One thing I would say though is that it can be really difficult to get useful process size numbers on some versions of Linux. Some of it may be shared. I have resorted to using free and looking at total used memory in some cases. - Perrin