Project

General

Profile

Actions

Bug #201

closed

/etc/cron.daily/9999zombie doesn't work on Debian systems

Added by Florian Effenberger about 10 years ago. Updated over 6 years ago.

Status:
Closed
Priority:
Low
Category:
-
Target version:
-
Start date:
Due date:
% Done:

100%

Tags:
EasyHack, Salt

Description

/etc/cron.daily/9999zombie doesn't work on Debian systems, as the landscape package doesn't exist
A different approach for detecting need for zombie kill is required

Actions #1

Updated by Alexander Werner over 9 years ago

See http://stackoverflow.com/questions/7039520/bash-how-to-detect-whether-apt-get-requires-a-reboot: Use checkrestart from debian-goodies or check for /var/run/reboot-required.

Actions #2

Updated by Florian Effenberger over 9 years ago

  • Description updated (diff)
Actions #3

Updated by Florian Effenberger over 9 years ago

As for zombies, this should do:

ps auxw | grep defunct

And for killing them (not tried, out of my head):

ps auxw | grep defunct | awk {'print $5'} | xargs kill -9

Actions #4

Updated by Florian Effenberger over 9 years ago

My bad:

ps auxw | grep defunct | awk {'print $5'} | -> then ps xal | grep for that, then kill -9 what ps xal yields (or somesuch :)

Actions #5

Updated by Florian Effenberger over 9 years ago

  • Priority changed from Normal to Low

Nothing urgent, releasing for the public, some task for volunteers to get involved IMHO

Actions #6

Updated by Alexander Werner about 9 years ago

  • Tags EasyHack, Salt added
Actions #7

Updated by Florian Effenberger about 9 years ago

  • Assignee deleted (Alexander Werner)

Releasing that into the general public queue - not critical at all, and a nice EasyHack indeed, as zombie detection can also be done by different means (landscape-common is not available on Debian, at least not from the default repos)

Actions #8

Updated by Guilhem Moulin over 6 years ago

  • Status changed from New to Closed
  • Assignee set to Guilhem Moulin
  • % Done changed from 0 to 100
Actions

Also available in: Atom PDF