Welcome to Centmin Mod Community
Register Now

Master Branch update optional MARIADB_JEMALLOC variable routine in 123.09beta01

Discussion in 'Centmin Mod Github Commits' started by eva2000, Jun 13, 2021.

  1. eva2000

    eva2000 Administrator Staff Member

    58,893
    12,490
    113
    May 24, 2014
    Brisbane, Australia
    Ratings:
    +19,122
    Local Time:
    9:09 AM
    Nginx 1.31.x
    MariaDB 10.x/11.4+/12.3+
    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...

    Centmin Mod Github Master branch

    Master branch is where most recent commits are made as at May 24, 2015.