Quantcast
Channel: Node.js: How to determine cause of server hangs - Stack Overflow
Browsing all 4 articles
Browse latest View live

Answer by Adam Carter for Node.js: How to determine cause of server hangs

Related to OP's issue and solution from my experience:If you are using the mysql library and get a specific connection connection.getConnection(...) you need to remember to release it afterwards...

View Article



Answer by Inn0vative1 for Node.js: How to determine cause of server hangs

In this case it was not actually a Node.js specific issue. I was leaking a database connection in one code path. I learned the hard way, if you exhaust database connections, your Node server will stop...

View Article

Answer by Matt Fernandez for Node.js: How to determine cause of server hangs

A lot of your node server debugging can be done using the following tools. Nodemon is an excellent tool to do debugging because it will display errors just like node but it will also attempt to restart...

View Article

Node.js: How to determine cause of server hangs

I recently started noticing my Node.js app server hanging after a number of requests. After more investigation I narrowed it down to a specific endpoint. After about 30 hits on this endpoint, the...

View Article
Browsing all 4 articles
Browse latest View live




Latest Images