Hands-on task
A zombie under a queue worker
Two identical queue-worker processes are running on the server, one for the mail queue and one for sms. Monitoring has spotted a zombie in the process table: a child process has already exited, but one of the workers never collected its exit code.
Write the PID of the zombie's parent (just the number) to /root/reaper.txt and get rid of the zombie. The healthy worker must keep running.
- ps -eo
- zombies
- STAT/defunct
- ppid
- kill by PID