-
Notifications
You must be signed in to change notification settings - Fork 71
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
"Interrupted system call" when writing in parallel to stdout #788
Comments
That is surprising. It works on my machine. And it doesn't call Do you have uring blocked somehow? Maybe you're running in a Docker container and it's using eio/lib_eio_posix/low_level.ml Lines 149 to 152 in f195295
eio/lib_eio_posix/low_level.ml Lines 35 to 37 in f195295
|
Actually, I guess this could happen if the uring writev job returned EINTR. Though I don't see why it would do that. |
Does it happen with fewer domains? Assuming it is uring (strace will say), you should be able to trace the completions with a
I get (using 1 domain and a small file to get shorter output):
(the large number of small reads is because you used |
Thanks for looking into this @talex5
No, this is a regular desktop environment. No docker or anything like that Here's the trace
|
It doesn't happen with 1 domain, but it happens with 2 domains |
Hey guys, I've been playing around with Eio and I'm getting this error
Here's the reproduction program. It takes a filename argument and reads the same file in parallel while echoing it to stdout. A ~10KB input file would run into this issue.
My system is Arch Linux with
6.12.1-arch1-1
kernel. My eio version is1.2
I would personally expect a jumbled output on stdout, but an exception is somewhat unexpected
The text was updated successfully, but these errors were encountered: