PID file

A file where a background program writes its own process ID so other tools can find it later.

In more detail

PID files belong to the old daemon model and can go stale when a process dies. The twelve-factor app forbids them because the platform already knows which process it started.

Related terms

Taught in

References