|
|||||||||||
|
Re: Apache 2.x leaked descriptors
From: Christian Kratzer <ck(at)cksoft.de>
Date: Tue Feb 25 2003 - 12:34:24 EST Hi,
On Tue, 25 Feb 2003, Brian Hatch wrote:
file descriptors 0, 1 and 2 are not the problem. They are open and required for the script to function properly. > Now error log should be opened in append only mode, such that these
Yes error messages from cgi scripts usually end up in the virtual hosts error log. That is current behaviour if I'm not mistaken.
[snipp]
the cgi has access to the error log via its stderr file descriptor 2. It does not need access to the file descriptor of the log itself. > I think an apache directive to allow
the apache source code already has hooks for closing these resources. The reason it is not happening is because there is a bug. A trivial patch has been posted and is being discussed with the apache group. I hope it will get committed into their cvs as soon as possible.
Greetings
-- CK Software GmbH Christian Kratzer, Schwarzwaldstr. 31, 71131 Jettingen Email: ck@cksoft.de Phone: +49 7452 889-135 Open Software Solutions, Network Security Fax: +49 7452 889-136 FreeBSD spoken here!Received on Tue Feb 25 18:47:02 2003 This archive was generated by hypermail 2.1.8 : Wed Aug 23 2006 - 14:07:38 EDT |
||||||||||
|
|||||||||||