PageRenderTime 29ms CodeModel.GetById 22ms app.highlight 5ms RepoModel.GetById 1ms app.codeStats 0ms

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