Return-Path: owner-new-httpd Received: by taz.hyperreal.com (8.6.12/8.6.5) id VAA09822; Tue, 20 Jun 1995 21:54:16 -0700 Received: from eat.organic.com by taz.hyperreal.com (8.6.12/8.6.5) with ESMTP id VAA09816; Tue, 20 Jun 1995 21:54:14 -0700 Received: (from brian@localhost) by eat.organic.com (8.6.11/8.6.9) id VAA18589; Tue, 20 Jun 1995 21:54:18 -0700 Date: Tue, 20 Jun 1995 21:54:18 -0700 (PDT) From: Brian Behlendorf Subject: found it! To: new-httpd@hyperreal.com Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: owner-new-httpd@apache.org Precedence: bulk Reply-To: new-httpd@apache.org Okay, file desciptors leak when a) the parent is sent a kill -HUP, and the children respawn - there is suddenly another fd pointing to the main access log in each child. I have cron send a kill -HUP to the parent every 15 minutes to refresh the children - over time (like clockwork! :) this was increasing the number of fd's. Only kill -9 on the parent frees these. b) a connection is "lost" - in netscape, this when one page is being accessed and you jump to another page before it's loading. Netscape must do a different type of disconnect in this circumstance than when you hit the stop button, which doesn't cause an fd leak. The first is the most important one to squish. I'll try looking for that, hopefully someone who knows the code better will beat me to it :) Brian --=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-- brian@organic.com brian@hyperreal.com http://www.[hyperreal,organic].com/