6.0.0-beta1
11/9/25

[#5770] memcache broken for oversized items
Summary memcache broken for oversized items
Queue Horde Framework Packages
Queue Version HEAD
Type Bug
State Resolved
Priority 1. Low
Owners slusarz (at) horde (dot) org
Requester adrieder (at) sbox (dot) tugraz (dot) at
Created 10/04/2007 (6611 days ago)
Due 10/05/2007 (6610 days ago)
Updated 10/17/2007 (6598 days ago)
Assigned 10/04/2007 (6611 days ago)
Resolved 10/17/2007 (6598 days ago)
Github Issue Link
Github Pull Request
Milestone
Patch No

History
10/17/2007 10:43:50 PM Michael Slusarz Comment #6
State ⇒ Resolved
Reply to this comment
This has been resolved by removing the need for an oversize entry 
lookup table.
10/09/2007 05:28:39 PM adrieder (at) sbox (dot) tugraz (dot) at Comment #5 Reply to this comment
Better but the register_shutdown_function thing is somehow messing up
or not preserving the os_keys.
If I write the horde_memcache_os each time _setOSKey() is called
everything seams to be fine.
after having a closer look at this, it seems that the registered 
shutdown function is not always called, could it be that an exit() 
call somewhere prevents it form being called?


10/05/2007 09:13:38 AM adrieder (at) sbox (dot) tugraz (dot) at Comment #4 Reply to this comment
Better but the register_shutdown_function thing is somehow messing up 
or not preserving the os_keys.

If I write the horde_memcache_os each time _setOSKey() is called 
everything seams to be fine.




10/04/2007 08:21:19 PM Michael Slusarz Comment #2
State ⇒ Feedback
Reply to this comment
10/04/2007 08:19:10 PM Chuck Hagenbuch Assigned to Michael Slusarz
State ⇒ Assigned
 
10/04/2007 08:07:17 PM adrieder (at) sbox (dot) tugraz (dot) at Comment #1
Priority ⇒ 1. Low
Type ⇒ Bug
Summary ⇒ memcache broken for oversized items
Due ⇒ 10/05/2007
Queue ⇒ Horde Framework Packages
New Attachment: Memcache.php.patch Download
State ⇒ Unconfirmed
Reply to this comment
the last updates to cvs HEAD break the oversized item handling badly.

The worst case is when the user session gets oversized, then the user 
gets logged out with any click. This happens when a user has 4k of 
messages in his Inbox. I think it is partly related to bugs that I 
tried to fix in the attached patch, and partly to the not correctly 
working shutdown function (it doesn't seem to be called whenever 
necessary). When I disable the register_shutdown_function users with 
an oversized will not be kicked out (with th patch applied).

Saved Queries