Step 8 of 9 · lab · 20 min
A process that will not go away
Monitoring keeps sending the same alert, and kill -9 does not help. Find out why and remove the cause without stopping the working program.
Situation
Monitoring sent an alert: a process on the server is in state Z, and it does not go away. A
colleague tried kill -9, and the row stayed. Monitoring wrote the process numbers from the alert
to /srv/zombie-lab/pids.
Next to it runs a training program, collector, as your user student, watched over by the
lab-zombie.service service. The program's description is in /srv/zombie-lab/README.
Task
- There is no longer a row in state
Zin the process table. collectoris the same process that was started: the same PID and start time, running and not stopped.- The service's supervisor has written the outcome to
/srv/zombie-lab/result.txt. - The program files, the
lab-zombie.serviceservice, and its limits are unchanged, andcollectorhas no new children.
Constraints
- Do not stop or restart
collectoror its service.
The tools you need are already installed. There is no internet on this machine.
Lab · on your own
No commands are given in this lab: type them in the terminal yourself. Goals are checked on the machine after every command.
Goals
0 of 4-
The row in state Z is gone — not done yet
-
collector is the same process, running and not stopped — not done yet
-
The supervisor wrote the outcome to result.txt — not done yet
-
The program, its limits and the task files are unchanged; no new children exist — not done yet
The machine is starting
Hints
0 of 3Lab goals
0 of 4-
The row in state Z is gone — not done yet
-
collector is the same process, running and not stopped — not done yet
-
The supervisor wrote the outcome to result.txt — not done yet
-
The program, its limits and the task files are unchanged; no new children exist — not done yet
Goals are checked on the machine after every command.