A simple publish takes 9s to finish

2021-01-31 Thread Wesley Peng
Can you please see below why a simple publish take 9s to finish? Pulsar is deployed on a two cores VPS, and I run it with `pulsar-daemon start standalone` mode. Thanks. $ time bin/pulsar-client produce my-topic --messages "hello-pullsar fifth" 15:06:12.815 [pulsar-client-io-1-1] INFO

Re: CPU consuming question

2021-01-31 Thread Wesley Peng
Can you help check with log output? $ tail -f pulsar-standalone-PresentSpicy-VM.log 14:45:14.281 [main-EventThread] INFO org.apache.distributedlog.logsegment.PerStreamLogSegmentCache -

Re: CPU consuming question

2021-01-31 Thread Sijie Guo
Hi Wesley, The CPU usage might be coming from some background tasks. Do you happen to have the log of the standalone server? This might give some insights to the problem. - Sijie On Sun, Jan 31, 2021 at 9:58 PM Wesley Peng wrote: > I deployed a standalone pulsar server on a two cores VPS,

CPU consuming question

2021-01-31 Thread Wesley Peng
I deployed a standalone pulsar server on a two cores VPS, which was new installed. Even there is not any jobs running on pulsar, it still consumes CPU about 15+%. 'top' shows the java process takes it. Can you help explain this? Thank you. Regards.