Welcome to Centmin Mod Community
Become a Member

Beta Branch fix cminfo lfd load alert package installs and nginx/php-fpm restart …

Discussion in 'Centmin Mod Github Commits' started by eva2000, Nov 18, 2026 at 12:54 PM.

  1. eva2000

    eva2000 Administrator Staff Member

    60,460
    12,614
    113
    May 24, 2014
    Brisbane, Australia
    Ratings:
    +19,273
    Local Time:
    1:50 AM
    Nginx 1.31.x
    MariaDB 10.x/11.4+/12.3+
    fix cminfo lfd load alert package installs and nginx/php-fpm restart in 140.00beta01

    When CSF lfd PT_LOAD_ACTION runs /etc/csf/load.sh during a load spike,
    cminfo installed missing packages, ran its updater and crontab setup,
    enabled the phpstatus.conf include in virtual.conf and restarted nginx
    and php-fpm via nprestart.


    Changes:
    - run cminfo read-only when called as cminfo top/netstat load or from
    /etc/csf/load.sh, which also covers older load.sh copies that call
    cminfo without the load argument
    - skip yum/wget tool installs, mytop download, cminfo_updater and
    crontab setup and the percona-toolkit install in read-only mode
    - never enable phpstatus.conf from the load alert; report php-fpm
    memory stats and a skipped note instead
    - manual cminfo top enables phpstatus.conf with nginx -t and an nginx
    reload instead of restarting nginx and php-fpm, and reverts the edit
    if nginx -t fails

    Continue reading...

    140.00beta01 branch