I didn't write this, but this is how we detect when the event loop is getting blocked.
var lastLoop = Date.now(); function monitorEventLoop() { var time = Date.now(); if (time - lastLoop > 1000) console.error('Event loop blocked ' + (time - lastLoop)); lastLoop = time; setTimeout(monitorEventLoop, 200); } monitorEventLoop(); When it's blocked, we can check the logs to see what was getting called that may be the culprit. It hasn't been hard to figure out from there. -- Job Board: http://jobs.nodejs.org/ Posting guidelines: https://github.com/joyent/node/wiki/Mailing-List-Posting-Guidelines You received this message because you are subscribed to the Google Groups "nodejs" group. To post to this group, send email to nodejs@googlegroups.com To unsubscribe from this group, send email to nodejs+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/nodejs?hl=en?hl=en