From owner-freebsd-current Thu Aug 6 22:55:21 1998 Return-Path: Received: (from majordom@localhost) by hub.freebsd.org (8.8.8/8.8.8) id WAA00695 for freebsd-current-outgoing; Thu, 6 Aug 1998 22:55:21 -0700 (PDT) (envelope-from owner-freebsd-current@FreeBSD.ORG) Received: from gjp.erols.com (alex-va-n008c079.moon.jic.com [206.156.18.89]) by hub.freebsd.org (8.8.8/8.8.8) with ESMTP id WAA00689 for ; Thu, 6 Aug 1998 22:55:19 -0700 (PDT) (envelope-from gjp@gjp.erols.com) Received: from gjp.erols.com (gjp@localhost.erols.com [127.0.0.1]) by gjp.erols.com (8.8.8/8.8.7) with ESMTP id BAA20563; Fri, 7 Aug 1998 01:53:24 -0400 (EDT) (envelope-from gjp@gjp.erols.com) X-Mailer: exmh version 2.0.1 12/23/97 To: Dusk Auriel Sykotik cc: Bruce Evans , dg@root.com, narvi@haldjas.folklore.ee, freebsd-current@FreeBSD.ORG, freebsd@xaa.iae.nl From: "Gary Palmer" Subject: Re: memory leaks in libc In-reply-to: Your message of "Thu, 06 Aug 1998 12:07:04 EDT." Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Date: Fri, 07 Aug 1998 01:53:23 -0400 Message-ID: <20559.902469203@gjp.erols.com> Sender: owner-freebsd-current@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG Dusk Auriel Sykotik wrote in message ID : > 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