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

    36,905
    8,074
    113
    May 24, 2014
    Brisbane, Australia
    Ratings:
    +12,436
    Local Time:
    10:06 AM
    Nginx 1.15.x
    MariaDB 5.5/10.x
    update Nginx, PHP-FPM and MariaDB MySQL command shortcuts for reload

    Continue reading...
     
  2. rdan

    rdan Premium Member Premium Member

    4,367
    1,053
    113
    May 25, 2014
    Ratings:
    +1,524
    Local Time:
    8:06 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

    36,905
    8,074
    113
    May 24, 2014
    Brisbane, Australia
    Ratings:
    +12,436
    Local Time:
    10:06 AM
    Nginx 1.15.x
    MariaDB 5.5/10.x
    reload is graceful alternate to restart - less impact on visitors - especially busy sites
     
    • Like Like x 1
  4. rdan

    rdan Premium Member Premium Member

    4,367
    1,053
    113
    May 25, 2014
    Ratings:
    +1,524
    Local Time:
    8:06 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

    36,905
    8,074
    113
    May 24, 2014
    Brisbane, Australia
    Ratings:
    +12,436
    Local Time:
    10:06 AM
    Nginx 1.15.x
    MariaDB 5.5/10.x
    Beginner’s Guide

     
    • Like Like x 1
  6. rdan

    rdan Premium Member Premium Member

    4,367
    1,053
    113
    May 25, 2014
    Ratings:
    +1,524
    Local Time:
    8:06 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

    36,905
    8,074
    113
    May 24, 2014
    Brisbane, Australia
    Ratings:
    +12,436
    Local Time:
    10:06 AM
    Nginx 1.15.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
     
    • Like Like x 1
..