Learn about Centmin Mod LEMP Stack today
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

    49,039
    11,235
    113
    May 24, 2014
    Brisbane, Australia
    Ratings:
    +17,488
    Local Time:
    11:34 AM
    Nginx 1.21.x
    MariaDB 10.x
    update Nginx, PHP-FPM and MariaDB MySQL command shortcuts for reload


    Continue reading...
     
  2. rdan

    rdan Premium Member Premium Member

    5,301
    1,328
    113
    May 25, 2014
    Ratings:
    +2,052
    Local Time:
    9:34 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

    49,039
    11,235
    113
    May 24, 2014
    Brisbane, Australia
    Ratings:
    +17,488
    Local Time:
    11:34 AM
    Nginx 1.21.x
    MariaDB 10.x
    reload is graceful alternate to restart - less impact on visitors - especially busy sites
     
  4. rdan

    rdan Premium Member Premium Member

    5,301
    1,328
    113
    May 25, 2014
    Ratings:
    +2,052
    Local Time:
    9:34 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

    49,039
    11,235
    113
    May 24, 2014
    Brisbane, Australia
    Ratings:
    +17,488
    Local Time:
    11:34 AM
    Nginx 1.21.x
    MariaDB 10.x
    Beginner’s Guide

     
  6. rdan

    rdan Premium Member Premium Member

    5,301
    1,328
    113
    May 25, 2014
    Ratings:
    +2,052
    Local Time:
    9:34 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

    49,039
    11,235
    113
    May 24, 2014
    Brisbane, Australia
    Ratings:
    +17,488
    Local Time:
    11:34 AM
    Nginx 1.21.x
    MariaDB 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