[Koha-bugs] [Bug 32558] Allow background_jobs_worker.pl to process multiple jobs simultaneously up to a limit

bugzilla-daemon at bugs.koha-community.org bugzilla-daemon at bugs.koha-community.org
Sun Feb 5 23:19:21 CET 2023


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

--- Comment #40 from David Cook <dcook at prosentient.com.au> ---
(In reply to Marcel de Rooy from comment #35)
> Not sure (yet) but should the default not be zero? Just do not fork like we
> currently do?

The job needs to run in a forked process. The memory used by the job can be
reclaimed when the child process ends - whereas the memory will never be
reclaimed by the OS if the process doesn't fork. (The memory can be re-used if
it's internally freed within Perl but can't be reclaimed by the OS.)

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


More information about the Koha-bugs mailing list