Log total memory in Sidekiq Memory killer
What does this MR do and why?
Adds MemoryTotal to logs when sidekiq memory killer kick in.
We are currently using hard-coded soft limit, specified with ENV variable SIDEKIQ_MEMORY_KILLER_MAX_RSS
, which is configured for each sidekiq shard separately. We could use memory total information to make sidekiq Memory Killer smarter, by calculating the limit automatically (i.e 70% of total memory)
Screenshots or screen recordings
Screenshots are required for UI changes, and strongly recommended for all other merge requests.
How to set up and validate locally
Numbered steps to set up and validate the change are strongly suggested.
MR acceptance checklist
This checklist encourages us to confirm any changes have been analyzed to reduce risks in quality, performance, reliability, security, and maintainability.
-
I have evaluated the MR acceptance checklist for this MR.
Related to: #374755 (closed)
Edited by Nikola Milojevic