High CPU usage due to clickhouse restarting? Memory too low? #4740
Replies: 2 comments 25 replies
-
ClickHouse is running out of memory. The easiest solution is to give it more RAM. |
Beta Was this translation helpful? Give feedback.
-
I am having the same issue, Clickhouse is using 100% repeatedly logs
Full stack trace here: https://gist.github.com/salomvary/34c1cf60f56e52a5e14433115f226512 The amount of memory (~4GB) available is reasonable compared to how small the database is:
Using Also getting |
Beta Was this translation helpful? Give feedback.
-
Since for at least 14 days the clickhouse docker container has been using 100% CPU seemingly rebooting in a very tight loop. This makes a single core server utilize 4.0 load (4 times more than healthly). Plausible seems to function and collect my metrics but it seems like something is very broken.
performing a
docker logs -f
yields hundreds or thousands of lines per second, this seems related?Please let me know what I should do. I grew my swap file from 1024 to 2048 but that didn't help.
Beta Was this translation helpful? Give feedback.
All reactions