influxdb icon indicating copy to clipboard operation
influxdb copied to clipboard

influx error:: too many open files

Open priyankamondalairtel opened this issue 4 years ago • 4 comments

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

priyankamondalairtel avatar Oct 08 '20 05:10 priyankamondalairtel

@priyankamondalairtel thanks for the issue. try increasing your open files to the max allowed by your system. I believe you might have to restart the server to make this work.

russorat avatar Oct 13 '20 18:10 russorat

the same issue happens version 2.0.1 restart not work

duanshuaimin avatar Nov 18 '20 10:11 duanshuaimin

increasing open files to the max , the same issue will happen if the data will change too large?

duanshuaimin avatar Nov 18 '20 10:11 duanshuaimin

does ur issue solved ??? and if yes means how did you solve it

musthaq16 avatar Jan 18 '24 12:01 musthaq16