httpd-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Joe Orton <>
Subject Re: Zombies from rotatelogs
Date Mon, 14 Apr 2014 16:41:19 GMT
On Mon, Apr 14, 2014 at 11:06:25AM -0500, Daniel Ruggeri wrote:
> I was taking a look at a server that had a handful of zombies and came
> to see they are caused by rotatelogs. It seems pretty straight forward
> why - I am calling gzip post-rotate to compress the log file and child
> cleanup only happens during the post_rotate function, but before
> apr_proc_create for this rotation. So, effectively, you will have a
> zombie process from time_child_dies to next_rotation.
> I would like to get rid of those zombie processes sooner but am wary to
> call apr_proc_wait_all_procs very often... I don't know what the expense
> of doing that would be.
> So... I'm seeking advice for the best option here:

It's free... dunno why I didn't think of this before.

Regards, Joe

View raw message