Hi Group We're running nodejs as a frontend for several backend services to dispatch incoming requests and process and return results from the backend services. We're processing around 20 requests / second.
Sometimes, we observe that the execution thread stalls. Stalls are detected by a simple setInterval function that is called regularly and logs a complaint if actual time elapsed is greater than the expected elapsed time. I have attached a histogram of the distribution of stall delays - it may provide a clue. We THINK that the stalls are somehow socket-related, but we haven't been able to recreate this reliably (or tweak os-level or user-level socket parameters that make the problem go away). So I'd like to ask the group two questions: 1. Is anyone else running into similar behavior? 2. Can anyone provide pointers for how to find out exactly where (which function call) nodejs is stalled? Thanks, /Martin Koch -- 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 [email protected] To unsubscribe from this group, send email to [email protected] For more options, visit this group at http://groups.google.com/group/nodejs?hl=en?hl=en
<<attachment: Screen shot 2012-04-17 at 9.42.30 AM.png>>
