]> git.pld-linux.org Git - packages/memcached.git/blobdiff - memcached.sysconfig
- rebuild with libevent 2.1.11
[packages/memcached.git] / memcached.sysconfig
index 67ede0018a6bbd3e19f5a76e88edb6f8837733dd..089e9bf70c0a22f8209f54b97d74521ac2292c85 100644 (file)
@@ -8,17 +8,21 @@ SERVICE_RUN_NICE_LEVEL="+0"
 #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"
This page took 0.065573 seconds and 4 git commands to generate.