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

Too many files #1

Open
dholbrook86 opened this issue Dec 22, 2019 · 0 comments
Open

Too many files #1

dholbrook86 opened this issue Dec 22, 2019 · 0 comments

Comments

@dholbrook86
Copy link

I will have notifications up and running for a few days or hours but then suddenly there are a whole mess of errors that require me to restart my entire docker deployment of 5 containers. I've taken a look at the container logs for RocketChatMobilePushGateway and have this ongoing repeating error:

COULD NOT CREATE A LOGGINGFILE 20191218-000849.1!Could not create logging file: Too many open files
COULD NOT CREATE A LOGGINGFILE 20191218-000849.1!Could not create logging file: Too many open files
COULD NOT CREATE A LOGGINGFILE 20191218-000849.1!E1218 00:08:49.355448    10 AsyncServerSocket.cpp:878] accept failed: out of file descriptors; entering accept back-off state
E1218 00:08:49.356623     8 Acceptor.cpp:373] error accepting on acceptor socket:
E1218 00:08:50.357385    10 AsyncServerSocket.cpp:878] accept failed: out of file descriptors; entering accept back-off state
E1218 00:08:50.358518     8 Acceptor.cpp:373] error accepting on acceptor socket:
E1218 00:08:51.359323    10 AsyncServerSocket.cpp:878] accept failed: out of file descriptors; entering accept back-off state

I've tried viewing my socket limit with this command `cat /proc/sys/fs/file-max` on the host machine and inside the container itself. The limit is 760569 which seems high and fine.

What's going on? I really don't want to have to restart my containers every day.
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