How to set up memcached to use unix socket?
Posted
by
alfish
on Server Fault
See other posts from Server Fault
or by alfish
Published on 2012-09-29T12:41:55Z
Indexed on
2012/09/29
15:41 UTC
Read the original article
Hit count: 284
memcached
|unix-domain-sockets
While I could use memcached on Debian to use the default 11211 port, but I've had great difficulty setting up unix socket, Form what I'v read, I know that I need to create a memcache.socket and add
-s /path/to/memcache.socket
-a 0766
To /etc/memcached.conf and comment out the default connection port and IP, i.e.
-p 11211
-l 127.0.0.1
However, when I restart memcached I get internal server errors on Drupal site.
I'm trying to implement unix sockets to avoid TCP/IP overhead and boost overal memcached performance, however not sure how much performance gain one can expect of this tweak.
I appreciate your hints or possibly configs to to resolve this.
© Server Fault or respective owner