SERVERware RAM usage optimization

NOTE: This should be used to optimize RAM usage only on SERVERware 3 versions >= 3.1


Transparent huge pages kernel feature in SERVERware 3 is set to "madvise" by default and in some cases, this can cause high memory usage. To prevent this from happening, Administrators can turn this option off in config files while the server is running(reboot not required).

How to turn of Transparent huge pages :

Use SSH to connect to your SERVERware host,

to turn THP OFF issue this command first :

echo never  >  /sys/kernel/mm/transparent_hugepage/enabled

After this THP option will be OFF.

To prevent it from turning ON after reboot we have to modify "/etc/default/grub" with your favorite editor and change the boot parameter as described below

from

transparent_hugepage=madvise

to

transparent_hugepage=never

To populate all changes in this file you need to regenerate your grub configuration file afterward with the command:

grub2-mkconfig -o /boot/grub/grub.cfg

One must do this for every host separately.