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

How should yrmcds behave when FDs are depleted? #92

Open
nojima opened this issue Jul 25, 2024 · 0 comments
Open

How should yrmcds behave when FDs are depleted? #92

nojima opened this issue Jul 25, 2024 · 0 comments

Comments

@nojima
Copy link
Collaborator

nojima commented Jul 25, 2024

Once FDs are depleted, yrmcds crashes because of cybozu::has_ip_address.

2024-07-24 09:36:27 ERROR [std::system_error] (system:24) getifaddrs: Too many open files

I am not sure if this behavior is a problem or not.
One could argue that abnormal termination upon FD exhaustion is inevitable.
On the other hand, it is another idea that it should work even during FD exhaustion (even if it cannot accept new connections) and that all functions should recover once the FD exhaustion is resolved.

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

1 participant