You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
unattended-upgrades on ocp22 has been failing reporting it is unable to allocate enough memory.
We have temporarily set overcommit_memory = 0 (the default value) to mitigate this.
PostgreSQL recommends overcommit_memory = 2 to help protect the service from accidental termination when memory resources are exhausted, however, this setting limits memory for all process causing issues particularly on smaller servers.
To resolve this we should increase overcommit_ratio from 50% to 90% / 100% allowing user space to access all available memory.
WARNING Memory overcommit must be enabled! Without it, a background save or replication may fail under low memory condition. Being disabled, it can can also cause failures without low memory condition, see jemalloc/jemalloc#1328. To fix this issue add 'vm.overcommit_memory = 1' to /etc/sysctl.conf and then reboot or run the command 'sysctl vm.overcommit_memory=1' for this to take effect.
unattended-upgrades on ocp22 has been failing reporting it is unable to allocate enough memory.
We have temporarily set
overcommit_memory
=0
(the default value) to mitigate this.PostgreSQL recommends
overcommit_memory
=2
to help protect the service from accidental termination when memory resources are exhausted, however, this setting limits memory for all process causing issues particularly on smaller servers.To resolve this we should increase
overcommit_ratio
from 50% to 90% / 100% allowing user space to access all available memory.Further reading:
The text was updated successfully, but these errors were encountered: