[horde] Trouble with Horde_Memcache

Jens Wahnes wahnes at uni-koeln.de
Thu Jul 7 16:55:46 UTC 2016


Hi,

after updating to the latest versions of Horde packages, including 
version 2.1.0 of Horde_Memcache, I found a lot of lines in the logfile 
that said

WARN: HORDE PHP ERROR: MemcachePool::setcompressthreshold(): No servers 
added to memcache connection [pid 24267 on line 167 of 
"/usr/share/pear/Horde/Memcache.php"]

Looking at the output of netstat, however, I'm not terribly convinced 
that memcache is actually not being used. I can see that there are many 
open connections to the memcache server.

Downgrading back to version 2.0.7 of Horde_Memcache made these messages 
disappear, but I'm not sure if that is because there is a bug in version 
2.1.0 or if it is because the older version just did not log such a 
message? Maybe the new version is even logging this message in spite of 
everything being fine?

The settings in conf.php regarding Memcache look like this:

$conf['hashtable']['params']['hostspec'] = array('localhost', 'foo');
$conf['hashtable']['params']['port'] = array('11211', '11211');
$conf['hashtable']['params']['weight'] = array('90', '10');
$conf['hashtable']['params']['persistent'] = true;
$conf['hashtable']['params']['c_threshold'] = 1200;
$conf['hashtable']['params']['compression'] = true;
$conf['hashtable']['params']['large_items'] = true;
$conf['hashtable']['driver'] = 'Memcache';

Any thoughts on this?

Thanks
Jens


-------------- next part --------------
A non-text attachment was scrubbed...
Name: smime.p7s
Type: application/pkcs7-signature
Size: 4986 bytes
Desc: S/MIME Cryptographic Signature
URL: <https://lists.horde.org/archives/horde/attachments/20160707/42195bd0/attachment.bin>


More information about the horde mailing list