All instances of the production cluster are full gc, and topic fenced cannot be written #19757
Unanswered
keyboardbobo
asked this question in
Q&A
Replies: 2 comments
Do you see which threads consumed lots of the CPU? If you are able to reproduce the issue. It's better to do some CPU profiling by using https://github.com/jvm-profiling-tools/async-profiler or other tools. So that we can understand which thread consumed the CPU resources |
0 replies
|
Moved to discussion. It's more a usage question than a bug. |
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
Search before asking
There are 9 brokers and 9 bookies in our production environment. After running for half a year, the number of topic partitions increased from 160 to 280. After restarting the client application, all instances showed full gc after a few hours. Each traffic has only about 50M traffic
Version
broker 2.9.2 , bookkeeper 4.14
Minimal reproduce step
Later we reproduced the problem in the test environment, the cluster has 4 bookies and 4 brokers, persistent://qlm-test/qlm-ns/qlm-test has 500 partitions, The client is an independent machine, and the CPU load is relatively high,The traffic of each broker is only 40M,Full gc can be reproduced locally with the following script:
Start 5 instances on the same linux server:nohup bin/pulsar-perf produce -threads 20 -u pulsar://clusterIp:port -n 20 -s 200 -r 100000 persistent://qlm-test/qlm-ns/qlm-test &
Start 2 instances on the other same linux server:nohup bin/pulsar-perf consume -u pulsar://clusterIp:port -q 5000 -ss qlm-sub -st Shared persistent://qlm-test/qlm-ns/qlm-test &
The broker Full gc log:
The broker has more logs like this:
The client has more logs like this:
What did you expect to see?
The system runs stably
What did you see instead?
Generally, within half an hour, full gc can appear on one or more brokers
Anything else?
No response
Are you willing to submit a PR?
All reactions