-
Notifications
You must be signed in to change notification settings - Fork 30.1k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
cat: write error: Resource temporarily unavailable #19838
Comments
@tomaszhlawiczka I think this is happening because you use the same pipe end for the I can’t be for sure because it doesn’t reproduce locally, but does it help if you add |
@addaleax thanks for reply!
Thanks! |
link #18446 |
It turns out that the issue should be addressed by This bug is such an evil: who knows, writing pipe lines, which app sets |
Hm, actually – what libuv does for TTYs is calling Maybe we should do the same thing for pipes? /cc @nodejs/libuv |
Node.js creates a |
This issue has been resolved via #20592 and I have verified with the supplied test programs.
produced the error: a hundred times in thousand iterations, but with the fix none. Closing this, fix will be mostly available in the next current release. |
#20592 was reverted in master, so re-opening this. |
I'm going to close this out given that it seems this might've gotten fixed again in another PR, and even if not there's not much progress here. |
FWIW, #24260 is the rework. |
v6.11.5
Linux blade9 4.12.12-gentoo #2 SMP Tue Nov 21 19:16:19 CET 2017 x86_64 Intel(R) Xeon(R) CPU E5450 @ 3.00GHz GenuineIntel GNU/Linux
Problem is related to the following issue: nodejs/node-v0.x-archive#3027
Steps to reproduce with
uglifyjs
(2.4.10) - an error occurs randomly:Gets some JS files:
Call
uglifyjs
and try to capture the output:Workaround using
mktemp
:Do you know a better way to make those pipes work?
The text was updated successfully, but these errors were encountered: