| Summary | memcached session locking |
| Queue | Horde Framework Packages |
| Queue Version | HEAD |
| Type | Enhancement |
| State | Resolved |
| Priority | 1. Low |
| Owners | Horde Developers |
| Requester | adrieder (at) sbox (dot) tugraz (dot) at |
| Created | 11/03/2005 (1162 days ago) |
| Due | |
| Updated | 02/22/2007 (686 days ago) |
| Assigned | 11/03/2005 (1162 days ago) |
| Resolved | 12/02/2005 (1133 days ago) |
| Attachments | memcached.php[1].patch ![]() memcached.php.patch ![]() |
| 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
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
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.
Assigned to
The idea and solution is based on Gary Windham's <windhamg@email.arizona.edu>
memcached_flock driver. He kindly provided the code.
State ⇒ New
Priority ⇒ 1. Low
Type ⇒ Enhancement
Summary ⇒ memcached session locking
Queue ⇒ Horde Framework Packages
New Attachment: memcached.php.patch
found" issue, which is due to no serialization of concurrent session
access.