Welcome to Centmin Mod Community
Become a Member

Beta Branch update optional MARIADB_JEMALLOC variable routine in 123.09beta01

Discussion in 'Centmin Mod Github Commits' started by eva2000, May 18, 2021.

  1. eva2000

    eva2000 Administrator Staff Member

    May 24, 2014
    Brisbane, Australia
    Local Time:
    7:59 PM
    Nginx 1.19.x
    MariaDB 5.5/10.x
    update optional MARIADB_JEMALLOC variable routine in 123.09beta01

    - rework optional MARIADB_JEMALLOC='y' variable routines and scripts to only apply to MariaDB 10.4, 10.5, 10.6 to control MariaDB's memory management method as only those versions have switched back to using system glibc memory allocator out of the box default. MariaDB 10.3 and below already used jemalloc memory allocator by default
    - default is set to MARIADB_JEMALLOC='n' which you can override via MARIADB_JEMALLOC='y' set in persistent config file /etc/centminmod/custom_config.inc and then run centmin.sh menu to trigger the routine
    - If you set it back to MARIADB_JEMALLOC='n', then run centmin.sh menu it will revert back to system default memory allocator usage for MariaDB 10.4+ and above
    - Also update same routines in tools/mariadb-jemalloc.sh which is a standalone script to switch MariaDB 10.4+ from system glibc to jemalloc and also add option to script for switch-back to revert back to system glibc memory allocator

    Continue reading...

    123.09beta01 branch