influxdata / influxdata/influxdata-docker

Docker ulimit set too low for InfluxDB

Open
#204 1 comment 0 reactions 0 assignees View on GitHub
Dominant language
Shell
Stars
364
Forks
255
Avg merge
3h 18m
Merged PRs (30d)
7

Description

On lots of commits the InfluxDB container will take 100% cpu, and will stay at 100% cpu. On checking the log files, the logs state that there are too many open files. The default docker ulimit is set at 1024. MongoDB has instructions for setting the ulimit higher, I'd suggest that this is also added to the default deployment instructions for your docker images.

Mongo instructions: https://docs.mongodb.com/ecosystem/platforms/amazon-ec2/
Setting docker ulimits: https://stackoverflow.com/questions/24318543/how-to-set-ulimit-file-descriptor-on-docker-container-the-image-tag-is-phusion

Contributor guide

No contributing guide indexed for this repository

Research direction

No file or test is named in the issue. Start by locating the default deployment instructions for the Docker images and review how MongoDB documents its ulimit requirement. Done means the InfluxDB deployment guidance explains how to raise the open-file limit enough to prevent the reported container failure.

Written by the indexing model from the issue text.

Assessment

Tech stack
docker
Domain
devops
Issue type
Documentation
Difficulty
2/5
Estimated time
1-3 hours
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.