httpd-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Dirk-Willem van Gulik <>
Subject Re: small contrib
Date Tue, 27 Jul 1999 18:40:48 GMT

On Mon, 26 Jul 1999, Tom Vogt wrote:

> Randy Terbush wrote:

> > Also, want to get fancy? Write a pid file and trap SIGUSR1 to tell it
> > when to perform the rotation.
> talking about signals - I seem to have a bug in logbox.c - the gzip
> processes don't exit correctly. they remain as zombies. ugly. anyone an
> idea of what I'm doing wrong?

Are you fork()ing or doing an execv?() sort of thing ? 

In the first case make sure that the parent can pick up the child's exit
condition and that you detach properly. See for example 'Advanced
Programming in a Unix Environment' by Stevens for some good examples.


View raw message