Summary | memcached session locking |
Queue | Horde Framework Packages |
Queue Version | HEAD |
Type | Enhancement |
State | Resolved |
Priority | 1. Low |
Owners | Horde Developers (at) |
Requester | adrieder (at) sbox (dot) tugraz (dot) at |
Created | 11/03/2005 (7194 days ago) |
Due | |
Updated | 02/22/2007 (6718 days ago) |
Assigned | 11/03/2005 (7194 days ago) |
Resolved | 12/02/2005 (7165 days ago) |
Milestone | |
Patch | No |
instead of relying on a shared file system for locking?
the function _unlockSession() should not take a parameter at line 233
without an $id, it's doing nothing.
I think this patch would be desired behaviour - remove the flock,
then remove the file itself.
call to _unlockSession fails.. I missed the introduction of the $_fp
resource. In which case, the original patch is more or less correct.
New Attachment: memcached.php[2].patch
The close() function doesn't have an argument. I attached a patch
which should deal with this problem,
without an $id, it's doing nothing.
I think this patch would be desired behaviour - remove the flock, then
remove the file itself.
New Attachment: memcached.php[1].patch
The close() function doesn't have an argument. I attached a patch
which should deal with this problem,
State ⇒ Resolved
people having trouble with memcached are using.
means we do not see the "message not found" problem anymore.
One thing is which I had do do additionally: Clean the tmp dir from
stale session locks from time to time. Cronjob: find /tmp/lock_* \(
-type f -amin +120 \) -exec rm -f {} \;
State ⇒ Feedback
people having trouble with memcached are using.
State ⇒ Assigned
The idea and solution is based on Gary Windham's <windhamg@email.arizona.edu>
memcached_flock driver. He kindly provided the code.
Priority ⇒ 1. Low
Type ⇒ Enhancement
Summary ⇒ memcached session locking
Queue ⇒ Horde Framework Packages
New Attachment: memcached.php.patch
State ⇒ New
found" issue, which is due to no serialization of concurrent session
access.