FazBrowse GitHub Viewer | Trending |
URL:
| Home
Tools: [Download Repo ZIP]   [Original HTTPS Page]

child_process: fix memory leak in .fork() by bnoordhuis · Pull Request #15679 · nodejs/node · GitHub

/ node Public

child_process: fix memory leak in .fork() - #15679

Closed
bnoordhuis wants to merge 1 commit into
nodejs:masterfrom
bnoordhuis:fix15651
Closed

child_process: fix memory leak in .fork()#15679
bnoordhuis wants to merge 1 commit into
nodejs:masterfrom
bnoordhuis:fix15651

Conversation

bnoordhuis commented Sep 29, 2017
edited
Loading

Copy link
Copy Markdown
Member

Entries in the net.Server#_workers array that is used to track handles
sent from the master to workers were not deleted when a worker exited,
resulting in a slow but inexorable memory leak.

Fixes: #15651
CI: https://ci.nodejs.org/job/node-test-pull-request/10332/

Entries in the `net.Server#_workers` array that is used to track handles
sent from the master to workers were not deleted when a worker exited,
resulting in a slow but inexorable memory leak.

Fixes: nodejs#15651
nodejs-github-bot added the net Issues and PRs related to the net subsystem. label Sep 29, 2017
jasnell pushed a commit that referenced this pull request Oct 1, 2017
Entries in the `net.Server#_workers` array that is used to track handles
sent from the master to workers were not deleted when a worker exited,
resulting in a slow but inexorable memory leak.

PR-URL: #15679
Fixes: #15651
Reviewed-By: James M Snell <jasnell@gmail.com>
Reviewed-By: Luigi Pinca <luigipinca@gmail.com>

jasnell commented Oct 1, 2017

Copy link
Copy Markdown
Member

Landed in 2e59ec0

jasnell closed this Oct 1, 2017

Copy link
Copy Markdown
Contributor

This doesn't land cleanly in v8.x. Could you please backport? Also feel free to let me know if another PR is blocking this

addaleax pushed a commit to addaleax/ayo that referenced this pull request Oct 4, 2017
Entries in the `net.Server#_workers` array that is used to track handles
sent from the master to workers were not deleted when a worker exited,
resulting in a slow but inexorable memory leak.

PR-URL: nodejs/node#15679
Fixes: nodejs/node#15651
Reviewed-By: James M Snell <jasnell@gmail.com>
Reviewed-By: Luigi Pinca <luigipinca@gmail.com>
bnoordhuis added a commit to bnoordhuis/io.js that referenced this pull request Oct 29, 2017
Entries in the `net.Server#_slaves` array that is used to track handles
sent from the master to workers were not deleted when a worker exited,
resulting in a slow but inexorable memory leak.

PR-URL: nodejs#15679
Fixes: nodejs#15651
Reviewed-By: James M Snell <jasnell@gmail.com>
Reviewed-By: Luigi Pinca <luigipinca@gmail.com>
bnoordhuis deleted the fix15651 branch October 29, 2017 11:10

Copy link
Copy Markdown
Member Author

v8.x: #16586

gibfahn pushed a commit that referenced this pull request Oct 30, 2017
Entries in the `net.Server#_slaves` array that is used to track handles
sent from the master to workers were not deleted when a worker exited,
resulting in a slow but inexorable memory leak.

PR-URL: #15679
Backport-PR-URL: #16586
Fixes: #15651
Reviewed-By: James M Snell <jasnell@gmail.com>
Reviewed-By: Luigi Pinca <luigipinca@gmail.com>
gibfahn pushed a commit that referenced this pull request Oct 31, 2017
Entries in the `net.Server#_slaves` array that is used to track handles
sent from the master to workers were not deleted when a worker exited,
resulting in a slow but inexorable memory leak.

PR-URL: #15679
Backport-PR-URL: #16586
Fixes: #15651
Reviewed-By: James M Snell <jasnell@gmail.com>
Reviewed-By: Luigi Pinca <luigipinca@gmail.com>
gibfahn mentioned this pull request Oct 31, 2017

Copy link
Copy Markdown
Contributor

Should this be backported to v6.x-staging? If yes please follow the guide and raise a backport PR, if not let me know or add the dont-land-on label.

This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode characters
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

net Issues and PRs related to the net subsystem.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

5 participants


Back | FazBrowse Home | New Git URL