Skip to content

Instantly share code, notes, and snippets.

@typhonius
Created February 23, 2013 03:14
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save typhonius/5018196 to your computer and use it in GitHub Desktop.
Save typhonius/5018196 to your computer and use it in GitHub Desktop.
Memcache configuration
# Run memcached as a daemon.
-d
# pidfile
-P /var/run/memcached.pid
# Log memcached's output
logfile /var/log/memcached.log
# Use <num> MB memory max to use for object storage.
-m 1024
# UNIX socket path to listen on
-s /var/run/memcached/memcached.sock
-a 00755
# Run daemon as user
-u www-data
# Limit the number of simultaneous incoming connections.
-c 8192
# Number of threads to use to process incoming requests.
-t 4
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment