-
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
fatal error: runtime: cannot allocate memory during write operation #4548
Comments
gist with config - https://gist.github.com/priyadarsh/314312035ba49ae4b4fa#file-influxdb-conf |
Runtime memstats of the node which is crashing https://gist.github.com/priyadarsh/22813b9e2698e83179dc#file-influxdb-heap-dump-node1 |
I tried again with latest nighlty build (0.9.5-nightly-827c513) and by enabling write trace.
|
Is this something related to go 1.5.1 (golang/go#12233) ? |
I have never seen this error before with our software. @DanielMorsing -- any ideas? |
Looks like I found something. Influxdb process is using up all of vm.max_map_count whose default value is 65530. It is throwing "cannot allocate memory" error after hitting this limit. |
The influxdb appears to be stable now. The only query remains is why I had to increase the vm.max_map_count to such a high value? |
The output from |
@DanielMorsing here you go. Shared via drop box as it is to big to share through gist. |
@DanielMorsing please let me know if you need anything else or if you are facing any problem downloading the file. |
There is a fix for go |
Not sure when |
https://github.com/golang/go/milestones -- October 31st is the goal for the release of 1.5.2, it seems. |
@priyadarsh we have now moved the nightlies to Go 1.5.2. We think that's the issue so this issue should be fixed. If you find that you're still running into this issue with the latest nightly, please reopen so we can continue investigating. Thanks for your help! |
The text was updated successfully, but these errors were encountered: