Learn about Centmin Mod LEMP Stack today
Register Now

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

    41,646
    9,380
    113
    May 24, 2014
    Brisbane, Australia
    Ratings:
    +14,408
    Local Time:
    4:40 AM
    Nginx 1.17.x
    MariaDB 5.5/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 Well-Known Member

    4,667
    1,121
    113
    May 25, 2014
    Ratings:
    +1,663
    Local Time:
    2:40 AM
    Mainline
    10.2
  3. eva2000

    eva2000 Administrator Staff Member

    41,646
    9,380
    113
    May 24, 2014
    Brisbane, Australia
    Ratings:
    +14,408
    Local Time:
    4:40 AM
    Nginx 1.17.x
    MariaDB 5.5/10.x
    yeah can replace :D
     
  4. rdan

    rdan Well-Known Member

    4,667
    1,121
    113
    May 25, 2014
    Ratings:
    +1,663
    Local Time:
    2:40 AM
    Mainline
    10.2
    Done, and restart successfully :)
    # service memcached restart
    Memcached server stopped
    Memcached server already running
     
  5. eva2000

    eva2000 Administrator Staff Member

    41,646
    9,380
    113
    May 24, 2014
    Brisbane, Australia
    Ratings:
    +14,408
    Local Time:
    4:40 AM
    Nginx 1.17.x
    MariaDB 5.5/10.x
    should say started instead of already running..try another

    service memcached restart

    and see
     
  6. rdan

    rdan Well-Known Member

    4,667
    1,121
    113
    May 25, 2014
    Ratings:
    +1,663
    Local Time:
    2:40 AM
    Mainline
    10.2
    Aw, same output :/

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

    eva2000 Administrator Staff Member

    41,646
    9,380
    113
    May 24, 2014
    Brisbane, Australia
    Ratings:
    +14,408
    Local Time:
    4:40 AM
    Nginx 1.17.x
    MariaDB 5.5/10.x
    try

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

    rdan Well-Known Member

    4,667
    1,121
    113
    May 25, 2014
    Ratings:
    +1,663
    Local Time:
    2:40 AM
    Mainline
    10.2
    Looks like the same:
     
  9. rdan

    rdan Well-Known Member

    4,667
    1,121
    113
    May 25, 2014
    Ratings:
    +1,663
    Local Time:
    2:40 AM
    Mainline
    10.2
    Here's my previous memcached file by the way:
     
  10. eva2000

    eva2000 Administrator Staff Member

    41,646
    9,380
    113
    May 24, 2014
    Brisbane, Australia
    Ratings:
    +14,408
    Local Time:
    4:40 AM
    Nginx 1.17.x
    MariaDB 5.5/10.x
    must be a stubborn process try

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

    rdan Well-Known Member

    4,667
    1,121
    113
    May 25, 2014
    Ratings:
    +1,663
    Local Time:
    2:40 AM
    Mainline
    10.2
    Looks fine now?
     
  12. eva2000

    eva2000 Administrator Staff Member

    41,646
    9,380
    113
    May 24, 2014
    Brisbane, Australia
    Ratings:
    +14,408
    Local Time:
    4:40 AM
    Nginx 1.17.x
    MariaDB 5.5/10.x
  13. rdan

    rdan Well-Known Member

    4,667
    1,121
    113
    May 25, 2014
    Ratings:
    +1,663
    Local Time:
    2:40 AM
    Mainline
    10.2
    Same, just replace my file content? :)
     
  14. eva2000

    eva2000 Administrator Staff Member

    41,646
    9,380
    113
    May 24, 2014
    Brisbane, Australia
    Ratings:
    +14,408
    Local Time:
    4:40 AM
    Nginx 1.17.x
    MariaDB 5.5/10.x
    yup
     
  15. rdan

    rdan Well-Known Member

    4,667
    1,121
    113
    May 25, 2014
    Ratings:
    +1,663
    Local Time:
    2:40 AM
    Mainline
    10.2
    Restarted again, looks normal now :).
     
    • Like Like x 1