influxdata / influxdata/influxdb

influx error:: too many open files

Open
#19,701 4 comments 3 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Dominant language
Rust
Stars
31.7k
Forks
3.7k
Avg merge
13h 37m
Merged PRs (30d)
8

Description

Hi Team,

we are getting error in influxdb service. Also everyday one time this service is getting stopped.
PFB error I am getting:

**http: Accept error: accept tcp [::]:8086: accept4: too many open files; retrying in 5ms
[root@XTMSXFTLLWGLJFB influxdb]# cat /etc/redhat-release
Red Hat Enterprise Linux Server release 6.6 (Santiago)
[root@XTMSXFTLLWGLJFB influxdb]# rpm -qa|grep influx
influxdb-1.7.6-1.x86_64**

ulimit detail:
**[root@XTMSXFTLLWGLJFB influxdb]# ulimit -Sn
1024
[root@XTMSXFTLLWGLJFB influxdb]# ulimit -Hn
4096**

can you please suggest how can I resolve this issue.

Thanks & Regards,
Priyanka

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Review the InfluxDB 1.7.6 service on Red Hat Enterprise Linux 6.6, starting with the reported `ulimit -Sn` and `ulimit -Hn` values of 1024 and 4096. Confirm whether the service stops after the `accept4: too many open files` error and determine the supported configuration or code change needed. Done means the service stays running without that error under the reported workload.

Written by the indexing model from the issue text.

Assessment

Tech stack
linux
Domain
databases, operating-systems
Issue type
Bug
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
25/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.