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

    47,884
    10,926
    113
    May 24, 2014
    Brisbane, Australia
    Ratings:
    +16,977
    Local Time:
    5:49 PM
    Nginx 1.21.x
    MariaDB 10.x
    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. rdan

    rdan Premium Member Premium Member

    5,141
    1,282
    113
    May 25, 2014
    Ratings:
    +1,966
    Local Time:
    3:49 PM
    Mainline
    10.2
  3. eva2000

    eva2000 Administrator Staff Member

    47,884
    10,926
    113
    May 24, 2014
    Brisbane, Australia
    Ratings:
    +16,977
    Local Time:
    5:49 PM
    Nginx 1.21.x
    MariaDB 10.x
    yeah can replace :D
     
  4. rdan

    rdan Premium Member Premium Member

    5,141
    1,282
    113
    May 25, 2014
    Ratings:
    +1,966
    Local Time:
    3:49 PM
    Mainline
    10.2
    Done, and restart successfully :)
    # service memcached restart
    Memcached server stopped
    Memcached server already running
     
  5. eva2000

    eva2000 Administrator Staff Member

    47,884
    10,926
    113
    May 24, 2014
    Brisbane, Australia
    Ratings:
    +16,977
    Local Time:
    5:49 PM
    Nginx 1.21.x
    MariaDB 10.x
    should say started instead of already running..try another

    service memcached restart

    and see
     
  6. rdan

    rdan Premium Member Premium Member

    5,141
    1,282
    113
    May 25, 2014
    Ratings:
    +1,966
    Local Time:
    3:49 PM
    Mainline
    10.2
    Aw, same output :/

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

    eva2000 Administrator Staff Member

    47,884
    10,926
    113
    May 24, 2014
    Brisbane, Australia
    Ratings:
    +16,977
    Local Time:
    5:49 PM
    Nginx 1.21.x
    MariaDB 10.x
    try

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

    rdan Premium Member Premium Member

    5,141
    1,282
    113
    May 25, 2014
    Ratings:
    +1,966
    Local Time:
    3:49 PM
    Mainline
    10.2
    Looks like the same:
     
  9. rdan

    rdan Premium Member Premium Member

    5,141
    1,282
    113
    May 25, 2014
    Ratings:
    +1,966
    Local Time:
    3:49 PM
    Mainline
    10.2
    Here's my previous memcached file by the way:
     
  10. eva2000

    eva2000 Administrator Staff Member

    47,884
    10,926
    113
    May 24, 2014
    Brisbane, Australia
    Ratings:
    +16,977
    Local Time:
    5:49 PM
    Nginx 1.21.x
    MariaDB 10.x
    must be a stubborn process try

    Code:
    kill -9 $(pidof memcached)
    service memcached restart
     
  11. rdan

    rdan Premium Member Premium Member

    5,141
    1,282
    113
    May 25, 2014
    Ratings:
    +1,966
    Local Time:
    3:49 PM
    Mainline
    10.2
    Looks fine now?
     
  12. eva2000

    eva2000 Administrator Staff Member

    47,884
    10,926
    113
    May 24, 2014
    Brisbane, Australia
    Ratings:
    +16,977
    Local Time:
    5:49 PM
    Nginx 1.21.x
    MariaDB 10.x
  13. rdan

    rdan Premium Member Premium Member

    5,141
    1,282
    113
    May 25, 2014
    Ratings:
    +1,966
    Local Time:
    3:49 PM
    Mainline
    10.2
    Same, just replace my file content? :)
     
  14. eva2000

    eva2000 Administrator Staff Member

    47,884
    10,926
    113
    May 24, 2014
    Brisbane, Australia
    Ratings:
    +16,977
    Local Time:
    5:49 PM
    Nginx 1.21.x
    MariaDB 10.x
    yup
     
  15. rdan

    rdan Premium Member Premium Member

    5,141
    1,282
    113
    May 25, 2014
    Ratings:
    +1,966
    Local Time:
    3:49 PM
    Mainline
    10.2
    Restarted again, looks normal now :).