Get the most out of your Centmin Mod LEMP stack
Become a Member

Beta Branch update memcached init.d start up script template

Discussion in 'Centmin Mod Github Commits' started by eva2000, May 29, 2015.

Tags:
  1. eva2000

    eva2000 Administrator Staff Member

    30,156
    6,785
    113
    May 24, 2014
    Brisbane, Australia
    Ratings:
    +10,136
    Local Time:
    4:23 AM
    Nginx 1.13.x
    MariaDB 5.5
    update memcached init.d start up script template
    take into account when kill -9 fails to kill an exited memcached pid file
    or when the memcached process is down but pid file still exists

    Continue reading...

    123.08beta03 branch

    * 123.08beta03 branch is the merging of the 3 branches - .08 beta 02 + 123.08lua + 123.08livestats so the new beta has both Nginx Lua + LuaJIT support + new Nginx vhost traffic statistics
     
  2. RoldanLT

    RoldanLT Well-Known Member

    3,901
    949
    113
    May 25, 2014
    Phillipines
    Ratings:
    +1,298
    Local Time:
    2:23 AM
    1.11
    10.2
  3. eva2000

    eva2000 Administrator Staff Member

    30,156
    6,785
    113
    May 24, 2014
    Brisbane, Australia
    Ratings:
    +10,136
    Local Time:
    4:23 AM
    Nginx 1.13.x
    MariaDB 5.5
    yeah can replace :D
     
  4. RoldanLT

    RoldanLT Well-Known Member

    3,901
    949
    113
    May 25, 2014
    Phillipines
    Ratings:
    +1,298
    Local Time:
    2:23 AM
    1.11
    10.2
    Done, and restart successfully :)
    # service memcached restart
    Memcached server stopped
    Memcached server already running
     
  5. eva2000

    eva2000 Administrator Staff Member

    30,156
    6,785
    113
    May 24, 2014
    Brisbane, Australia
    Ratings:
    +10,136
    Local Time:
    4:23 AM
    Nginx 1.13.x
    MariaDB 5.5
    should say started instead of already running..try another

    service memcached restart

    and see
     
  6. RoldanLT

    RoldanLT Well-Known Member

    3,901
    949
    113
    May 25, 2014
    Phillipines
    Ratings:
    +1,298
    Local Time:
    2:23 AM
    1.11
    10.2
    Aw, same output :/

    # service memcached restart
    Memcached server stopped
    Memcached server already running
     
  7. eva2000

    eva2000 Administrator Staff Member

    30,156
    6,785
    113
    May 24, 2014
    Brisbane, Australia
    Ratings:
    +10,136
    Local Time:
    4:23 AM
    Nginx 1.13.x
    MariaDB 5.5
    try

    Code:
    rm -rf /var/run/memcached/memcached1.pid
    service memcached restart
    service memcached restart
    
    what happens
     
  8. RoldanLT

    RoldanLT Well-Known Member

    3,901
    949
    113
    May 25, 2014
    Phillipines
    Ratings:
    +1,298
    Local Time:
    2:23 AM
    1.11
    10.2
    Looks like the same:
     
  9. RoldanLT

    RoldanLT Well-Known Member

    3,901
    949
    113
    May 25, 2014
    Phillipines
    Ratings:
    +1,298
    Local Time:
    2:23 AM
    1.11
    10.2
    Here's my previous memcached file by the way:
     
  10. eva2000

    eva2000 Administrator Staff Member

    30,156
    6,785
    113
    May 24, 2014
    Brisbane, Australia
    Ratings:
    +10,136
    Local Time:
    4:23 AM
    Nginx 1.13.x
    MariaDB 5.5
    must be a stubborn process try

    Code:
    kill -9 $(pidof memcached)
    service memcached restart
     
    • Like Like x 1
  11. RoldanLT

    RoldanLT Well-Known Member

    3,901
    949
    113
    May 25, 2014
    Phillipines
    Ratings:
    +1,298
    Local Time:
    2:23 AM
    1.11
    10.2
    Looks fine now?
     
  12. eva2000

    eva2000 Administrator Staff Member

    30,156
    6,785
    113
    May 24, 2014
    Brisbane, Australia
    Ratings:
    +10,136
    Local Time:
    4:23 AM
    Nginx 1.13.x
    MariaDB 5.5
  13. RoldanLT

    RoldanLT Well-Known Member

    3,901
    949
    113
    May 25, 2014
    Phillipines
    Ratings:
    +1,298
    Local Time:
    2:23 AM
    1.11
    10.2
    Same, just replace my file content? :)
     
  14. eva2000

    eva2000 Administrator Staff Member

    30,156
    6,785
    113
    May 24, 2014
    Brisbane, Australia
    Ratings:
    +10,136
    Local Time:
    4:23 AM
    Nginx 1.13.x
    MariaDB 5.5
    yup
     
  15. RoldanLT

    RoldanLT Well-Known Member

    3,901
    949
    113
    May 25, 2014
    Phillipines
    Ratings:
    +1,298
    Local Time:
    2:23 AM
    1.11
    10.2
    Restarted again, looks normal now :).
     
    • Like Like x 1