snacktime wrote:
> Before I spend a whole lot of time on this I'm curious if someone else
> has run across this.  This is mod perl 1.29.
> 
> We upgraded perl on one of our freebsd 5.4 servers from 5.6.1 to
> 5.8.7.  This included reinstalling around 50 perl modules (some to new
> versions) from the freebsd ports.  Ever since the upgrade, apache
> increases in memory by about a third of it's original size whenever by
>  it restarts via SIGHUP.
> 
> Does this ring a bell for anyone, or do I start debugging from scratch?

I've encouontered this problem before on FreeBSD and have had some success
working around it. One of the main problems seems to be with FreeBSD's Perl
build picking Perl's malloc instead of the native FreeBSD malloc(). You can see
how your perl is configured like this:

$> perl -V:usemymalloc
usemymalloc='y';

And if it's the case, my recommendation would be to rebuild your perl with the
system malloc() and see if this problem goes away.

--------------------------------------------------------------------------------
Philippe M. Chiasson m/gozer\@(apache|cpan|ectoplasm)\.org/ GPG KeyID : 88C3A5A5
http://gozer.ectoplasm.org/     F9BF E0C2 480E 7680 1AE5 3631 CB32 A107 88C3A5A5

Attachment: signature.asc
Description: OpenPGP digital signature

Reply via email to