Want to subscribe to topics you're interested in?
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

    48,515
    11,114
    113
    May 24, 2014
    Brisbane, Australia
    Ratings:
    +17,304
    Local Time:
    4:20 PM
    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,235
    1,307
    113
    May 25, 2014
    Ratings:
    +2,012
    Local Time:
    2:20 PM
    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

    48,515
    11,114
    113
    May 24, 2014
    Brisbane, Australia
    Ratings:
    +17,304
    Local Time:
    4:20 PM
    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,235
    1,307
    113
    May 25, 2014
    Ratings:
    +2,012
    Local Time:
    2:20 PM
    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

    48,515
    11,114
    113
    May 24, 2014
    Brisbane, Australia
    Ratings:
    +17,304
    Local Time:
    4:20 PM
    Nginx 1.21.x
    MariaDB 10.x
    Beginner’s Guide

     
  6. rdan

    rdan Premium Member Premium Member

    5,235
    1,307
    113
    May 25, 2014
    Ratings:
    +2,012
    Local Time:
    2:20 PM
    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

    48,515
    11,114
    113
    May 24, 2014
    Brisbane, Australia
    Ratings:
    +17,304
    Local Time:
    4:20 PM
    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