Learn about Centmin Mod LEMP Stack today
Register Now

Beta Branch Update libevent 2.1.8 stable for 123.09beta01

Discussion in 'Centmin Mod Github Commits' started by eva2000, May 24, 2017.

  1. eva2000

    eva2000 Administrator Staff Member

    28,971
    6,575
    113
    May 24, 2014
    Brisbane, Australia
    Ratings:
    +9,759
    Local Time:
    9:15 PM
    Nginx 1.13.x
    MariaDB 5.5
    Update libevent 2.1.8 stable for 123.09beta01

    - Update libevent from 2.0.22 stable to 2.1.8 which includes OpenSSL fixes and OpenSSL 1.1 compatibility support and security fixes libevent/ChangeLog at release-2.1.8-stable · libevent/libevent · GitHub. Centmin Mod's usage of libevent is specifically for custom compiled Memcached server which is compiled against libevent 2.1.8 instead of 2.0.22 now.
    - For existing users, updating Centmin Mod 123.09beta01 via centmin.sh menu option 23 submenu option 2, then exiting centmin.sh and re-running centmin.sh menu option 10 will recompile Memcached server against updated libevent 2.1.8 version release.

    Continue reading...

    123.09beta01 branch

     
    • Like Like x 1
  2. eva2000

    eva2000 Administrator Staff Member

    28,971
    6,575
    113
    May 24, 2014
    Brisbane, Australia
    Ratings:
    +9,759
    Local Time:
    9:15 PM
    Nginx 1.13.x
    MariaDB 5.5
    After above instructions to update centmin mod and run centmin.sh menu option 10, you can verify if Memcached server was built against libevent 2.1.8 using below command
    change Memcached port 11211 to one you set if you changed it.
    Code (Text):
    echo stats | nc 127.0.0.1 11211
    

    example output see libevent 2.1.8-stable line
    Code (Text):
    echo stats | nc 127.0.0.1 11211
    STAT pid 30903
    STAT uptime 42
    STAT time 1495588067
    STAT version 1.4.36
    STAT libevent 2.1.8-stable
    STAT pointer_size 64
    STAT rusage_user 0.008950
    STAT rusage_system 0.013426
    STAT curr_connections 5
    STAT total_connections 6
    STAT rejected_connections 0
    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 get_expired 0
    STAT get_flushed 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 8388608
    STAT accepting_conns 1
    STAT listen_disabled_num 0
    STAT time_in_listen_disabled_us 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_rescues 0
    STAT slab_reassign_chunk_rescues 0
    STAT slab_reassign_evictions_nomem 0
    STAT slab_reassign_inline_reclaim 0
    STAT slab_reassign_busy_items 0
    STAT slab_reassign_running 0
    STAT slabs_moved 0
    STAT lru_crawler_running 0
    STAT lru_crawler_starts 63
    STAT lru_maintainer_juggles 571
    STAT malloc_fails 0
    STAT log_worker_dropped 0
    STAT log_worker_written 0
    STAT log_watcher_skipped 0
    STAT log_watcher_sent 0
    STAT bytes 0
    STAT curr_items 0
    STAT total_items 0
    STAT slab_global_page_pool 0
    STAT expired_unfetched 0
    STAT evicted_unfetched 0
    STAT evicted_active 0
    STAT evictions 0
    STAT reclaimed 0
    STAT crawler_reclaimed 0
    STAT crawler_items_checked 0
    STAT lrutail_reflocked 0
    STAT moves_to_cold 0
    STAT moves_to_warm 0
    STAT moves_within_lru 0
    STAT direct_reclaims 0
    STAT lru_bumps_dropped 0
    END
    
     
    • Informative Informative x 1