You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Describe the bug
After we upgrade pulsar from 2.4.0 to 2.6.2, we found the frequency of garbage collection is much higher than v2.4.0 and the Journal Add latency of bookie is increased, which might related to the increase of gc frequency.
Activity
lhotari commentedon Dec 12, 2020
This is probably caused by efa984b . There's a fix in PR #8908 . /cc @sijie
lhotari commentedon Dec 13, 2020
There's also a PR to enable Log4j2's Garbage Free logging mode, it's #8944 . Applying both #8908 and #8944 should reduce GC pressure.
Since both PRs are simply changes to the bin/pulsar script, it would be easy to path the wrapper script to re-test with the changes. I have created a script to patch the apachepulsar/pulsar-all docker images for 2.6.2 and 2.7.0 here: https://github.com/lhotari/pulsar-docker-images-patch-log4j2-config
@w6m6 are you running Pulsar in k8s or do you run it without docker images? Would you be able to re-test with the patched bin/pulsar script? (see https://github.com/lhotari/pulsar-docker-images-patch-log4j2-config for patching the docker images)