-
Notifications
You must be signed in to change notification settings - Fork 3.6k
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
Memory usage after select query #7607
Comments
Seems similar to the issue I'm experiencing though my hardware is 1/4 of yours. Querying a database with a series between 40-50K causes all memory to eventually be consumed even though there should be no issues < 1 million. Out of curiosity, how big is your series that you are querying?
|
@RidgeA TSM has much better compression than the older The heap profiles show the process consuming about 12GB of RSS. How were you determining memory usage? Can you run the following when the heap is large and attach the output in a gist:
|
I have 560k series in db to which I try make query.
htop
After starting service As I read, large amount of series could cause this problem.
UPD. |
Can you try the 1.1 release. There are several memory improvements in the release that may help your issue. |
Hello. Sorry for late response. |
1.2 has additional query memory improvements. If you are still experiencing issues with 1.2.2 or later, please log a new issue. |
Hello.
I have database from older versions (we used 0.9 version). There are 2 databases. Total size in old format (b1 engine) is about 10Gb.
I converted (using influx_tsm tool) this databases to tms engine format an theirs size decreased to 2 Gb (Is it normal?).
After that InfluxDB service starts properly and can reseive INSERT requests (leastwise according to logs).
But after any SELECT request service stucks, and begin increase memory usage (first time when I saw it influxdb service occupied about 150 GB memory).
InfluxDB version - 1.0.2
OS - CentOS 7
Server has 32 cores and 128 GB RAM
Config:
influxdb.conf.txt
Can somebody explain whai is the reason of this behaviour?
Thank you!
This is after server started
goroutine_start.txt
heap_start.txt
This is after sending select request
goroutine.txt
goroutine_2.txt
heap.txt
heap_2.txt
The text was updated successfully, but these errors were encountered: