You are viewing a plain text version of this content. The canonical link for it is here.
Posted to modperl@perl.apache.org by Perrin Harkins <pe...@elem.com> on 2006/10/02 19:00:16 UTC

Re: possible memory leaks, FreeBSD,mod_perl/1.29

On Sat, 2006-09-30 at 13:19 +0300, Assen Tchorbadjiev wrote:
> (top output: SIZE/RES)
> 6276K  4652K # at startup
> 6312K  4676K # after first request
> 7624K  5992K # after 1000 requests
> 8984K  7356K # after 2000 requests

That's not what I would expect to see on my Linux setup, but it's also
not bad.  You can easily control such slow growth with
Apache::SizeLimit.

- Perrin


Re: possible memory leaks, FreeBSD,mod_perl/1.29

Posted by Assen Tchorbadjiev <bo...@tchorbadjiev.com>.
Yeah, obviously I was wrong assuming that it should not grow in case there are 
only the core modules loaded.

If I put Devel::LeakTrace at the beginning of the Apache module, it gives 
several warnings about leaks being found in Apache::Constants::Exports, 
Exporter ?!, mod_perl and the Apache module itself.

Anyway, I haven't dug deeper into it yet so I cannot tell anything more.

Regards,
Assen

On Monday 02 October 2006 20:00, Perrin Harkins wrote:
> On Sat, 2006-09-30 at 13:19 +0300, Assen Tchorbadjiev wrote:
> > (top output: SIZE/RES)
> > 6276K  4652K # at startup
> > 6312K  4676K # after first request
> > 7624K  5992K # after 1000 requests
> > 8984K  7356K # after 2000 requests
>
> That's not what I would expect to see on my Linux setup, but it's also
> not bad.  You can easily control such slow growth with
> Apache::SizeLimit.
>
> - Perrin

-- 
---------------------------------------------------------------
Assen Tchorbadjiev
box2tchorbadjiev.com
8D6D 1FCF 96DB F37E E421 1BD2 D04E A856 20A4 AA20 <pgp.mit.edu>
---------------------------------------------------------------

Re: possible memory leaks, FreeBSD,mod_perl/1.29

Posted by "Philip M. Gollucci" <pg...@p6m7g8.com>.
Perrin Harkins wrote:
> Philip M. Gollucci wrote:
>> What do expect/see on your Linux setup ?
> 
> No growth at all, if it's just hitting the same simple handler over and 
> over.
Does/Try t/lib/TestCommon/MemoryLeak.pm  help ?

-- 
------------------------------------------------------------------------
Philip M. Gollucci (pgollucci@p6m7g8.com) 323.219.4708
Consultant / http://p6m7g8.net/Resume/resume.shtml
Senior Software Engineer - TicketMaster - http://ticketmaster.com
1024D/A79997FA F357 0FDD 2301 6296 690F  6A47 D55A 7172 A799 97F

When I call your name, Girl, it starts to flame
Burning in my heart, Tearing it all apart..
No matter how I try My love I cannot hide....

Re: possible memory leaks, FreeBSD,mod_perl/1.29

Posted by Perrin Harkins <pe...@elem.com>.
Philip M. Gollucci wrote:
> What do expect/see on your Linux setup ?

No growth at all, if it's just hitting the same simple handler over and 
over.

- Perrin

Re: possible memory leaks, FreeBSD,mod_perl/1.29

Posted by "Philip M. Gollucci" <pg...@p6m7g8.com>.
Perrin Harkins wrote:
> On Sat, 2006-09-30 at 13:19 +0300, Assen Tchorbadjiev wrote:
>> (top output: SIZE/RES)
>> 6276K  4652K # at startup
>> 6312K  4676K # after first request
>> 7624K  5992K # after 1000 requests
>> 8984K  7356K # after 2000 requests
> 
> That's not what I would expect to see on my Linux setup, but it's also
> not bad.  You can easily control such slow growth with
> Apache::SizeLimit.
What do expect/see on your Linux setup ?


-- 
------------------------------------------------------------------------
Philip M. Gollucci (pgollucci@p6m7g8.com) 323.219.4708
Consultant / http://p6m7g8.net/Resume/resume.shtml
Senior Software Engineer - TicketMaster - http://ticketmaster.com
1024D/A79997FA F357 0FDD 2301 6296 690F  6A47 D55A 7172 A799 97F

When I call your name, Girl, it starts to flame
Burning in my heart, Tearing it all apart..
No matter how I try My love I cannot hide....