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

    29,053
    6,594
    113
    May 24, 2014
    Brisbane, Australia
    Ratings:
    +9,790
    Local Time:
    2:59 PM
    Nginx 1.13.x
    MariaDB 5.5
    revise Nginx, PHP-FPM and Memcached limits

    Continue reading...
     
  2. RoldanLT

    RoldanLT Well-Known Member

    3,831
    929
    113
    May 25, 2014
    Phillipines
    Ratings:
    +1,258
    Local Time:
    12:59 PM
    1.11
    10.2
    What does this changes do?
     
  3. eva2000

    eva2000 Administrator Staff Member

    29,053
    6,594
    113
    May 24, 2014
    Brisbane, Australia
    Ratings:
    +9,790
    Local Time:
    2:59 PM
    Nginx 1.13.x
    MariaDB 5.5
    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. RoldanLT

    RoldanLT Well-Known Member

    3,831
    929
    113
    May 25, 2014
    Phillipines
    Ratings:
    +1,258
    Local Time:
    12:59 PM
    1.11
    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

    29,053
    6,594
    113
    May 24, 2014
    Brisbane, Australia
    Ratings:
    +9,790
    Local Time:
    2:59 PM
    Nginx 1.13.x
    MariaDB 5.5
    Yeah log out of SSH and back in and then restart them
     
    • Like Like x 1
  6. RoldanLT

    RoldanLT Well-Known Member

    3,831
    929
    113
    May 25, 2014
    Phillipines
    Ratings:
    +1,258
    Local Time:
    12:59 PM
    1.11
    10.2
    restart them?
    Memcached and?
     
  7. RoldanLT

    RoldanLT Well-Known Member

    3,831
    929
    113
    May 25, 2014
    Phillipines
    Ratings:
    +1,258
    Local Time:
    12:59 PM
    1.11
    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

    29,053
    6,594
    113
    May 24, 2014
    Brisbane, Australia
    Ratings:
    +9,790
    Local Time:
    2:59 PM
    Nginx 1.13.x
    MariaDB 5.5
    I just edit files via nano linux text editor within SSH itself, you can read up more about nano here and here.
     
  9. RoldanLT

    RoldanLT Well-Known Member

    3,831
    929
    113
    May 25, 2014
    Phillipines
    Ratings:
    +1,258
    Local Time:
    12:59 PM
    1.11
    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

    29,053
    6,594
    113
    May 24, 2014
    Brisbane, Australia
    Ratings:
    +9,790
    Local Time:
    2:59 PM
    Nginx 1.13.x
    MariaDB 5.5
    Then you have no excuse not to use nano heh :D