Join the community today
Register Now

Memcached Memcached Server Info

Discussion in 'Other Centmin Mod Installed software' started by eva2000, May 25, 2014.

  1. eva2000

    eva2000 Administrator Staff Member

    May 24, 2014
    Brisbane, Australia
    Local Time:
    11:44 AM
    Nginx 1.25.x
    MariaDB 10.x
    Official site info at

    How is Memcached Server installed?
    Memcached server(s) is source compiled from official gzipped tarball download. Memcached server is an optional installation item you can choose to install at initial Centmin Mod install (menu option #1) - where you can choose to install 1 or 2 Memcached server instances or you can use menu option #10 to install or reinstall Memcached servers. Read FAQ as to why source compiled vs RPM.

    How to disable Memcached server ?
    If you do not use Memcached server, you can disable it via the following commands in SSH telnet
    service memcached stop
    chkconfig memcached off
    To re-enable Memcached server, via the following commands in SSH telnet
    service memcached start
    chkconfig memcached on
    Memcache / Memcached PHP Extensions
    If you choose to install Memcached server(s), Centmin Mod will install both Memcache and Memcached PHP extensions along with Libmemcached (Centmin Mod v1.2.3-eva2000.01 and higher).

    How to change Memcached allocated memory size ?
    To increase or decrease Memcached server's allocated memory size, you will need to edit /etc/init.d/memcached start up file's MEMSIZE=8 variable. The variable assigns memory in MegaBytes (MB), so MEMSIZE=8 is equal to 8MB. If you want to allocate 256MB to Memcached server(s), then edit and change variable to MEMSIZE=256 and then restart memcached server:
    service memcached restart
    or via command shortcut
    If memcachedrestart shortcut doesn't work, you can re-add it via these 3 commands to be run within SSH telnet as root user:
    echo "service memcached stop" >/usr/bin/memcachedstop ; chmod 700 /usr/bin/memcachedstop
    echo "service memcached start" >/usr/bin/memcachedstart ; chmod 700 /usr/bin/memcachedstart
    echo "service memcached restart" >/usr/bin/memcachedrestart ; chmod 700 /usr/bin/memcachedrestart