/memcached.conf

http://github.com/brinkman83/bashrc · Config · 47 lines · 35 code · 12 blank · 0 comment · 0 complexity · a977521922a151c959ac953712840803 MD5 · raw file

  1. # memcached default config file
  2. # 2003 - Jay Bonci <jaybonci@debian.org>
  3. # This configuration file is read by the start-memcached script provided as
  4. # part of the Debian GNU/Linux distribution.
  5. # Run memcached as a daemon. This command is implied, and is not needed for the
  6. # daemon to run. See the README.Debian that comes with this package for more
  7. # information.
  8. -d
  9. # Log memcached's output to /var/log/memcached
  10. logfile /var/log/memcached.log
  11. # Be verbose
  12. # -v
  13. # Be even more verbose (print client commands as well)
  14. # -vv
  15. # Start with a cap of 64 megs of memory. It's reasonable, and the daemon default
  16. # Note that the daemon will grow to this size, but does not start out holding this much
  17. # memory
  18. -m 64
  19. # Default connection port is 11211
  20. -p 11211
  21. # Run the daemon as root. The start-memcached will default to running as root if no
  22. # -u command is present in this config file
  23. -u nobody
  24. # Specify which IP address to listen on. The default is to listen on all IP addresses
  25. # This parameter is one of the only security measures that memcached has, so make sure
  26. # it's listening on a firewalled interface.
  27. -l 127.0.0.1
  28. # Limit the number of simultaneous incoming connections. The daemon default is 1024
  29. # -c 1024
  30. # Lock down all paged memory. Consult with the README and homepage before you do this
  31. # -k
  32. # Return error when memory is exhausted (rather than removing items)
  33. # -M
  34. # Maximize core file limit
  35. # -r