Comments (6)
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.
from graphite-clickhouse.
Hey Robert @spoofedpacket, are there any news regarding the issue?
from graphite-clickhouse.
@Felixoid Thanks for the response. I noticed from the logs that the majority of failed queries related to the graphite_index
table so I decided to try something:
- The
graphite_index
table has grown quite large over time. Metrics paths that have stopped updating werent being deleted from the table, so there was about a year's worth of stale data in there. - It was also partitioned with a YYYYMMDD partition key, which lead to it having over 400 partitions - I'm guessing that would have grown forever if left alone.
- I dropped and recreated the table with a monthly partition key this time and let metrics feed in for a few days
- There's also a cron in place now to purge metrics paths that haven't been updated in 2 weeks, based on this discussion: #83 (comment)
- After this, I started sending queries again for several hours and the error did not reappear
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!
from graphite-clickhouse.
There's actually another way to solve the issue. You can try to use the index-use-daily = false
parameter, it can be more efficient for your setup.
To prevent the writing of daily data, there's a setting in carbon-clickhouse, but I'm unhappy with its name disable-daily-index = true
, so it will be changed in the next config refactoring in a couple of weeks
from graphite-clickhouse.
Oh, I didn't know about that option in carbon-clickhouse. I'll give both a try, thanks for the tip!
from graphite-clickhouse.
I'm closing it, feel free to reopen it on new questions
from graphite-clickhouse.
Related Issues (20)
- How to let graphite-web's tag works with graphite-clickhouse? HOT 20
- graphite-clickhouse is broken with ClickHouse >21.1 over tls HOT 5
- Tags and grafana multi-value variables
- Carbonapi got unexpected EOF on some queries responce HOT 2
- Automate packages pushing for autobuilds and releases HOT 5
- Wrong glibc version in Debian Buster HOT 1
- Cannot disable index table HOT 1
- Metrics with NULL values are not processed correctly HOT 4
- Purpose of filter "Path in metrics_list" HOT 4
- empty output in CH because of different timezone in cluster and on carbon-clickhouse/graphite-clichouse/carbonapi node HOT 5
- seriesByTag('') causes "index out of range [0] with length 0" HOT 6
- Unescaped metric name in the response. HOT 5
- Printed default config is invalid HOT 1
- seriesByTag invalid regular expression parsing HOT 4
- Question: Skip Aggregation on the first retention policy HOT 1
- Internal aggregation is using incorrect from and until unix timestamps when maxDataPoint is used HOT 7
- invalid memory address or nil pointer dereference HOT 1
- graphite-clickhouse 0.13+ - not support tree-table? HOT 3
- Release new version? HOT 3
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from graphite-clickhouse.