https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=22417
--- Comment #320 from Jonathan Druart <[email protected]> --- (In reply to Marcel de Rooy from comment #274) > Completely other observation: Just noticing on my test server that process > beam.smp used quite a bit CPU at some point while there was nothing going on > in terms of background processes. Googling beam.smp brings you right to such > things. Reason for being more cautious? Same report on IRC with a possible solution: < kohaputti> seems to be around 4-10% on my machine more or less constantly < kohaputti> yes, it is beam.smp < kohaputti> maybe there is some configration we could change < kohaputti> (4-10% on one core) < kohaputti> just installed the rabbitmq stuff because I noticed reset_all needed it < kohaputti> I have the latest version of Koha master as of ~1 hour < kohaputti> lots of sched_yield() syscalls < kohaputti> when I look with strace < kohaputti> https://www.rabbitmq.com/runtime.html#cpu-reduce-idle-usage < kohaputti> adding RABBITMQ_SERVER_ADDITIONAL_ERL_ARGS="+sbwt none" to the env vars seemed to do the trick < kohaputti> now the load is around 1-2% constantly < Joubu> which version of rabbitmq? which os? < kohaputti> seems to be debian 9 (from koha-testing-docker) < kohaputti> version of rabbitmq-server is 3.6.6-1 Under D11 (koha-testing-docker), RabbitMQ version: 3.8.9 * Without the config modification I see it around 4.5% rabbitmq 1148 4.5 0.5 3227132 86044 ? Sl 13:10 0:37 /usr/lib/erlang/erts-11.1/bin/beam.smp -W w -K true -A 64 -MBas ageffcbf -MHas ageffcbf -MBlmbcs 512 -MHlmbcs 512 -MMmcs 30 -P 1048576 -t 5000000 -stbt db -zdbbl 128000 -B i -- -root /usr/lib/erlang -progname erl -- -home /var/lib/rabbitmq -- -pa -noshell -noinput -s rabbit boot -boot start_sasl -lager crash_log false -lager handlers [] * With the config modification: % echo 'RABBITMQ_SERVER_ADDITIONAL_ERL_ARGS="+sbwt none +sbwtdcpu none +sbwtdio none"' >> /etc/rabbitmq/rabbitmq-env.conf % service rabbitmq-server restart It's around 3% rabbitmq 2646 2.9 0.5 3223728 84124 ? Sl 13:25 0:06 /usr/lib/erlang/erts-11.1/bin/beam.smp -W w -K true -A 64 -MBas ageffcbf -MHas ageffcbf -MBlmbcs 512 -MHlmbcs 512 -MMmcs 30 -P 1048576 -t 5000000 -stbt db -zdbbl 128000 -sbwt none -sbwtdcpu none -sbwtdio none -B i -- -root /usr/lib/erlang -progname erl -- -home /var/lib/rabbitmq -- -pa -noshell -noinput -s rabbit boot -boot start_sasl -lager crash_log false -lager handlers [] Not changed much in my case. -- You are receiving this mail because: You are watching all bug changes. _______________________________________________ Koha-bugs mailing list [email protected] https://lists.koha-community.org/cgi-bin/mailman/listinfo/koha-bugs website : http://www.koha-community.org/ git : http://git.koha-community.org/ bugs : http://bugs.koha-community.org/
