Node Server crashes after few hours
问题 I am using Nodemon with Forever Module on Ubuntu Server. I use this command to start my Node Server: forever start -c nodemon app.js --exitcrash It works fine for few hours (approx 48 Hours), but after that my Server stops working with these errors: Error: getaddrinfo EMFILE TypeError: Cannot call method 'indexOf' of undefined Error: Handshake inactivity timeout These errors are caused due to Exceeding Limit of Open Files/Sockets . Now my question is: Can I use -m (Which sets to unlimited in