Comment 3 for bug 606491

Revision history for this message
Frank Schubert (f-schubert) wrote :

Hi click,

that *sleep* you see is from /etc/cron.daily/apt, I think:

# sleep for a random interval of time (default 30min)
# (some code taken from cron-apt, thanks)
random_sleep()
{
# [...]
    sleep $TIME
}
EOF

When I get these mails there is an anacron process (ps aux |grep anacron) that is waiting:
*pstree* shows
     |-anacron---sh---run-parts---apt

So apt ran from the cronjob is the problem, *not* anacron:
root 23642 0.0 0.0 0 0 ? ZN Sep15 0:00 [apt] <defunct>

process state codes:
      Z Defunct ("zombie") process, terminated but not reaped by its parent.
      N low-priority (nice to other users)

I could not kill that zombie-process directly, but if after killing all processes shown in that pstree-output that zombie went away.