nodejs server hanging from time to time
- by Johann Philipp Strathausen
I have a node server (0.6.6) running an Express application, along with Mongoose and s3, on an Ubuntu 11.04 machine.
Several times per hour, the server is hanging. That means that the application is working fine, I see the express loggings, and then all of a sudden the server stops responding. No errors, no traces, no loggings, and strangely enough the browser won't show the request even in the network debugging window. From any machine in the local network it's the same behaviour. I restart the server and it's okay again for several minutes, then again starts to hang, everytime while doing something different.
The same application on Amazon on the same Ubuntu version works fine and never hangs.
I know all this is kind of vague, but I don't know where to start. Has any of you seen something like this before? Any idea?