Skip to content

ssl: Save supervisor memory#10957

Open
dgud wants to merge 1 commit intoerlang:maintfrom
dgud:dgud/ssl/move-options/OTP-19967
Open

ssl: Save supervisor memory#10957
dgud wants to merge 1 commit intoerlang:maintfrom
dgud:dgud/ssl/move-options/OTP-19967

Conversation

@dgud
Copy link
Copy Markdown
Contributor

@dgud dgud commented Apr 1, 2026

Do not start the socket handling processes with the args including the user options, send them to the process afterwards.

Otherwise the supervisor will store the "unused" options in its state, which can be quite large, which may include a lot of certs and keys.

@dgud dgud self-assigned this Apr 1, 2026
@dgud dgud added the team:PS Assigned to OTP team PS label Apr 1, 2026
@dgud dgud requested a review from IngelaAndin April 1, 2026 14:11
@github-actions
Copy link
Copy Markdown
Contributor

github-actions bot commented Apr 1, 2026

CT Test Results

    2 files     66 suites   27m 34s ⏱️
  822 tests   774 ✅  46 💤 2 ❌
4 296 runs  3 333 ✅ 961 💤 2 ❌

For more details on these failures, see this check.

Results for commit 2874863.

♻️ This comment has been updated with latest results.

To speed up review, make sure that you have read Contributing to Erlang/OTP and that all checks pass.

See the TESTING and DEVELOPMENT HowTo guides for details about how to run test locally.

Artifacts

// Erlang/OTP Github Action Bot

@dgud dgud force-pushed the dgud/ssl/move-options/OTP-19967 branch from 1d83139 to 86d962b Compare April 7, 2026 11:25
@dgud dgud requested a review from IngelaAndin April 7, 2026 11:30
Do not start the socket handling processes with the args including the
user options, send them to the process afterwards.

Otherwise the supervisor will store the "unused" options in its state,
which can be quite large, which may include a lot of certs and keys.
@dgud dgud force-pushed the dgud/ssl/move-options/OTP-19967 branch from 86d962b to 2874863 Compare April 8, 2026 09:53
@dgud
Copy link
Copy Markdown
Contributor Author

dgud commented Apr 8, 2026

Removed the monitor, not needed. And Renamed Parent to ConnSup

@dgud dgud requested a review from IngelaAndin April 8, 2026 10:12
@dgud dgud added the testing currently being tested, tag is used by OTP internal CI label Apr 8, 2026
Copy link
Copy Markdown
Contributor

@IngelaAndin IngelaAndin left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Yes I think this looks good now, and after renaming my misunderstanding of the solution is cleared up .

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

team:PS Assigned to OTP team PS testing currently being tested, tag is used by OTP internal CI

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants