[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: Hanging run-parts weirdness!!!



On Mon, 08 Okt 2001, Christian Kurz wrote:

Hello Small,:)

> > > 16310 pts/2    S      0:00          \_ run-parts --report /etc/cron.daily/
> > > 16388 pts/2    Z      0:00              \_ [man-db <defunct>]
> > > 
> > > Every time different script, and if  I run every script manually it is
> > > completed in a moment without problems!

> > I have no idea what the problem is.
> > Maybe its a good idea to report this bug to the "debianutils"
> > package where run-parts belong to.
> 
> No, that's wrong because run-parts is working fine, but mandb is the
> program which is hanging around in defunctional status. So this bug
> should be reported against mandb. But please look before into the
> cronjob in /etc/cron.daily that is calling mandb and try running the
> exact command manual to see if it works or if that one hangs too.

:) No. The initial mail show many hanging jobs from cron.daily and
not always man.db. I tried all the cron.daily scripts many times
by hand and this never happened.
Sergey wrote now the same problems (http://lists.debian.org/debian-isp/2001/debian-isp-200110/msg00078.html)
and I think this could be a run-parts problem.

part of ps(1):
...
       Processes  marked  <defunct> are dead processes (so-called "zombies") that remain because their parent has
       not destroyed them properly. These processes will be destroyed by init(8) if the parent process exits.
...

The parent proccess is run-parts if I understand everything correct.

Here 2 other examples from the last 2 days:

root      6697  0.0  0.0  1800    4 ?        S    Oct06   0:00 /USR/SBIN/CRON
root      6702  0.0  0.0  2172    4 ?        S    Oct06   0:00 /bin/sh -c test -e /usr/sbin/anacron || run-parts --report /etc/cron.daily
root      6704  0.0  0.0  1276    4 ?        S    Oct06   0:00 run-parts --report /etc/cron.daily
root      9292  0.0  0.0     0    0 ?        Z    Oct06   0:00 [logrotate <defunct>]

root     32644  0.0  0.0  1800  444 ?        S    Oct07   0:00 /USR/SBIN/CRON
root     32649  0.0  0.0  2172 1008 ?        S    Oct07   0:00 /bin/sh -c test -e /usr/sbin/anacron || run-parts --report /etc/cron.daily
root     32652  0.0  0.0  1276   80 ?        S    Oct07   0:00 run-parts --report /etc/cron.daily
root      2220  0.0  0.0     0    0 ?        Z    Oct07   0:00 [apache-ssl <defunct>]

-- 
	Noèl Köthe



Reply to: