• Our team is looking to connect with folks who use email services provided by Plesk, or a premium service. If you'd like to be part of the discovery process and share your experiences, we invite you to complete this short screening survey. If your responses match the persona we are looking for, you'll receive a link to schedule a call at your convenience. We look forward to hearing from you!
  • We are looking for U.S.-based freelancer or agency working with SEO or WordPress for a quick 30-min interviews to gather feedback on XOVI, a successful German SEO tool we’re looking to launch in the U.S.
    If you qualify and participate, you’ll receive a $30 Amazon gift card as a thank-you. Please apply here. Thanks for helping shape a better SEO product for agencies!
  • The BIND DNS server has already been deprecated and removed from Plesk for Windows.
    If a Plesk for Windows server is still using BIND, the upgrade to Plesk Obsidian 18.0.70 will be unavailable until the administrator switches the DNS server to Microsoft DNS. We strongly recommend transitioning to Microsoft DNS within the next 6 weeks, before the Plesk 18.0.70 release.
  • The Horde component is removed from Plesk Installer. We recommend switching to another webmail software supported in Plesk.

Question Redis - Persistence of memory overcommit + hugepages

Servus

Basic Pleskian
Hi @ everyone,
I refer to the great Redis tutorial by @IgorG. My environment is Ubuntu 16.04.4 on kernel 4.4.0-116-generic #140 (32G RAM). Followed Igors suggestion (not for the first time :)), but this time I wanted to fix the problem that the two changes are set back to default after reboot.
With this tutorial I was able to fix persistence of transparent_hugepages:
Code:
# apt install sysfsutils
then added the line
kernel/mm/transparent_hugepage/enabled = never
in /etc/sysfs.conf
After reboot it was persistent:
Code:
~# cat /sys/kernel/mm/transparent_hugepage/enabled
always madvise [never]

My question now is: How to make memory overcommit also persistent?
I was surprised finding no trusted and suitable instructions on Internet to do this.
Is it possible to add also a line to /etc/sysfs.conf?

vm.overcommit_memory = 1


Pease, could you tell me the exact syntax if it isn't like in the line above?

Help would be great. Thx
 
Last edited:
install the sysfsutils package:
# apt install sysfsutils
and append the lines with that setting to /etc/sysfs.conf:
kernel/mm/transparent_hugepage/enabled = never
vm.overcommit_memory = 1
net.core.somaxconn = 65535
 
Back
Top