I'm having troubles saving sessions in memcached...
I'm running 2 memcached servers:
17878 ? Ssl 0:09 /usr/bin/memcached -u memcached -p 11212 -m 1024 -c 1024 -d
17886 ? Ssl 0:00 /usr/bin/memcached -u memcached -p 11211 -m 1024 -c 1024 -d
Inside MUC, I add a new memcached store and select it as app cache. For this I select the one on 11212 port.
In config.php I add the following, which should enable sessions saving in memcached:
$CFG->session_handler_class = '\core\session\memcached';
$CFG->session_memcached_save_path = '127.0.0.1:11211';
$CFG->session_memcached_prefix = 'memc.sess.key.';
$CFG->session_memcached_acquire_lock_timeout = 120;
$CFG->session_memcached_lock_expire = 7200; // Ignored if memcached extension <= 2.1.0
If I then run my benchmark and check phpmemcached, I can see app cache being populated, but session cache is not. What did I do wrong?
Where can I check why it's not being used?
Matej