#MEMUSAGE="64"
# User to run as
-#MEMCACHED_RUNAS="nobody"
+#MEMCACHED_RUNAS="memcached"
# Specify maximum number of concurrent connections
# 1024 is default
#MAXCONN="1024"
# Listen for connections on what address?
-#LISTENON="127.0.0.1"
-
-# Listen for connections on what port?
-#PORT="11211"
+# Format: IP:PORT, IP2:PORT2
+LISTEN="127.0.0.1:11211"
# other options not defined earlier
-#MEMCACHED_OPTS=""
+
+# -U 0 to disable UDP listen:
+# https://blog.cloudflare.com/memcrashed-major-amplification-attacks-from-port-11211/
+MEMCACHED_OPTS="-U 0"
+
+# Set ulimit at least as high as MAXCONN
+#SERVICE_LIMITS="-n $MAXCONN"