From nobody@hyperreal.com Tue May 6 20:26:24 1997 Received: (from nobody@localhost) by hyperreal.com (8.8.5/8.8.5) id UAA14449; Tue, 6 May 1997 20:26:24 -0700 (PDT) Message-Id: <199705070326.UAA14449@hyperreal.com> Date: Tue, 6 May 1997 20:26:24 -0700 (PDT) From: Robert Shady Reply-To: robert@mail.id.net To: apbugs@hyperreal.com Subject: Allocated File Descriptors are not being freed after use. X-Send-Pr-Version: 3.2 >Number: 554 >Category: general >Synopsis: Allocated File Descriptors are not being freed after use. >Confidential: no >Severity: critical >Priority: medium >Responsible: apache >State: closed >Class: sw-bug >Submitter-Id: apache >Arrival-Date: Tue May 6 20:30:01 1997 >Last-Modified: Sun Jun 29 19:00:50 PDT 1997 >Originator: robert@mail.id.net >Organization: >Release: 1.2b10 >Environment: FreeBSD 2.2.1-RELEASE, however, all operating systems may be affected under heavy load. >Description: In the file buff.c you have removed three lines of code that cause detremental effects (server hanging because it's out of file descriptors) after a period of time depending on your configuration. The "note_cleanups_for_fd" lines apparently were accidentally removed in the latest beta of your server software. Adding these lines back in appears to fix the problem. >How-To-Repeat: Run a heavily loaded webserver for 2-6 hours (depending on your configuration) and things will start to die... >Fix: In file buff.c procedure 'bpushfd' add the following back in: note_cleanups_for_fd(fb->pool, fb->fd); if (fb->fd != fb->fd_in) note_cleanups_for_fd(fb->pool, fb->fd_in)%3 >Audit-Trail: State-Changed-From-To: open-analyzed State-Changed-By: dgaudet State-Changed-When: Wed May 7 11:40:56 PDT 1997 State-Changed-Why: At the same time that change was made we also put note_cleanups_for_fd calls into all the code that used bpushfd(). The change was needed to make the proxy work properly. So I'm guessing you've got a non-standard module built in, and it needs that change made as well. Is that right? Dean State-Changed-From-To: analyzed-closed State-Changed-By: dgaudet State-Changed-When: Sun Jun 29 19:00:50 PDT 1997 State-Changed-Why: Out-of-band discussion cleared this one up, we just forgot to close it out. Dean >Unformatted: