Re: possible memory leaks, FreeBSD,mod_perl/1.29

2006-10-02 Thread Philip M. Gollucci
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 ? --

Re: possible memory leaks, FreeBSD,mod_perl/1.29

2006-10-02 Thread Perrin Harkins
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

2006-10-02 Thread Philip M. Gollucci
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,

Re: possible memory leaks, FreeBSD,mod_perl/1.29

2006-10-02 Thread Assen Tchorbadjiev
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 mo

Re: possible memory leaks, FreeBSD,mod_perl/1.29

2006-10-02 Thread Perrin Harkins
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 no

Re: possible memory leaks, FreeBSD,mod_perl/1.29

2006-09-30 Thread Assen Tchorbadjiev
Thanks both to Jonathan and Perrin, > Jonathan > That's probably just normal apache growth-- possibly nothing to do   w/o mod_perl loaded the httpd process does not grow a bit even for 3000+ requests > i'd suggest using:... Devel::GC::Helper ... Devel::LeakTrace shows a leak right after the re

Re: possible memory leaks, FreeBSD,mod_perl/1.29

2006-09-29 Thread Perrin Harkins
On Fri, 2006-09-29 at 19:31 +0300, Assen Tchorbadjiev wrote: > This is the dummy handler package > > package My::X; > sub handler { > my $r = shift; > $r->content_type( 'text/html' ); > $r->send_http_header(); > $r->print( $$ ); > 200; > } > 1; Th

Re: possible memory leaks, FreeBSD,mod_perl/1.29

2006-09-29 Thread Jonathan
That's probably just normal apache growth-- possibly nothing to do with modperl i'd suggest using: Devel::GC::Helper and Devel::Leak to check refcounts... see what's going on There's a lot of crazy ways you can have process growth within mod- perl that are just perl

possible memory leaks, FreeBSD,mod_perl/1.29

2006-09-29 Thread Assen Tchorbadjiev
Hi all, I've read through similar postings to this list before, but none of them describe what I am seeing, and its not about that `apache restart` is leaking memory. Here's the case: FreeBSD `myhost` 5.4-STABLE. Apache 1.3.37, perl 5.8.8, mod_perl 1.29 - all built via the ports (by default m