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

List:       apache-modperl
Subject:    Re: memory leaks
From:       Jonathan Vanasco <modperl-list () 2xlp ! com>
Date:       2006-06-28 23:31:03
Message-ID: 713B5A17-D40E-4F67-BC37-04EA19A32EF3 () 2xlp ! com
[Download RAW message or body]


On Jun 28, 2006, at 6:30 PM, Philip M. Gollucci wrote:

> Jonathan Vanasco wrote:
>> i'm using Crypt::OpenSSL::RSA
>> it has a memory  leak when generating keys > 512
>> i generate keys 1024
>> i'm thinking that using sizelimit (i already do) should reclaim  
>> the memory every so often when the child dies
>> unless the memory leak is happening elsewhere, not sure.  i only  
>> call the routines after fork though.
>> thoughts?
> Try valgrind or possibly Apache::Leak ?
>
> if you mean like a system() fork then it should be reclaimed when  
> the process is done.

sorry, i meant i only call after apache forks

i know the module leaks and there's nothing i can do about that...

but apache::leak might be able to tell me what's going on if i can  
write a test to generate a bunch of keys and track memory before and  
after sizelimit kills the child


| - - - - - - - - - - - - - - - - - - - -
| RoadSound.com / Indie-Rock.net
| Collaborative Online Management And Syndication Tools
| - - - - - - - - - - - - - - - - - - - -




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

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