-
Notifications
You must be signed in to change notification settings - Fork 7.3k
v 0.10.13 do not work #5911
Comments
Um, can you be more specific? What does 'once process do not work' mean exactly? You mean it hangs in the write() syscall? |
Yes, write() isn't return. |
Okay, can you provide me with more details? Do you have a test case that reproduces it? What does |
it need 12 hours to reproduct it...
|
What was the last version of Node where this error did not occur? Has anything else changed since the error started to occur? |
Also I would like more information about your environment. How many times has the issue reproduced at our around 12 hours running? What type/size of information are your writing? |
When I use v0.8.0 replace of v.10.13,the problem Problem no longer occurs! Why? |
There could be many reasons for it. Can you please post results of |
strace -p show follow
|
That's not strace output... the stack trace suggests it's trying to write to a UNIX domain socket. It's not really possible for that to block indefinitely (barring kernel bugs) because node.js puts all file descriptors into non-blocking mode. In gdb, can you execute the following two commands?
Please post the output here. There is a fd field in the io_watcher sub-struct. What value does it have and what does I'm somewhat disinclined to believe that the bug is in node.js. The fact that you're using native add-ons who might be doing $DEITY knows what doesn't help. If you can remove them from the equation, that would be great. |
I have the same problem.
and
|
@mond03cn Have you resolved the problem? |
fd is 1, a.k.a stdout, and it refers to a pipe, so it may be blocking, i guess. |
The problem is why main thread hang infinitely and |
Could you please run an @halfblood369 are you piping data to another process? Seems like the other process isn't reading from the pipe and it becomes full. |
Yes, the blocked process is another process's child, the code is:
|
So, I'd rather look at that process to see why it isn't reading. We are going to make stdio writes non-blocking, but that won't happen in v0.12 . I'll consider this a duplicate of #2598 for now. |
After a day running,one process do not work,and console the following:
What is the problem?
The text was updated successfully, but these errors were encountered: