René's URL Explorer Experiment


Title: HTTP2 server memory explodes and terminated · Issue #52952 · nodejs/node · GitHub

Open Graph Title: HTTP2 server memory explodes and terminated · Issue #52952 · nodejs/node

X Title: HTTP2 server memory explodes and terminated · Issue #52952 · nodejs/node

Description: Version 20.13.0 and later, including latest 22.x Platform Linux hostname 6.5.0-28-generic #29~22.04.1-Ubuntu SMP PREEMPT_DYNAMIC Thu Apr 4 14:39:20 UTC 2 x86_64 x86_64 x86_64 GNU/Linux Subsystem No response What steps will reproduce the ...

Open Graph Description: Version 20.13.0 and later, including latest 22.x Platform Linux hostname 6.5.0-28-generic #29~22.04.1-Ubuntu SMP PREEMPT_DYNAMIC Thu Apr 4 14:39:20 UTC 2 x86_64 x86_64 x86_64 GNU/Linux Subsystem No...

X Description: Version 20.13.0 and later, including latest 22.x Platform Linux hostname 6.5.0-28-generic #29~22.04.1-Ubuntu SMP PREEMPT_DYNAMIC Thu Apr 4 14:39:20 UTC 2 x86_64 x86_64 x86_64 GNU/Linux Subsystem No...

Opengraph URL: https://github.com/nodejs/node/issues/52952

X: @github

direct link

Domain: github.com


Hey, it has json ld scripts:
{"@context":"https://schema.org","@type":"DiscussionForumPosting","headline":"HTTP2 server memory explodes and terminated","articleBody":"### Version\n\n20.13.0 and later, including latest 22.x\n\n### Platform\n\nLinux hostname 6.5.0-28-generic #29~22.04.1-Ubuntu SMP PREEMPT_DYNAMIC Thu Apr  4 14:39:20 UTC 2 x86_64 x86_64 x86_64 GNU/Linux\n\n### Subsystem\n\n_No response_\n\n### What steps will reproduce the bug?\n\nI may need some help to narrow down the problem as it happens sporadically.\r\n\r\nCurrently I only know that it happens after:\r\n\r\n1. A session created.\r\n2. The server `pushStream` to the client (and callback called).\r\n3. The client sends a request to create another stream and the server hangs.\r\n\r\nI have tested with versions 20.10.0, 20.11.0, 20.12.0 and 20.12.1 and there's no problem. But since 20.13.0 the issue appears.\n\n### How often does it reproduce? Is there a required condition?\n\n_No response_\n\n### What is the expected behavior? Why is that the expected behavior?\n\n_No response_\n\n### What do you see instead?\n\nI tried to use `--inspect` and pause on hanging (also the memory usage increases rapidly to several gigabytes and then terminated by OS I think) but no luck.\r\n\r\nAnd tried `--prof` there's part of that looks suspicious:\r\n\r\n```\r\n   ticks parent  name\r\n  27305   70.6%  /usr/bin/node\r\n  24662   90.3%    JS: ^submitRstStream node:internal/http2/core:450:25\r\n  24662  100.0%      JS: ^finishCloseStream node:internal/http2/core:1963:27\r\n  24662  100.0%        JS: ^closeStream node:internal/http2/core:1930:21\r\n  24662  100.0%          JS: ^_destroy node:internal/http2/core:2325:11\r\n  24662  100.0%            JS: ^_destroy node:internal/streams/destroy:90:18\r\n```\r\n\r\nI am not a security guy but at first I thought it's something related to HTTP2 rapid reset attack and spent a whole day debugging towards that. At the end of the day I decided to downgrade Node.js and found out the older version just works.\n\n### Additional information\n\nAlso the HTTP2 server is on internet but generally only used by myself. Though I do saw a Russian IP connecting it periodically and that's also why I thought it was an attack.\r\n\r\nBut it also happens with only my own clients connected.","author":{"url":"https://github.com/vilicvane","@type":"Person","name":"vilicvane"},"datePublished":"2024-05-12T04:27:30Z","url":"https://github.com/nodejs/node/issues/52952"}

react-profiling0
react-import-mapreact,react-dom,react-dom/client,react-dom/profiling,react-is,react-reconciler,react/compiler-runtime,react/jsx-dev-runtime,react/jsx-runtime,scheduler@d5750093facf
route-pattern/_view_fragments/issues/show/:user_id/:repository/:id/issue_layout(.:format)
route-controllervoltron_issues_fragments
route-actionissue_layout
fetch-noncev2:1eeba7d4-8f75-3b39-ec91-831064ea7978
current-catalog-service-hash81bb79d38c15960b92d99bca9288a9108c7a47b18f2423d0f6438c5b7bcd2114
request-id8884:32386D:8B1909:B4DC4A:6AED3737
html-safe-nonce2fd22add192fc5e7564a24e62acb83312bc99bdaef73013a1d6acc73563c51d9
visitor-payloadeyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiI4ODg0OjMyMzg2RDo4QjE5MDk6QjREQzRBOjZBRUQzNzM3IiwidmlzaXRvcl9pZCI6IjY4MjgxODU2NjA5MDk1MDAyMTUiLCJyZWdpb25fZWRnZSI6ImlhZCIsInJlZ2lvbl9yZW5kZXIiOiJpYWQifQ==
visitor-hmac158413f553402e91a1277267d16eb4fe4abefb742e0de86bad8e361b80bd30ed
hovercard-subject-tagissue:2291160966
github-keyboard-shortcutsrepository,issues,copilot
google-site-verificationApib7-x98H0j5cPqHWwSMm6dNU4GmODRoqxLiDzdx9I
octolytics-urlhttps://collector.github.com/github/collect
analytics-location///voltron/issues_fragments/issue_layout
fb:app_id1401488693436528
apple-itunes-appapp-id=1477376905, app-argument=https://github.com/_view_fragments/issues/show/nodejs/node/52952/issue_layout
twitter:imagehttps://opengraph.githubassets.com/2e0ba8a8664036d46bc726fc8ac98f072608338cbf8d2b265c6ce0e3c67574d5/nodejs/node/issues/52952
twitter:cardsummary_large_image
og:imagehttps://opengraph.githubassets.com/2e0ba8a8664036d46bc726fc8ac98f072608338cbf8d2b265c6ce0e3c67574d5/nodejs/node/issues/52952
og:image:altVersion 20.13.0 and later, including latest 22.x Platform Linux hostname 6.5.0-28-generic #29~22.04.1-Ubuntu SMP PREEMPT_DYNAMIC Thu Apr 4 14:39:20 UTC 2 x86_64 x86_64 x86_64 GNU/Linux Subsystem No...
og:image:width1200
og:image:height600
og:site_nameGitHub
og:typeobject
og:author:usernamevilicvane
hostnamegithub.com
expected-hostnamegithub.com
None26c92a9388ddfad3fa88d132b5d5f0b4747030233dcc4e5efb05f1cbae152184
turbo-cache-controlno-preview
go-importgithub.com/nodejs/node git https://github.com/nodejs/node.git
octolytics-dimension-user_id9950313
octolytics-dimension-user_loginnodejs
octolytics-dimension-repository_id27193779
octolytics-dimension-repository_nwonodejs/node
octolytics-dimension-repository_publictrue
octolytics-dimension-repository_is_forkfalse
octolytics-dimension-repository_network_root_id27193779
octolytics-dimension-repository_network_root_nwonodejs/node
turbo-body-classeslogged-out env-production page-responsive
disable-turbofalse
browser-stats-urlhttps://api.github.com/_private/browser/stats
browser-errors-urlhttps://api.github.com/_private/browser/errors
releasec629ad99c254d306375fc8354d04321c2c362236
ui-targetfull
theme-color#1e2327
color-schemelight dark
react-app-nameissues

Links:

Skip to contenthttps://github.com/nodejs/node/issues/52952#start-of-content
https://github.com/
Sign inhttps://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Fnodejs%2Fnode%2Fissues%2F52952
GitHubRepository hosting, code review, and collaborationhttps://github.com/platform
CopilotAI coding agent for tasks, projects, and automated workhttps://github.com/features/copilot
ActionsCI/CD and automationhttps://github.com/features/actions
Code QualityQuality analysis, fixes, and enforcementhttps://github.com/features/code-quality
CodespacesCloud development environmentshttps://github.com/features/codespaces
Code SecurityVulnerability detection and remediationhttps://github.com/security/advanced-security/code-security
Secret ProtectionSecret scanning and leak preventionhttps://github.com/security/advanced-security/secret-protection
All Featureshttps://github.com/features
Documentationhttps://docs.github.com/en
Traininghttps://learn.github.com/skills
Certificationshttps://learn.github.com/credentials
Build with Copilothttps://github.com/features/ai
Customize Copilothttps://docs.github.com/en/copilot/how-tos/copilot-on-github/customize-copilot/customize-copilot-overview
Integrationshttps://github.com/marketplace
Trending reposhttps://github.com/trending
GitHub Sponsorshttps://github.com/open-source/sponsors
Developer articleshttps://github.com/resources/articles
ChangelogYour source for the latest features, improvements, and fixes across GitHub products, all in one place.https://github.blog/changelog/
Enterpriseshttps://github.com/enterprise
Teamhttps://github.com/team
Startupshttps://github.com/enterprise/startups
Nonprofitshttps://github.com/solutions/industry/nonprofits
Healthcarehttps://github.com/solutions/industry/healthcare
Financial serviceshttps://github.com/solutions/industry/financial-services
Manufacturinghttps://github.com/solutions/industry/manufacturing
Governmenthttps://github.com/solutions/industry/government
See all industrieshttps://github.com/solutions/industry
Why GitHubhttps://github.com/why-github
Customer Storieshttps://github.com/customer-stories
Business insightshttps://github.com/solutions/executive-insights
Trust Centerhttps://github.com/trust-center
GitHub Advanced SecurityEnterprise-grade code securityhttps://github.com/security/advanced-security
Copilot for businessEnterprise-grade AI featureshttps://github.com/features/copilot/copilot-business
Premium SupportEnterprise-grade 24/7 supporthttps://github.com/enterprise/premium-support
Documentationhttps://docs.github.com/en
Resource centerhttps://github.com/resources
Bloghttps://github.blog/
Events & webinarshttps://github.com/resources/events
Community Forumhttps://github.com/orgs/community/discussions
Customer Storieshttps://github.com/customer-stories
Integrationshttps://github.com/marketplace
Customer supporthttps://help.github.com/
Traininghttps://learn.github.com/skills
GitHub Statushttps://www.githubstatus.com/
Abouthttps://github.com/about
Partnershttps://github.com/partners
Changeloghttps://github.blog/changelog/
GitHub UniverseThe event for developers, by developers — talks, workshops, and what’s next for GitHub.https://githubuniverse.com/
Pricinghttps://github.com/pricing
Sign inhttps://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Fnodejs%2Fnode%2Fissues%2F52952
Sign uphttps://github.com/signup?ref_cta=Sign+up&ref_loc=header+logged+out&ref_page=%2F%3Cuser-name%3E%2F%3Crepo-name%3E%2Fvoltron%2Fissues_fragments%2Fissue_layout&source=header-repo&source_repo=nodejs%2Fnode
Reloadhttps://github.com/nodejs/node/issues/52952
Reloadhttps://github.com/nodejs/node/issues/52952
Reloadhttps://github.com/nodejs/node/issues/52952
nodejshttps://github.com/nodejs
nodehttps://github.com/nodejs/node
Codehttps://github.com/nodejs/node
Issues656 (656)https://github.com/nodejs/node/issues
Pull requests665 (665)https://github.com/nodejs/node/pulls
Actionshttps://github.com/nodejs/node/actions
Projectshttps://github.com/nodejs/node/projects
Security and qualityhttps://github.com/nodejs/node/security
Insightshttps://github.com/nodejs/node/pulse
https://github.com/nodejs/node
New issuehttps://github.com/login?return_to=https://github.com/nodejs/node/issues/52952
New issuehttps://github.com/login?return_to=https://github.com/nodejs/node/issues/52952
HTTP2 server memory explodes and terminatedhttps://github.com/nodejs/node/issues/52952#top
http2Issues and PRs related to the http2 subsystem.https://github.com/nodejs/node/issues?q=state%3Aopen%20label%3A%22http2%22
https://github.com/vilicvane
vilicvanehttps://github.com/vilicvane
on May 12, 2024https://github.com/nodejs/node/issues/52952#issue-2291160966
#29https://github.com/nodejs/node/pull/29
VoltrexKeyvahttps://github.com/VoltrexKeyva
http2Issues and PRs related to the http2 subsystem.https://github.com/nodejs/node/issues?q=state%3Aopen%20label%3A%22http2%22
on May 12, 2024https://github.com/nodejs/node/issues/52952#event-12779235503
https://github.com/benjamingr
benjamingrhttps://github.com/benjamingr
on May 13, 2024https://github.com/nodejs/node/issues/52952#issuecomment-2107448830
https://github.com/mcollina
mcollinahttps://github.com/mcollina
on May 13, 2024https://github.com/nodejs/node/issues/52952#issuecomment-2107467193
reproducible examplehttps://stackoverflow.com/help/minimal-reproducible-example
https://github.com/mcollina
mcollinahttps://github.com/mcollina
on May 13, 2024https://github.com/nodejs/node/issues/52952#issuecomment-2107470587
3bcd68337ehttps://github.com/nodejs/node/commit/3bcd68337e
#52713https://github.com/nodejs/node/pull/52713
e01015996ahttps://github.com/nodejs/node/commit/e01015996a
#52368https://github.com/nodejs/node/pull/52368
9f88736860https://github.com/nodejs/node/commit/9f88736860
#52081https://github.com/nodejs/node/pull/52081
https://github.com/vilicvane
vilicvanehttps://github.com/vilicvane
on May 13, 2024https://github.com/nodejs/node/issues/52952#issuecomment-2107630141
@mcollinahttps://github.com/mcollina
https://github.com/moish83
moish83https://github.com/moish83
on Dec 29, 2024https://github.com/nodejs/node/issues/52952#issuecomment-2564640863
@vilicvanehttps://github.com/vilicvane
https://github.com/mcollina
mcollinahttps://github.com/mcollina
on Feb 3, 2025https://github.com/nodejs/node/issues/52952#issuecomment-2630463272
@vilicvanehttps://github.com/vilicvane
@moish83https://github.com/moish83
https://github.com/moish83
moish83https://github.com/moish83
on Feb 3, 2025https://github.com/nodejs/node/issues/52952#issuecomment-2630468371
@mcollinahttps://github.com/mcollina
https://github.com/vilicvane
vilicvanehttps://github.com/vilicvane
on Feb 3, 2025https://github.com/nodejs/node/issues/52952#issuecomment-2630478663
@mcollinahttps://github.com/mcollina
https://github.com/mcollina
mcollinahttps://github.com/mcollina
on Mar 21, 2025https://github.com/nodejs/node/issues/52952#issuecomment-2743171238
mcollinahttps://github.com/mcollina
completedhttps://github.com/nodejs/node/issues?q=is%3Aissue%20state%3Aclosed%20archived%3Afalse%20reason%3Acompleted
on Mar 21, 2025https://github.com/nodejs/node/issues/52952#event-16927351203
Sign up for freehttps://github.com/signup?return_to=https://github.com/nodejs/node/issues/52952
Sign in to commenthttps://github.com/login?return_to=https://github.com/nodejs/node/issues/52952
http2Issues and PRs related to the http2 subsystem.https://github.com/nodejs/node/issues?q=state%3Aopen%20label%3A%22http2%22
https://github.com
Termshttps://docs.github.com/site-policy/github-terms/github-terms-of-service
Privacyhttps://docs.github.com/site-policy/privacy-policies/github-privacy-statement
Securityhttps://github.com/security
Statushttps://www.githubstatus.com/
Communityhttps://github.community/
Docshttps://docs.github.com/
Contacthttps://support.github.com?tags=dotcom-footer

Viewport: width=device-width


URLs of crawlers that visited me.