Skip to content
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

http: Accept error: accept tcp [::]:9253: accept4: too many open files; #285

Open
PhilMakower opened this issue Feb 27, 2023 · 1 comment

Comments

@PhilMakower
Copy link

I am running php-fpm_exporter on my servers, one of which has a LOT of pools since it is running a lot of websites (48)
The exporter will stop responding after a while, and the logs contain errors as in the title.

May be something like prometheus/blackbox_exporter#288

@itcsoft54
Copy link
Contributor

It seems like you hit fd limitation on your system or inside the container (if you use containerized version of exporter).
You can check with ulimit command or limits.conf file outside for system limitation (with the same user you're using for running containers) or inside container (with root and same user you're using for running)

You can use lsof to check currently open file by exporter

Default limit are 1024 for some Linux distribution. Maybe you need to increase this limit up to your needs.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants