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.
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: