Skip to content

fix: use jemalloc in production images to curb Sidekiq RSS growth - #740

Merged
b0ink merged 1 commit into
doubtfire-lms:11.1.xfrom
b0ink:fix/sidekiq-jemalloc
Oct 27, 2026
Merged

b0ink merged 1 commit into
doubtfire-lms:11.1.xfrom
b0ink:fix/sidekiq-jemalloc

Conversation

@b0ink

@b0ink b0ink commented Oct 27, 2026

Copy link
Copy Markdown
Member

No description provided.

Install libjemalloc2 and preload it in deployAppSvr and deployApi images.
glibc malloc fragments across Puma/Sidekiq thread arenas and never returns
the memory, letting Sidekiq RSS ratchet past 1GB over a day.
@sonarqubecloud

Copy link
Copy Markdown

@b0ink
b0ink merged commit 08251e1 into doubtfire-lms:11.1.x Oct 27, 2026
3 checks passed
b0ink added a commit that referenced this pull request Oct 27, 2026
Install libjemalloc2 and preload it in deployAppSvr and deployApi images.
glibc malloc fragments across Puma/Sidekiq thread arenas and never returns
the memory, letting Sidekiq RSS ratchet past 1GB over a day.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant