-
Notifications
You must be signed in to change notification settings - Fork 51
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
"Too many simultaneous queries" error after upgrading to 0.12 #163
Comments
Hey hey. To me it looks a little bit strange. Can you try the master to confirm if the issue is still there? In any case, the easiest solution would be to increase clickhouse setting max_concurrent_queries, just try 150. |
Hey Robert @spoofedpacket, are there any news regarding the issue? |
@Felixoid Thanks for the response. I noticed from the logs that the majority of failed queries related to the
I'm thinking this is something peculiar to my setup, due to the very large index table at the time. Happy to close the issue for now, if it reoccurs I'll try bumping the max_concurrent_queries to 150. Thanks again! |
There's actually another way to solve the issue. You can try to use the To prevent the writing of daily data, there's a setting in carbon-clickhouse, but I'm unhappy with its name |
Oh, I didn't know about that option in carbon-clickhouse. I'll give both a try, thanks for the tip! |
I'm closing it, feel free to reopen it on new questions |
I was testing out graphite-clickhouse 0.12 on a clickhouse 20.3.17.173 installation. After some minutes, queries started failing (no data returned)
Looking at the clickhouse logs, it was reporting a "Too many simultaneous queries." error:
The same errors also bubble up to graphite-clickhouse own logs:
At the time there were about 1.2k queries/min in progress (as reported by the
ClickHouse.ProfileEvents.Query
metric). This is pretty normal load for the system I'm working with.I also tested with internal-aggregation enabled and disabled, this didn't have any effect. Rolling back to graphite-clickhouse 0.11 resolved the issue.
Any insights appreciated! I'm keen to upgrade to 0.12 to take advantage of the internal-aggregation features.
Thanks.
The text was updated successfully, but these errors were encountered: