From owner-freebsd-current Thu Aug 6 09:37:28 1998 Return-Path: Received: (from majordom@localhost) by hub.freebsd.org (8.8.8/8.8.8) id JAA03194 for freebsd-current-outgoing; Thu, 6 Aug 1998 09:37:28 -0700 (PDT) (envelope-from owner-freebsd-current@FreeBSD.ORG) Received: from godzilla.zeta.org.au (godzilla.zeta.org.au [203.15.68.22]) by hub.freebsd.org (8.8.8/8.8.8) with ESMTP id JAA03154 for ; Thu, 6 Aug 1998 09:37:09 -0700 (PDT) (envelope-from bde@godzilla.zeta.org.au) Received: (from bde@localhost) by godzilla.zeta.org.au (8.8.7/8.8.7) id CAA00012; Fri, 7 Aug 1998 02:36:07 +1000 Date: Fri, 7 Aug 1998 02:36:07 +1000 From: Bruce Evans Message-Id: <199808061636.CAA00012@godzilla.zeta.org.au> To: bde@zeta.org.au, syko@sykotik.org Subject: Re: memory leaks in libc Cc: dg@root.com, freebsd-current@FreeBSD.ORG, freebsd@xaa.iae.nl, narvi@haldjas.folklore.ee Sender: owner-freebsd-current@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG >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. The env functions are already costly. They use dumb linear searches and malloc(), and don't alloc a little more than necessary so that the environment can grow a little without reallocation. Garbage collection need not be equally pessimal. Bruce To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-current" in the body of the message