Skip to content

logger_olp: hibernate when idle#11024

Open
mkuratczyk wants to merge 1 commit into
erlang:masterfrom
mkuratczyk:hibernate-logger_olp
Open

logger_olp: hibernate when idle#11024
mkuratczyk wants to merge 1 commit into
erlang:masterfrom
mkuratczyk:hibernate-logger_olp

Conversation

@mkuratczyk
Copy link
Copy Markdown
Contributor

After a burst of activity, the process (eg. logger_proxy) could stay with a large heap for a long time.

We had a situation (using OTP 28.4.2) where a large process crashed and the logger_proxy spiked to over 10GB, then went down to a few GB but stayed there, because there was no further logging activity, and therefore no GC. Hibernating when idle seems like an easy way to avoid such situations.

While here, avoid some temporary map creations to create a bit less garbage.

After a burst of activity, the process (eg. logger_proxy)
could stay with a large heap for a long time.

While here, produce a bit less garbage in the first place.
@github-actions
Copy link
Copy Markdown
Contributor

github-actions Bot commented Apr 16, 2026

CT Test Results

    2 files     74 suites   1h 10m 39s ⏱️
1 795 tests 1 376 ✅ 418 💤 1 ❌
2 047 runs  1 570 ✅ 476 💤 1 ❌

For more details on these failures, see this check.

Results for commit b7b743c.

♻️ 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

@jhogberg jhogberg added the team:VM Assigned to OTP team VM label Apr 20, 2026
@jhogberg jhogberg added this to the 30.0 milestone Apr 20, 2026
@jhogberg jhogberg added the stalled waiting for input by the Erlang/OTP team label Apr 20, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

stalled waiting for input by the Erlang/OTP team team:VM Assigned to OTP team VM

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants