-
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
http/2 process throws SIGABRT error when downloading big files using multiple streams #29393
Comments
Duplicate of #29353 |
mscdex
added
the
duplicate
Issues and PRs that are duplicates of other issues or PRs.
label
Sep 1, 2019
Thank you for the reproduction though, this bug report seems much easier to work with. |
@addaleax |
addaleax
added a commit
to addaleax/node
that referenced
this issue
Sep 1, 2019
Don’t start reading more input data if we’re still busy writing output. This was overlooked in 8a4a193. Fixes: nodejs#29353 Fixes: nodejs#29393
3 tasks
addaleax
added a commit
that referenced
this issue
Sep 4, 2019
Don’t start reading more input data if we’re still busy writing output. This was overlooked in 8a4a193. Fixes: #29353 Fixes: #29393 PR-URL: #29399 Reviewed-By: David Carlier <devnexen@gmail.com> Reviewed-By: Colin Ihrig <cjihrig@gmail.com> Reviewed-By: James M Snell <jasnell@gmail.com> Reviewed-By: Matteo Collina <matteo.collina@gmail.com>
addaleax
added a commit
to addaleax/node
that referenced
this issue
Sep 19, 2019
Don’t start reading more input data if we’re still busy writing output. This was overlooked in 8a4a193. Fixes: nodejs#29353 Fixes: nodejs#29393 PR-URL: nodejs#29399 Reviewed-By: David Carlier <devnexen@gmail.com> Reviewed-By: Colin Ihrig <cjihrig@gmail.com> Reviewed-By: James M Snell <jasnell@gmail.com> Reviewed-By: Matteo Collina <matteo.collina@gmail.com>
addaleax
added a commit
to addaleax/node
that referenced
this issue
Sep 19, 2019
Don’t start reading more input data if we’re still busy writing output. This was overlooked in 8a4a193. Fixes: nodejs#29353 Fixes: nodejs#29393 PR-URL: nodejs#29399 Reviewed-By: David Carlier <devnexen@gmail.com> Reviewed-By: Colin Ihrig <cjihrig@gmail.com> Reviewed-By: James M Snell <jasnell@gmail.com> Reviewed-By: Matteo Collina <matteo.collina@gmail.com>
targos
pushed a commit
that referenced
this issue
Sep 20, 2019
Don’t start reading more input data if we’re still busy writing output. This was overlooked in 8a4a193. Fixes: #29353 Fixes: #29393 PR-URL: #29399 Reviewed-By: David Carlier <devnexen@gmail.com> Reviewed-By: Colin Ihrig <cjihrig@gmail.com> Reviewed-By: James M Snell <jasnell@gmail.com> Reviewed-By: Matteo Collina <matteo.collina@gmail.com>
BethGriggs
pushed a commit
that referenced
this issue
Sep 25, 2019
Don’t start reading more input data if we’re still busy writing output. This was overlooked in 8a4a193. Fixes: #29353 Fixes: #29393 PR-URL: #29399 Backport-PR-URL: #29618 Reviewed-By: David Carlier <devnexen@gmail.com> Reviewed-By: Colin Ihrig <cjihrig@gmail.com> Reviewed-By: James M Snell <jasnell@gmail.com> Reviewed-By: Matteo Collina <matteo.collina@gmail.com>
BethGriggs
pushed a commit
that referenced
this issue
Oct 1, 2019
Don’t start reading more input data if we’re still busy writing output. This was overlooked in 8a4a193. Fixes: #29353 Fixes: #29393 PR-URL: #29399 Backport-PR-URL: #29619 Reviewed-By: David Carlier <devnexen@gmail.com> Reviewed-By: Colin Ihrig <cjihrig@gmail.com> Reviewed-By: James M Snell <jasnell@gmail.com> Reviewed-By: Matteo Collina <matteo.collina@gmail.com>
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Hey,
I've tried to create a simple client-server app using http/2, which needs to transfer directories.
So I started with simple directories, that contains about 10-20 files, then moved to directories containing lots of files 100K, 200K, etc. all of the file we're pretty small (~ 1KB). That worked well…
Then, I've tried to test the performance on larger files, about 300 files, 1GB each. But I got errors, and I have no idea why.
Code is here:
https://github.com/Rantoledo/http2_nodejs_client_server_example2.git
When I set concurrency to 300, all files are downloaded, but I get a SIGABRT error at the end:
When I set the concurrency to something less than 300, say 200, after coping 200 files, I get an 'error code NGHTTP2_ENHANCE_YOUR_CALM' error, 'error code NGHTTP2_INTERNAL_ERROR' and also SIGABRT error.
More info:
1. When I deployed the server with 'createServer' that worked…
2. I don't think this is an error of closed/opened file, or streams, or session, because I added listeners, and tried to debug it, and didn't notice any stream hanging there for no reason (maybe I'm wrong).
3. I've tried to set the max session memory variable to 10000, but still had the same results. BTW the documentation doesn't really explain how this variable works. I don't think that's the problem.
I think something is wrong with resources management (because of the SIGABRT) - if so I think that's an important bug to fix because http2 is great and has a big advantage using multiple streams on one session.
The text was updated successfully, but these errors were encountered: