Learn about Centmin Mod LEMP Stack today
Register Now

Beta Branch revise Nginx, PHP-FPM and Memcached limits

Discussion in 'Centmin Mod Github Commits' started by eva2000, Aug 4, 2014.

  1. eva2000

    eva2000 Administrator Staff Member

    34,569
    7,646
    113
    May 24, 2014
    Brisbane, Australia
    Ratings:
    +11,758
    Local Time:
    1:30 PM
    Nginx 1.15.x
    MariaDB 5.5/10.x
    revise Nginx, PHP-FPM and Memcached limits

    Continue reading...
     
  2. rdan

    rdan Premium Member Premium Member

    4,193
    1,014
    113
    May 25, 2014
    Ratings:
    +1,438
    Local Time:
    11:30 AM
    Mainline
    10.2
    What does this changes do?
     
  3. eva2000

    eva2000 Administrator Staff Member

    34,569
    7,646
    113
    May 24, 2014
    Brisbane, Australia
    Ratings:
    +11,758
    Local Time:
    1:30 PM
    Nginx 1.15.x
    MariaDB 5.5/10.x
    They raise or set high max open file descriptor limits for the software i.e. memcached and the system wide limits for non-OpenVZ systems.
     
  4. rdan

    rdan Premium Member Premium Member

    4,193
    1,014
    113
    May 25, 2014
    Ratings:
    +1,438
    Local Time:
    11:30 AM
    Mainline
    10.2
    Thanks!
    I manually edited:
    /etc/rc.d/init.d/memcached
    /etc/sysctl.conf
    /etc/security/limits.conf

    Base on your change logs :D
    Thanks!

    So just restart memcached and nginx after edit?
     
  5. eva2000

    eva2000 Administrator Staff Member

    34,569
    7,646
    113
    May 24, 2014
    Brisbane, Australia
    Ratings:
    +11,758
    Local Time:
    1:30 PM
    Nginx 1.15.x
    MariaDB 5.5/10.x
    Yeah log out of SSH and back in and then restart them
     
    • Like Like x 1
  6. rdan

    rdan Premium Member Premium Member

    4,193
    1,014
    113
    May 25, 2014
    Ratings:
    +1,438
    Local Time:
    11:30 AM
    Mainline
    10.2
    restart them?
    Memcached and?
     
  7. rdan

    rdan Premium Member Premium Member

    4,193
    1,014
    113
    May 25, 2014
    Ratings:
    +1,438
    Local Time:
    11:30 AM
    Mainline
    10.2
    I modify it using Winscp, then after all are done I open up Putty then restart Memcached, Nginx, PHP.
    That's fine?
     
  8. eva2000

    eva2000 Administrator Staff Member

    34,569
    7,646
    113
    May 24, 2014
    Brisbane, Australia
    Ratings:
    +11,758
    Local Time:
    1:30 PM
    Nginx 1.15.x
    MariaDB 5.5/10.x
    I just edit files via nano linux text editor within SSH itself, you can read up more about nano here and here.
     
  9. rdan

    rdan Premium Member Premium Member

    4,193
    1,014
    113
    May 25, 2014
    Ratings:
    +1,438
    Local Time:
    11:30 AM
    Mainline
    10.2
    Yes, I know how to use nano just basic commands.
    Since college I'm using it on school.

    But comfortable using Winscp editor :D
     
  10. eva2000

    eva2000 Administrator Staff Member

    34,569
    7,646
    113
    May 24, 2014
    Brisbane, Australia
    Ratings:
    +11,758
    Local Time:
    1:30 PM
    Nginx 1.15.x
    MariaDB 5.5/10.x
    Then you have no excuse not to use nano heh :D
     
..