# Please read the manpage for more info about possible runtime options. # Note: The Mandriva init script for memcached supports starting more than # one instance of memcached. # # This support works by defining here an INSTANCES=n variable where # n is the number of memcached instances you want to run. # # The options specified below will be used as the default values for # all instances with the exception of the TCP/UDP_PORT paramaters which # will be incremented for each instance. # # You can override any specific instances variables by adding an # instance-specific variable. e.g. to change the CACHESIZE of the # first instance to be 32 megs while leaving all other instances to # have the default of 64 you would do something like: # CACHESIZE="64" ; this is the default # CACHESIZE0="32" ; This is the size used for the first instance # # Note that if yu specify a UNIX_SOCKET below, please be aware # that you need to set this differently for each instance # (i.e. using a default value is not that useful). # Specify the number of instances to run INSTANCES=1 # Specify the binary to use #MEMCACHED_DAEMON="memcached-replication" MEMCACHED_DAEMON="memcached" # TCP port to listen on TCP_PORT="11211" # UDP port to listen on, can be disabled by setting it to 0 UDP_PORT="11211" # User to run under USER="memcached" # Max simultaneous connections MAXCONN="1024" # MB memory max to use for object storage CACHESIZE="64" # IP address to listen on. Set to "INADDR_ANY" or "" to listen on all interfaces IPADDR="127.0.0.1" # Number of threads to use to process incoming requests THREADS="4" # Unix socket path to listen on (disables network support) #UNIX_SOCKET="/var/run/memcached/memcached.sock" # Additional options OPTIONS=""