Re: logrotate zombie
On Tue, Aug 15, 2006 at 09:34:34AM +0200, Matus UHLAR - fantomas wrote:
> On 14.08.06 13:17, Chris Brotherton wrote:
> > I am have trouble running logrotate on debian testing. Every morning when
> > cron daily runs, logrotate becomes defunct. Here is the "ps" output:
> >
> > root 24125 22098 0 06:25 ? 00:00:00 /USR/SBIN/CRON
> > root 24126 24125 0 06:25 ? 00:00:00 /bin/sh -c test -x
> > /usr/sbin/anacron || run-parts --report /etc/cron.daily
> > root 24129 24126 0 06:25 ? 00:00:00 run-parts --report
> > /etc/cron.daily
> > root 24169 24129 0 06:28 ? 00:00:00 [logrotate] <defunct>
>
> does it have any children? try "ps axlww | grep 24169"
> I guess it's trying to mail you something and sendmail stuck...
>
It did have a sendmail child. I was able to kill the logrotate zombie and I
received the email from the sendmail child. Based on the email, I determined
that logrotate was have problems rotating the most recent access file for
lighttpd. I moved the file out of the way and last night logrotate worked
without problems. I will keep an eye on it and see if it becomes a problem
again.
Thanks,
Chris.
Reply to: