On 5/16/05, Joe Orton <[EMAIL PROTECTED]> wrote:
> It's the month of the piped loggers... there's another issue in this
> code (just had the report this morning, by coincidence), that each time
> a piped logger is spawned (or respawned), an fd is leaked.

+1 (reviewed, tested)

These recent fixes need to make it into 2.0.next as well.  This fix is
apparently not necessary with 1.3.  1.3 with my patch to close the
read side of the pipe in the children:

$ lsof | grep 52791
httpd     7916 trawick    3r  FIFO        0,5              52791 pipe
httpd     7916 trawick    4w  FIFO        0,5              52791 pipe
rotatelog 7917 trawick    0r  FIFO        0,5              52791 pipe
httpd     7918 trawick    4w  FIFO        0,5              52791 pipe
httpd     7919 trawick    4w  FIFO        0,5              52791 pipe
httpd     7920 trawick    4w  FIFO        0,5              52791 pipe
httpd     7921 trawick    4w  FIFO        0,5              52791 pipe
httpd     7922 trawick    4w  FIFO        0,5              52791 pipe

Reply via email to