httpd-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Dean Gaudet <>
Subject Re: [PATCH] mod_log_config.c
Date Tue, 07 Sep 1999 22:20:54 GMT
The unused read end of the pipe is there so that the parent can respawn
the piped log child at any time.  You could close it in the httpd child
processes... but you have to keep it open in the parent. 


On Fri, 3 Sep 1999, Marcus Butler wrote:

>  I run several high-volume webservers with Apache.  Recently, I
> disovered some resource starvation on a few of the servers and set about
> trying to fix the problem.
>  I found out that mod_log_config's piping mechanism does not close the
> unused read end of the pipe.  This results in one wasted file descriptor
> per piped log.
>  The patchfile is attached to this message.  This patch has only been
> tested under Linux, but
> I suspect it will work under any reasonable platform.
>  Marcus Butler

  • Unnamed multipart/mixed (inline, None, 0 bytes)
View raw message