Java Zombie Processes Continued
In a previous article, I mentioned the problem of Java program containers generating a lot of zombie processes. Today I ran into it again, but in a different way.
The zombie processes are also generated by a bash script, but this script is executed in the K8S readinessProbe and livenessProbe, not by the java program itself.
Let’s look at some failure diagrams.
You can see that there are many timeout processes that are not cleaned up after execution.