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
Failing to read from IO::Pipe fast enough, apparently loses data #6159
Comments
From @zoffixznet zoffix@VirtualBox:~$ perl6 -e '$ = shell(:out, "yes | head -n 100000").out.lines' This is Rakudo version 2017.02-186-g9da6de4 built on MoarVM version 2017.02-18-g5f9d698 Note that the same error doesn't happen with head -n 60000, suggesting it's some sort of buffer sized to 65536. Adjusting RAKUDO_DEFAULT_READ_ELEMS doesn't solve it. Unsure if this is meant to be this way or not. I'd expect no write errors to happen or for Perl 6 to complain about it. If this is normal, then at least it should be documented as a caveat. |
From @geekosaurNote that 65535 is the POSIX-specified minimum largest write size that is ("Connection reset by peer" is an odd error for this, which is part of why On Mon, Mar 20, 2017 at 1:36 PM, Zoffix Znet <perl6-bugs-followup@perl.org>
-- |
The RT System itself - Status changed from 'new' to 'open' |
Migrated from rt.perl.org#131026 (status was 'open')
Searchable as RT131026$
The text was updated successfully, but these errors were encountered: