• The new Python extension is now available. It allows customers to deploy and manage WSGI-based Python applications on their websites directly from Plesk.
  • The Plesk Mobile apps for iOS and Android and the Plesk Mobile Center extension have been deprecated, and are no longer available for new installations. In Plesk Obsidian 18.0.84, the Plesk Mobile Center extension will be removed from servers during the upgrade, and the Plesk Mobile apps will lose their server management features.
  • The Social Login extension has been deprecated and will be removed in Plesk Obsidian 18.0.84. After that, it will no longer be possible to log in to Plesk with a Google, Facebook, GitHub account, or with a passkey. Plesk usernames and passwords, as well as logging in with a WebPros Account, are not affected.

Question Docker Redis overcommit_memory and Transparent Huge Pages

lucflash

New Pleskian
Hey guys,

i would like to start multiple Redis Servers for a Magento Project (Session + Cache) and we are using the prebuild docker images for that.
We have tried the "official" Redis Image in Version 5.0.12 and 6.0.12 and also the popular bitnami/redis. We always get these two main problems on startup:

WARNING overcommit_memory is set to 0! Background save may fail under low memory condition. 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.
WARNING you have Transparent Huge Pages (THP) support enabled in your kernel. This will create latency and memory usage issues with Redis. To fix this issue run the command 'echo never > /sys/kernel/mm/transparent_hugepage/enabled' as root, and add it to your /etc/rc.local in order to retain the setting after a reboot. Redis must be restarted after THP is disabled.

In the end, the redis server stopped working by "MISCONF Redis is configured to save RDB snapshots" problem.
How can we implement such fixes? i know about the possibility to login on cli by
docker exec -it xxxxyyyyzzzz bash
but here i have no root permissions and docker says we are on a read-only filesystem.
Is there anything i am missing out?
Thanks for your help in advanced
 
Back
Top