Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 07 Aug 1998 01:53:23 -0400
From:      "Gary Palmer" <gpalmer@FreeBSD.ORG>
To:        Dusk Auriel Sykotik <syko@sykotik.org>
Cc:        Bruce Evans <bde@zeta.org.au>, dg@root.com, narvi@haldjas.folklore.ee, freebsd-current@FreeBSD.ORG, freebsd@xaa.iae.nl
Subject:   Re: memory leaks in libc 
Message-ID:  <20559.902469203@gjp.erols.com>
In-Reply-To: Your message of "Thu, 06 Aug 1998 12:07:04 EDT." <Pine.LNX.3.95.980806120525.8578C-100000@vortex.starix.net> 

next in thread | previous in thread | raw e-mail | index | archive | help
Dusk Auriel Sykotik wrote in message ID
<Pine.LNX.3.95.980806120525.8578C-100000@vortex.starix.net>:
> Apache uses them quite frequently.  And this could make it very costly on
> large webservers.  Where I work, we have hundreds of connections to some
> of our webservers per minute.  We also use cgi scripts very frequently,
> and these use *env* functions quite frequently as well.  

I would hope that apache does the setenv's in the child just before it does 
the exec, or even uses the exect() fn. I doubt very much that it is done 
*before* the fork. This means there is no leak (or rather, no long term leak), 
as the child dies rather promptly.

Gary
--
Gary Palmer                                          FreeBSD Core Team Member
FreeBSD: Turning PC's into workstations. See http://www.FreeBSD.ORG/ for info



To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-current" in the body of the message



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20559.902469203>