Want more timely Centmin Mod News Updates?
Become a Member

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

    44,425
    10,144
    113
    May 24, 2014
    Brisbane, Australia
    Ratings:
    +15,693
    Local Time:
    6:52 AM
    Nginx 1.17.x
    MariaDB 5.5/10.x
    update Nginx, PHP-FPM and MariaDB MySQL command shortcuts for reload

    Continue reading...
     
  2. rdan

    rdan Well-Known Member

    4,940
    1,179
    113
    May 25, 2014
    Ratings:
    +1,785
    Local Time:
    4:52 AM
    Mainline
    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

    44,425
    10,144
    113
    May 24, 2014
    Brisbane, Australia
    Ratings:
    +15,693
    Local Time:
    6:52 AM
    Nginx 1.17.x
    MariaDB 5.5/10.x
    reload is graceful alternate to restart - less impact on visitors - especially busy sites
     
  4. rdan

    rdan Well-Known Member

    4,940
    1,179
    113
    May 25, 2014
    Ratings:
    +1,785
    Local Time:
    4:52 AM
    Mainline
    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

    44,425
    10,144
    113
    May 24, 2014
    Brisbane, Australia
    Ratings:
    +15,693
    Local Time:
    6:52 AM
    Nginx 1.17.x
    MariaDB 5.5/10.x
    Beginner’s Guide

     
  6. rdan

    rdan Well-Known Member

    4,940
    1,179
    113
    May 25, 2014
    Ratings:
    +1,785
    Local Time:
    4:52 AM
    Mainline
    10.2
    So for Nginx, Php upgrade, Why not just use reload instead of restart to minimize downtime? :)
     
  7. eva2000

    eva2000 Administrator Staff Member

    44,425
    10,144
    113
    May 24, 2014
    Brisbane, Australia
    Ratings:
    +15,693
    Local Time:
    6:52 AM
    Nginx 1.17.x
    MariaDB 5.5/10.x
    Some changes you'd want to take effect immediately (restart) rather than wait for old worker processes to finish servicing current requests etc