1 # DO NOT EDIT - This file is being maintained by Chef
3 # Run memcached as a daemon
9 # Log memcached's output to /var/log/memcached
10 logfile /var/log/memcached.log
12 # Limit the size of the cache to <%= node[:memcached][:memory_limit] %>Mb
13 -m <%= node[:memcached][:memory_limit] %>
15 # Configure where we listen for requests
16 -l <%= node[:memcached][:ip_address] %>
17 <% if node[:memcached][:tcp_port] -%>
18 -p <%= node[:memcached][:tcp_port] %>
20 <% if node[:memcached][:udp_port] -%>
21 -U <%= node[:memcached][:udp_port] %>
24 # Limit the number of simultaneous connections
25 -c <%= node[:memcached][:connection_limit] %>
27 # Set chunk growth factor
28 -f <%= node[:memcached][:chunk_growth_factor] %>
30 # Set minimum item size
31 -n <%= node[:memcached][:min_item_size] %>