memcache command start parameter Chinese interpretation

  • 2020-12-13 18:55:23
  • OfStack


usr/local/bin/memcached -d -m 128 -u root -l 192.168.0.10 -p 12121 -c 256 -P /tmp/memcached.pid

-ES4en listening TCP port (default: 11211)
-ES7en UDP listening port (default: 11211, closed at 0)
-ES10en runs as a daemon
-u run Memcached account not root user
-m The largest unit of memory usage is MB which is 64MB by default
- The default number of c soft connections is 1024
-ES22en prints warning and error messages
-ES24en prints the client's request and return information
-ES26en Print help information
-i prints copyright information for memcached and libevent
-l binding address (default: all are allowed, no matter whether the internal and external network or the local replacement of IP, there are security risks, if it is set to 127.0.0.1, it can only be accessed locally)
-ES35en writes PID to the file so that the subsequent fast process terminates. It needs to be used with -ES37en 1


Related articles: