Tyler MacDonald wrote:
>   Interesting... I just chatted with Brian Somers (resident freeBSD
> guru) and he told me that he was getting the same problem under a
> normal perl, but when he recompiled his perl to use FreeBSD's malloc
> (rather than perl's own), the problem went away; he could restart
> apache 100,000 times
> with no memory leak.
http://www.freebsd.org/cgi/cvsweb.cgi/ports/lang/perl5.8/Makefile?rev=1.49&content-type=text/x-cvsweb-markup

I know they've gone back and forth on this a bit over the years....

Also, on FreeBSD check out the malloc(3) man page
sections: Tuning, Environment, and Examples

Perl vs FreeBSD has also been raised on this list before... check the archives... I forget the context.

-Dusemymalloc=y is the default for lang/perl5.8
Also, the previous example had this same setting.

I'll try a manual compile with it off at some point.



--
------------------------------------------------------------------------
"Love is not the one you can picture yourself marrying,
but the one you can't picture the rest of your life without."

"It takes a minute to have a crush on someone, an hour to like someone,
and a day to love someone, but it takes a lifetime to forget someone..."

Philip M. Gollucci ([EMAIL PROTECTED]) 301.254.5198
Consultant / http://p6m7g8.net/Resume/resume.shtml
Senior Software Engineer - TicketMaster - http://ticketmaster.com

Reply via email to