go-graphite / carbon-clickhouse

Graphite metrics receiver with ClickHouse as storage
MIT License
187 stars 47 forks source link

0.11.3+ goes to 100% cpu usage #122

Closed Hipska closed 1 year ago

Hipska commented 1 year ago

I'm using quite the default configuration as in the README.md file and noticed that as of version 0.11.3, carbon-clickhouse goes to 100% cpu usage and no errors or warnings appear in the log file.

The last stable version seems to be 0.11.2 where cpu usage goes to <1%.

lexx-bright commented 1 year ago

Also noticed this. More precisely, one core is fully utilized even when carbon-clickhouse is idle. Raised after 22e83d224d44b6748bedfa078bf478f8982c3a60

msaf1980 commented 1 year ago

I'll plan revert in PR #123 after some testing

msaf1980 commented 1 year ago

Can you test current master ? As I see, no high CPU usage at idle. If worked as expected, I'll release fixed version.

lexx-bright commented 1 year ago

Can confirm the issue is fixed on the current master.

msaf1980 commented 1 year ago

New version (0.11.5) with fix is released

Hipska commented 1 year ago

I confirm 0.11.5 working fine on my systems