How do I figure out a root cause of a zombie process?

0

A process on a production linux server became a zombie with unknown reason. I wonder if there is a certain methodology to find out what causes it.

hdf

Posted 2015-08-21T21:08:47.423

Reputation: 115

Do you know which process (program binary) it was? – Jens – 2015-08-21T22:58:50.443

@Jens yup, it was one of java programs running on that server. Actually the process became a zombie after I killed stuck java pid. – hdf – 2015-08-21T23:18:03.057

Then the process Z may have exited because it could no longer communicate with the process K you killed. But the parent of Z did not expect to collect an exit status this early with wait() and thus Z became a zombie. – Jens – 2015-08-22T08:21:26.323

No answers