I'm running ActivePerl 5.6.1 Build 633 on Win2000 SP3, with
Server version: Apache/1.3.27 (Win32)
Server built:   Oct  3 2002 18:55:42
Server's Module Magic Number: 19990320:13
Server compiled with....
 -D HAVE_MMAP
 -D USE_MMAP_SCOREBOARD
 -D NO_WRITEV
 -D NO_OTHER_CHILD
 -D NO_RELIABLE_PIPED_LOGS
 -D HARD_SERVER_LIMIT=1024
 -D MULTITHREAD
with MOD_PERL = mod_perl/1.27_01-dev

and I tried your code as you had it set up, and I was getting leaks.
I also tried it under Apache::Registry, and I was getting leaks.
I also tried it as straight cgi, and still, I was getting leaks.
Then I thought, hmm, so I tried even the simplest of cgi programs under cgi/mod_perl and I was getting leaks. I'll try Apache2 later, maybe my luck will change and i'll be more helpfull.

I suggest you try running it under Apache::Registry and as straight CGI, and then inquire on the module's mailing list cgiapp-subscribe@lists.erlbaum.net and maybe the mod_perl mailing list.

Good luck.

update: btw, perl -MCGI::Application -e"die $CGI::Application::VERSION" yields [Thu May 22 00:20:15 2003] -e: 3.0 at -e line 1.


MJD says you can't just make shit up and expect the computer to know what you mean, retardo!
I run a Win32 PPM repository for perl 5.6x+5.8x. I take requests.
** The Third rule of perl club is a statement of fact: pod is sexy.


In reply to Re: CGI::Application + mod_perl =|!= memory leak by PodMaster
in thread CGI::Application + mod_perl =|!= memory leak by submersible_toaster

Title:
Use:  <p> text here (a paragraph) </p>
and:  <code> code here </code>
to format your post, it's "PerlMonks-approved HTML":



  • Posts are HTML formatted. Put <p> </p> tags around your paragraphs. Put <code> </code> tags around your code and data!
  • Titles consisting of a single word are discouraged, and in most cases are disallowed outright.
  • Read Where should I post X? if you're not absolutely sure you're posting in the right place.
  • Please read these before you post! —
  • Posts may use any of the Perl Monks Approved HTML tags:
    a, abbr, b, big, blockquote, br, caption, center, col, colgroup, dd, del, details, div, dl, dt, em, font, h1, h2, h3, h4, h5, h6, hr, i, ins, li, ol, p, pre, readmore, small, span, spoiler, strike, strong, sub, summary, sup, table, tbody, td, tfoot, th, thead, tr, tt, u, ul, wbr
  • You may need to use entities for some characters, as follows. (Exception: Within code tags, you can put the characters literally.)
            For:     Use:
    & &amp;
    < &lt;
    > &gt;
    [ &#91;
    ] &#93;
  • Link using PerlMonks shortcuts! What shortcuts can I use for linking?
  • See Writeup Formatting Tips and other pages linked from there for more info.