nodejs server hanging from time to time

Posted by Johann Philipp Strathausen on Server Fault See other posts from Server Fault or by Johann Philipp Strathausen
Published on 2011-12-20T13:27:10Z Indexed on 2012/05/31 10:43 UTC
Read the original article Hit count: 283

Filed under:
|

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?

© Server Fault or respective owner

Related posts about unix

Related posts about node.js