The problem for over 30 years:
1) init starts a service process.
2) The service process starts some other sub process it needs.
3) The service process gets terminated to restart
4) The sub process stays running.
5) service started falls over in a heap because sub process is still alive.
That 1 to 5 (rundown) to your normal init systems includes (Ubuntu's) upstart.
Solaris and systemd due to usage of zones and cgroups (respectively):
1) init starts a service process wrapped.
2) The service process starts some other sub process it needs.
3) The service process gets terminated to restart
4) The sub process stays running.
5) Init system checks if anything is left in the cgroup or zone that should have been terminated.
6) service restarted stable.
"Quand certains râlent contre systemd, d'autres s'attaquent aux vrais problèmes." (merci Sinma !)
[^] # Re: dépendance à un système d'init
Posté par xcomcmdr . En réponse au journal Debian à l'heure du choix. Évalué à 3.
Mouais, du temps de SysV, quasiment à chaque fois où j'arrêtais un daemon bloqué, je me retrouvais avec des processus zombie.
Les control groups, c'est mieux :
https://access.redhat.com/site/documentation/en-US/Red_Hat_Enterprise_Linux/6/html/Resource_Management_Guide/ch01.html
"Quand certains râlent contre systemd, d'autres s'attaquent aux vrais problèmes." (merci Sinma !)