Background-worker.rb eats CPU

Hej all,

Zammad 5.4.1-1681892852.be633550.buster Debian-Package on Debian 11.7, different Browsers…

Zammad doesn’t show new tickets, search is incopmplete.

htop shows background-worker.rb ‘eating’ CPU:

After Reboot I see that Sscript being executed dynamically in several instances, so I think it might have been frozen …

How to analyze?

Regards,

Boris

Hard to tell from the provided information
CPU on 100% on one core for the background worker can be a normal thing depending on your configuration etc.

You restarting Zammad may cover other issues or simply “cancel” currently running tasks that take longer and thus make you believe you’ve fixed it.

You can use own threads for session jobs (which is part of the overview generation) - this is considered performance tuning - you can find more about this here:
https://docs.zammad.org/en/latest/appendix/configure-env-vars.html#performance-tuning

Thank you MrGeneration,
for your thoughts. We intermediately ‘solved’ that by putting som vCPUs on the VM.
Regards,
Boris

1 Like

This topic was automatically closed 360 days after the last reply. New replies are no longer allowed.