Join the community today
Become a Member

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

    53,535
    12,134
    113
    May 24, 2014
    Brisbane, Australia
    Ratings:
    +18,677
    Local Time:
    2:22 PM
    Nginx 1.27.x
    MariaDB 10.x/11.4+
    revise Nginx, PHP-FPM and Memcached limits


    Continue reading...
     
  2. rdan

    rdan Well-Known Member

    5,439
    1,398
    113
    May 25, 2014
    Ratings:
    +2,187
    Local Time:
    12:22 PM
    Mainline
    10.2
    What does this changes do?
     
  3. eva2000

    eva2000 Administrator Staff Member

    53,535
    12,134
    113
    May 24, 2014
    Brisbane, Australia
    Ratings:
    +18,677
    Local Time:
    2:22 PM
    Nginx 1.27.x
    MariaDB 10.x/11.4+
    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 Well-Known Member

    5,439
    1,398
    113
    May 25, 2014
    Ratings:
    +2,187
    Local Time:
    12:22 PM
    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

    53,535
    12,134
    113
    May 24, 2014
    Brisbane, Australia
    Ratings:
    +18,677
    Local Time:
    2:22 PM
    Nginx 1.27.x
    MariaDB 10.x/11.4+
    Yeah log out of SSH and back in and then restart them
     
  6. rdan

    rdan Well-Known Member

    5,439
    1,398
    113
    May 25, 2014
    Ratings:
    +2,187
    Local Time:
    12:22 PM
    Mainline
    10.2
    restart them?
    Memcached and?
     
  7. rdan

    rdan Well-Known Member

    5,439
    1,398
    113
    May 25, 2014
    Ratings:
    +2,187
    Local Time:
    12:22 PM
    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

    53,535
    12,134
    113
    May 24, 2014
    Brisbane, Australia
    Ratings:
    +18,677
    Local Time:
    2:22 PM
    Nginx 1.27.x
    MariaDB 10.x/11.4+
    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 Well-Known Member

    5,439
    1,398
    113
    May 25, 2014
    Ratings:
    +2,187
    Local Time:
    12:22 PM
    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

    53,535
    12,134
    113
    May 24, 2014
    Brisbane, Australia
    Ratings:
    +18,677
    Local Time:
    2:22 PM
    Nginx 1.27.x
    MariaDB 10.x/11.4+
    Then you have no excuse not to use nano heh :D