[Tickets #5684] Re: session oversized for memcache

bugs at bugs.horde.org bugs at bugs.horde.org
Thu Aug 30 17:54:22 UTC 2007


DO NOT REPLY TO THIS MESSAGE. THIS EMAIL ADDRESS IS NOT MONITORED.

Ticket URL: http://bugs.horde.org/ticket/?id=5684
-----------------------------------------------------------------------
 Ticket             | 5684
 Updated By         | adrieder at sbox.tugraz.at
 Summary            | session oversized for memcache
 Queue              | IMP
 Version            | HEAD
 Type               | Bug
 State              | Unconfirmed
 Priority           | 2. Medium
 Owners             | 
+New Attachment     | Memcache.php.patch
-----------------------------------------------------------------------


adrieder at sbox.tugraz.at (2007-08-30 10:54) wrote:

Found it! The attached patch to the memcache driver solves the problem!
We always wrote "number of slabs + 1", as the number of used slabs for
oversized items to "horde_memcache_os".
This was no problem for caching items, but it was for sessions because the
"get" method would then return "false" for the last item (slabs + 1) which
of coures does not exist. The session handler gets false and kicks out the
logged in user.



More information about the bugs mailing list