O Que É um Orphan Process?
Um orphan process é um processo ainda em execução cujo pai já terminou. O sistema operacional o reparenta para o processo init, que herda o dever de coletar seu exit status quando ele terminar. O orphaning é normal e inofensivo desde que o novo pai faça reap do filho.
Por que isso importa
Processos de background órfãos deixados por um passo de CI finalizado podem continuar segurando portas ou arquivos em um runner reutilizado. Saber que eles são reparentados para o init explica por que um init adequado é necessário para limpá-los.
Guias relacionados
What Is the Difference Between a Zombie and an Orphan?A zombie has finished but its exit status is uncollected, while an orphan is still running but has lost its p…
What Is an Init System?An init system is the first process the kernel starts; it boots and supervises other services and adopts orph…
What Is Reaping a Child Process?Reaping is when a parent calls a wait operation to read a finished child exit status, freeing the kernel slot…