diff options
| author | Furkan Sahin <furkan-dev@proton.me> | 2014-01-09 11:08:19 +0100 |
|---|---|---|
| committer | Furkan Sahin <furkan-dev@proton.me> | 2014-01-09 11:08:19 +0100 |
| commit | 7f16d49028602df491aab42286875b60a5290364 (patch) | |
| tree | 8100b87ea48f55f147da3592d85e7415cba875dc /systemd/fcgiwrap.socket | |
| parent | 906c4cdc3ff19ff7eb250fcc9904073fdfa02739 (diff) | |
prefork: Fix 100% CPU usage in parent process
When a child process is terminated, the parent calls waitpid() to check
for dead children. This returns -1 on error (e.g. there are no other
children or a signal interrupted waitpid()), the pid (> 0) for dead
children OR 0 if there are some children which are still alive.
Fixes gnosek/fcgiwrap#18.
Diffstat (limited to 'systemd/fcgiwrap.socket')
0 files changed, 0 insertions, 0 deletions
