Join the community today
Register Now

Beta Branch update Nginx, PHP-FPM and MariaDB MySQL command shortcuts for reload

Discussion in 'Centmin Mod Github Commits' started by eva2000, Jul 13, 2014.

  1. eva2000

    eva2000 Administrator Staff Member

    30,968
    6,919
    113
    May 24, 2014
    Brisbane, Australia
    Ratings:
    +10,422
    Local Time:
    8:21 AM
    Nginx 1.13.x
    MariaDB 5.5
    update Nginx, PHP-FPM and MariaDB MySQL command shortcuts for reload

    Continue reading...
     
  2. RoldanLT

    RoldanLT Well-Known Member

    3,979
    966
    113
    May 25, 2014
    Phillipines
    Ratings:
    +1,331
    Local Time:
    6:21 AM
    1.11
    10.2
    Does reload command can be also use to apply my nginx config modification? Or it is necessary to restart?
     
  3. eva2000

    eva2000 Administrator Staff Member

    30,968
    6,919
    113
    May 24, 2014
    Brisbane, Australia
    Ratings:
    +10,422
    Local Time:
    8:21 AM
    Nginx 1.13.x
    MariaDB 5.5
    reload is graceful alternate to restart - less impact on visitors - especially busy sites
     
    • Like Like x 1
  4. RoldanLT

    RoldanLT Well-Known Member

    3,979
    966
    113
    May 25, 2014
    Phillipines
    Ratings:
    +1,331
    Local Time:
    6:21 AM
    1.11
    10.2
    So when I apply something on my domain vhost, nginx.conf
    service nginx reload will apply my changes also just like service nginx restart right?
     
  5. eva2000

    eva2000 Administrator Staff Member

    30,968
    6,919
    113
    May 24, 2014
    Brisbane, Australia
    Ratings:
    +10,422
    Local Time:
    8:21 AM
    Nginx 1.13.x
    MariaDB 5.5
    Beginner’s Guide

     
    • Like Like x 1
  6. RoldanLT

    RoldanLT Well-Known Member

    3,979
    966
    113
    May 25, 2014
    Phillipines
    Ratings:
    +1,331
    Local Time:
    6:21 AM
    1.11
    10.2
    So for Nginx, Php upgrade, Why not just use reload instead of restart to minimize downtime? :)
     
  7. eva2000

    eva2000 Administrator Staff Member

    30,968
    6,919
    113
    May 24, 2014
    Brisbane, Australia
    Ratings:
    +10,422
    Local Time:
    8:21 AM
    Nginx 1.13.x
    MariaDB 5.5
    Some changes you'd want to take effect immediately (restart) rather than wait for old worker processes to finish servicing current requests etc
     
    • Like Like x 1