I have installed memcache for a Drupal site with the memcached pecl extension. It's all running fine but I'm still struggling with the configuration settings.
For instance , following advice on drupal.org
You should probably lock down the memcache server so that it only listens for
connections from the hosts that need to be served, as the default is that
memcache listens to connections from all addresses.
So, to close that hole, edit /etc/sysconfig/memcached with:
OPTIONS="-l ${HOSTIP}"
Problem is that I don't have this file on my server, in any case not at this location. Some other articles have mentioned /etc/memcached.conf but I can't find this file either.
Considering that the /etc/sysconfig/memcached or /etc/memcached.conf do not exit on my server, can I safely create them? Is it possible for these files to be situated somewhere else, in which case where should I look or is there any way to find that info?
Finally , any resources, tutorials or documentation links would be greatly appreciated. I've browsed thru memcache's site Wiki, and could only find a couple of relevant articles for beginners.