Clickhouse eating up all my server's resources #5535
Replies: 5 comments
-
ClickHouse isn't accessing config.xml, it's just the command that was used to start the process :) |
Beta Was this translation helpful? Give feedback.
-
I see! I guess this is more of a clickhouse issue then? |
Beta Was this translation helpful? Give feedback.
-
Maybe there are more knobs to tune to try to make ClickHouse consume less in Plausible CE. |
Beta Was this translation helpful? Give feedback.
-
I have exactly the same problem. CPU is running at 95-100%, RAM is at about 40% - which is fine. @DeveloperLewis |
Beta Was this translation helpful? Give feedback.
-
I've been doing quite a lot of testing and think I have a solution. I've no idea why ClickHouse uses CPU when nothing is happening in the database however, this was my config for ClickHouse and my CPU usage has been lowered significantly.
Right now im still testing it so I don't know the effects on the system but currently with a rough ~25 concurrent connections it seems to be working as expected. The following config is a mashup of ClickHouse docs + third party (forgot the website where i got it from) which is apparently optimized for RAM usage too. This also works and keeps my CPU low.
With this config, take note of I'm running ClickHouse
Thanks, |
Beta Was this translation helpful? Give feedback.
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
Past Issues Searched
Issue is a Bug Report
Using official Plausible Cloud hosting or self-hosting?
Plausible Cloud from plausible.io
Describe the bug
Clickhouse is constantly accessing it's config.xml and just breaking. I'm not entirely sure what's happening but there are multiple instances of it and its bringing down my server. If I turn off my plausable docker contianer, it doesn't happen anymore and I get back 50-80% of all my server resources. So I know it's plausable.
Expected behavior
I don't think it should be using THIS much memory/cpu usage.
Screenshots
Environment
Beta Was this translation helpful? Give feedback.
All reactions