[Koha-bugs] [Bug 33898] background_jobs_worker.pl may leave defunct children processes for extended periods of time

bugzilla-daemon at bugs.koha-community.org bugzilla-daemon at bugs.koha-community.org
Thu Mar 7 23:15:39 CET 2024


https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=33898

--- Comment #13 from David Cook <dcook at prosentient.com.au> ---
(In reply to Asymar Riu from comment #12)
> A reboot of the server kills the zombie process.

That's overkill. To get child zombie processes reaped, you'd just need to stop
the parent process. Then the child process gets inherited by PID 1 and they'll
get reaped.

> Since it seems like a problem that doesn't affect everyone, could it be
> something related to the Server settings?

No, it's a real issue. It's  more likely to happen to systems that use
background jobs more, especially sporadically. 

This is just how parent/child processes work. Parent processes are responsible
for reaping their child processes. As Kyle pointed out, currently child
processes are only reaped under certain conditions. It's just about tweaking
the code to reap them in a more responsible way.

-- 
You are receiving this mail because:
You are watching all bug changes.


More information about the Koha-bugs mailing list