Bug 34477

Summary: Further reduce memory usage for idle background job worker
Product: Koha Reporter: David Cook <dcook>
Component: Architecture, internals, and plumbingAssignee: Bugs List <koha-bugs>
Status: NEW --- QA Contact: Testopia <testopia>
Severity: enhancement    
Priority: P5 - low    
Version: Main   
Hardware: All   
OS: All   
Change sponsored?: --- Patch complexity: ---
Documentation contact: Documentation submission:
Text to go in the release notes:
Version(s) released in:
Circulation function:
Bug Depends on:    
Bug Blocks: 28410, 35092    

Description David Cook 2023-08-04 03:39:34 UTC
While bug 28413 reduced the amount of memory used by background job worker, I think that we can reduce it further yet. 

I'm seeing a lot of workers around 56MB RES and 104MB VIRT at the moment (although there are some smaller ones). Multiple that for multiple workers across multiple instances, and it adds up pretty quickly.

Contrast that with bug 27267 where I've got an idle Zebra indexer that uses 7MB RES and 12MB VIRT. That scales up much nicer. 

Anyway, not a burning issue, but it would be useful to do sometime down the track. It could be an easy win for server resource usage.