Learn about Centmin Mod LEMP Stack today
Register Now

Memcached Memcached Server 1.4.21 released

Discussion in 'Other Centmin Mod Installed software' started by eva2000, Oct 19, 2014.

  1. eva2000

    eva2000 Administrator Staff Member

    53,251
    12,117
    113
    May 24, 2014
    Brisbane, Australia
    Ratings:
    +18,655
    Local Time:
    1:40 AM
    Nginx 1.27.x
    MariaDB 10.x/11.4+
    Looks like Memcached Server 1.4.21 has been released - memcached - a distributed memory object caching system


    Centmin Mod .08 beta will be updated soon :D
     
  2. rdan

    rdan Well-Known Member

    5,439
    1,398
    113
    May 25, 2014
    Ratings:
    +2,187
    Local Time:
    11:40 PM
    Mainline
    10.2
    I will update mine :)
     
  3. eva2000

    eva2000 Administrator Staff Member

    53,251
    12,117
    113
    May 24, 2014
    Brisbane, Australia
    Ratings:
    +18,655
    Local Time:
    1:40 AM
    Nginx 1.27.x
    MariaDB 10.x/11.4+
    yup testing it out myself

    edit centmin.sh changing 1.4.20 to 1.4.21
    Code:
    cd /usr/local/src/centmin-v1.2.3mod
    grep 1.4.20 centmin.sh
    MEMCACHED_VERSION='1.4.20'    # Use this version of Memcached server
    
    sed -i 's/1.4.20/1.4.21/' centmin.sh
    grep 1.4.21 centmin.sh
    MEMCACHED_VERSION='1.4.21'    # Use this version of Memcached server
    
    run centmin.sh menu option 10
    Code:
    --------------------------------------------------------
    Centmin Mod 1.2.3-eva2000.08 - http://centminmod.com
    --------------------------------------------------------
                       Centmin Mod Menu              
    --------------------------------------------------------
    1).  Centmin Install
    2).  Add Nginx vhost domain
    3).  NSD setup domain name DNS
    4).  Nginx Upgrade / Downgrade
    5).  PHP Upgrade / Downgrade
    6).  XCache Re-install
    7).  APC Cache Re-install
    8).  XCache Install
    9).  APC Cache Install
    10). Memcached Server Re-install
    11). MariaDB 5.2, 5.5, 10 Upgrade Sub-Menu
    12). Zend OpCache Install/Re-install
    13). Install ioping.sh vbtechsupport.com/1239/
    14). SELinux disable
    15). Install/Re-install ImageMagick PHP Extension
    16). Change SSHD Port Number
    17). Multi-thread compression: pigz,pbzip2,lbzip2,p7zip etc
    18). Suhosin PHP Extension install
    19). Install FFMPEG and FFMPEG PHP Extension
    20). NSD Re-install
    21). Update - Nginx + PHP-FPM + Siege
    22). Exit
    --------------------------------------------------------
    Enter option [ 1 - 22 ]  10
    
    all done Memcached server 1.4.21 running

    Code:
    echo stats | nc 127.0.0.1 11211
    STAT pid 5707
    STAT uptime 112
    STAT time 1413689956
    STAT version 1.4.21
    STAT libevent 2.0.21-stable
    STAT pointer_size 64
    STAT rusage_user 0.000000
    STAT rusage_system 0.013333
    STAT curr_connections 5
    STAT total_connections 6
    STAT connection_structures 6
    STAT reserved_fds 20
    STAT cmd_get 0
    STAT cmd_set 0
    STAT cmd_flush 0
    STAT cmd_touch 0
    STAT get_hits 0
    STAT get_misses 0
    STAT delete_misses 0
    STAT delete_hits 0
    STAT incr_misses 0
    STAT incr_hits 0
    STAT decr_misses 0
    STAT decr_hits 0
    STAT cas_misses 0
    STAT cas_hits 0
    STAT cas_badval 0
    STAT touch_hits 0
    STAT touch_misses 0
    STAT auth_cmds 0
    STAT auth_errors 0
    STAT bytes_read 6
    STAT bytes_written 0
    STAT limit_maxbytes 301989888
    STAT accepting_conns 1
    STAT listen_disabled_num 0
    STAT threads 4
    STAT conn_yields 0
    STAT hash_power_level 16
    STAT hash_bytes 524288
    STAT hash_is_expanding 0
    STAT slab_reassign_running 0
    STAT slabs_moved 0
    STAT malloc_fails 0
    STAT bytes 0
    STAT curr_items 0
    STAT total_items 0
    STAT expired_unfetched 0
    STAT evicted_unfetched 0
    STAT evictions 0
    STAT reclaimed 0
    STAT crawler_reclaimed 0
    STAT lrutail_reflocked 0
    END
    lrutail_reflocked counter they're talking about
    Code:
    STAT lrutail_reflocked 0
    and how long it took to upgrade and recompile Memcached 1.4.21 server and associated memcache 3.0.8 and memcached 2.2.0 (+libmemcached) PHP extensions = 39.627s
    Code:
    tail -1 /root/centminlogs/centminmod_1.2.3-eva2000.08_191014-033652_memcached_reinstall.log
    Total Memcached Re-Install Time: 39.627110338 seconds
    PHP memcache extension

    Code:
    php --ri memcache
    
    memcache
    
    memcache support => enabled
    Version => 3.0.8
    Revision => $Revision: 329835 $
    
    Directive => Local Value => Master Value
    memcache.allow_failover => 1 => 1
    memcache.max_failover_attempts => 20 => 20
    memcache.default_port => 11211 => 11211
    memcache.chunk_size => 32768 => 32768
    memcache.protocol => ascii => ascii
    memcache.hash_strategy => consistent => consistent
    memcache.hash_function => crc32 => crc32
    memcache.redundancy => 1 => 1
    memcache.session_redundancy => 2 => 2
    memcache.compress_threshold => 20000 => 20000
    memcache.lock_timeout => 15 => 15
    PHP memcached extension

    Code:
     php --ri memcached
    
    memcached
    
    memcached support => enabled
    Version => 2.2.0
    libmemcached version => 1.0.18
    SASL support => yes
    Session support => yes
    igbinary support => yes
    json support => yes
    msgpack support => no
    
    Directive => Local Value => Master Value
    memcached.sess_locking => 1 => 1
    memcached.sess_consistent_hash => 0 => 0
    memcached.sess_binary => 0 => 0
    memcached.sess_lock_wait => 150000 => 150000
    memcached.sess_lock_max_wait => 0 => 0
    memcached.sess_lock_expire => 0 => 0
    memcached.sess_prefix => memc.sess.key. => memc.sess.key.
    memcached.sess_number_of_replicas => 0 => 0
    memcached.sess_randomize_replica_read => 0 => 0
    memcached.sess_remove_failed => 0 => 0
    memcached.sess_connect_timeout => 3000 => 3000
    memcached.sess_sasl_username => no value => no value
    memcached.sess_sasl_password => no value => no value
    memcached.compression_type => fastlz => fastlz
    memcached.compression_factor => 1.3 => 1.3
    memcached.compression_threshold => 2000 => 2000
    memcached.serializer => igbinary => igbinary
    memcached.use_sasl => 0 => 0
    memcached.store_retry_count => 2 => 
     
    Last edited: Oct 20, 2014
  4. rdan

    rdan Well-Known Member

    5,439
    1,398
    113
    May 25, 2014
    Ratings:
    +2,187
    Local Time:
    11:40 PM
    Mainline
    10.2
    Upgrade seems fine, but I notice this:
    Code:
    Download memcached-1.4.21.tar.gz ...
    Error: memcached-1.4.21.tar.gz not found !!! Download now......
    2014-10-19 12:06:18 URL:http://www.memcached.org/files/memcached-1.4.21.tar.gz [345892/345892] -> "memcached-1.4.21.tar.gz" [1]
    Download done.
    memcached-1.4.21.tar.gz valid file.
    
     
  5. eva2000

    eva2000 Administrator Staff Member

    53,251
    12,117
    113
    May 24, 2014
    Brisbane, Australia
    Ratings:
    +18,655
    Local Time:
    1:40 AM
    Nginx 1.27.x
    MariaDB 10.x/11.4+
    looks fine to me

    1st line - downloading memcached notice
    2nd line - checking to see if the download file exists in /svr-setup - if not download it
    3rd & 4th line - download file
    5th line check validity of file ok :D
     
    Last edited: Oct 20, 2014