Don't be so willing to bet.  Still leaking.

I did as you said and just rebuilt Perl and mod_perl but didn't bother to
rebuild all the Perl modules (I would have done so had I been successful
here).

Here's what I see:

> make start_httpd_fork
../apache_1.3.19/src/httpd -f `pwd`/t/conf/httpd.conf -d `pwd`/t
> ps -o 'pid,ppid,vsz,comm' -p $(cat t/logs/httpd.pid )
  PID  PPID  VSZ COMMAND
28802     1 15528 ../apache_1.3.19/src/httpd
> kill -USR1 $(cat t/logs/httpd.pid )
> ps -o 'pid,ppid,vsz,comm' -p $(cat t/logs/httpd.pid )
  PID  PPID  VSZ COMMAND
28802     1 20016 ../apache_1.3.19/src/httpd
> kill -USR1 $(cat t/logs/httpd.pid )
> ps -o 'pid,ppid,vsz,comm' -p $(cat t/logs/httpd.pid )
  PID  PPID  VSZ COMMAND
28802     1 24544 ../apache_1.3.19/src/httpd
> kill -USR1 $(cat t/logs/httpd.pid )
> ps -o 'pid,ppid,vsz,comm' -p $(cat t/logs/httpd.pid )
  PID  PPID  VSZ COMMAND
28802     1 27224 ../apache_1.3.19/src/httpd
> make kill_httpd
kill `cat t/logs/httpd.pid`
rm -f t/logs/httpd.pid
rm -f t/logs/error_log



On Thu, 14 Jun 2001, Doug MacEachern wrote:

> On Fri, 15 Jun 2001, Paul G. Weiss wrote:
> 
> >     alignbytes=8, usemymalloc=y, prototype=define
>                                 ^
> ok, here's why i kept asking for perl -V.  i don't see Perl's malloc.c
> ever release its memory pool.  when usemymalloc=y, free() only puts memory
> back into Perl's pool for use by other malloc()'s.  i don't see a function
> to destroy this pool when perl cleans itself up.  willing to bet if you
> rebuild Perl with: Configure -des -Uusemymalloc ...
> and then rebuild mod_perl, the leaks will go away.
> 

Reply via email to