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

Acceptor::readCallback fatal errors #350

Open
Mis1eader-dev opened this issue Aug 27, 2024 · 2 comments
Open

Acceptor::readCallback fatal errors #350

Mis1eader-dev opened this issue Aug 27, 2024 · 2 comments

Comments

@Mis1eader-dev
Copy link
Contributor

A backend running on Drogon for 19 hours started not responding to any requests, checking the console logs I can see this:

20240827 13:14:10.048660 UTC 93159 FATAL Too many open files (errno=24) Accpetor::readCallback - Acceptor.cc:86

Reading the code of Acceptor, it seems it is unable to read from the socket?

After restarting the Drogon backend, it went back to normal.

@an-tao
Copy link
Owner

an-tao commented Aug 28, 2024

This shows that the number of concurrency exceeds the upper limit of open file descriptors for the process. You should increase this upper limit via kernel parameters etc.

@Mis1eader-dev
Copy link
Contributor Author

Thank you for the explanation, shall we have this as an FAQ?

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