[[+content_image]]
S
S
Sergey2018-06-08 13:00:47
linux
Sergey, 2018-06-08 13:00:47

How to find the parent process?

Good afternoon.
I have one zombie process

[[email protected] ~]$ ps aux | grep -w Z
user  3954  0.0  0.0 105316   952 pts/0    S+   05:57   0:00 grep -w Z

And now I can’t find the parent process in any way to restart it
[[email protected] ~]$ ps -o ppid 3954
 PPID

That's all it outputs.
Rebooting the server doesn't help either. It still hangs in the system.
How to fight it?
UPD:
I noticed such a thing.
If you run ps aux all the time | grep -w Z - then the PID changes. It feels like the system is trying to close / kill it, and it starts up again under a different PID

Answer the question

In order to leave comments, you need to log in

[[+comments_count]] answer(s)
M
Melkij, 2018-06-08
@svakhovksyy

I have one zombie process

Where?
There are no zombies here.
And grep is expected to be in the list of processes, and by the condition "meets Z" it successfully finds itself.

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question