Summary | Horde_Memcache error messages with compression threshold |
Queue | Components |
Type | Bug |
State | Resolved |
Priority | 2. Medium |
Owners | jan (at) horde (dot) org |
Requester | wahnes (at) uni-koeln (dot) de |
Created | 07/08/2016 (3339 days ago) |
Due | |
Updated | 07/11/2016 (3336 days ago) |
Assigned | |
Resolved | 07/11/2016 (3336 days ago) |
Github Issue Link | |
Github Pull Request | |
Milestone | 2.1.1 |
Patch | No |
State ⇒ Resolved
Milestone ⇒ 2.1.1
commit bba5d6587283317a0e82b24906ab5579cdb33ecb
Author: Jan Schneider <jan@horde.org>
Date: Mon Jul 11 17:58:44 2016 +0200
Need to set the threshold after the servers have been added (
Bug #14421).framework/Memcache/lib/Horde/Memcache.php | 8 +++++---
framework/Memcache/package.xml | 4 ++--
2 files changed, 7 insertions(+), 5 deletions(-)
http://github.com/horde/horde/commit/bba5d6587283317a0e82b24906ab5579cdb33ecb
Priority ⇒ 2. Medium
Patch ⇒ No
Milestone ⇒
Queue ⇒ Components
Summary ⇒ Horde_Memcache error messages with compression threshold
Type ⇒ Bug
State ⇒ Unconfirmed
logfile many times. It states
WARN: HORDE PHP ERROR: MemcachePool::setcompressthreshold(): No
servers added to memcache connection [pid 24267 on line 167 of
"/usr/share/pear/Horde/Memcache.php"]
if using more than one memcache server, compression, and a compression
threshold. This does not happen with version 2.0.7 of Horde_Memcache.
The exact Horde configuration used in this case looked 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';