nodejs process hang #5018
Replies: 0 comments 7 replies
|
Can you |
|
Okay, so I can kind of tell you what's going on. The stuck process is trying to log to stdout, probably using stdout is a UNIX socket and seemingly its pipe is full (probably because the other end isn't reading) because the write gets stuck. By the way, if you add |
Thank you for your brilliant suggestion and currently we have found that the log did stop at |
|
To get answers to your questions you'll have to find out who owns the other end of the UNIX socket - maybe a process manager like pm2? - and why it isn't reading. All signs so far point to it not being an issue with node itself. edit: I'll convert this to a discussion in the mean time. |





Can you
strace -yy -p <pid>the hanging process? That should hopefully tell the kind of file descriptor it's blocking on.