php.net |  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Request #58726 Add an option to turn off session locking
Submitted: 2009-06-17 12:51 UTC Modified: 2021-03-25 16:28 UTC
Votes:4
Avg. Score:5.0 ± 0.0
Reproduced:3 of 3 (100.0%)
Same Version:0 (0.0%)
Same OS:1 (33.3%)
From: php at sagi dot org Assigned: cmb (profile)
Status: Closed Package: memcache (PECL)
PHP Version: 5.2.9 OS: Linux
Private report: No CVE-ID: None
View Developer Edit
Welcome! If you don't have a Git account, you can't do anything here.
If you reported this bug, you can edit this bug over here.
Block user comment
Status: Assign to:
Package:
Bug Type:
Summary:
From: php at sagi dot org
New email:
PHP Version: OS:

 

 [2009-06-17 12:51 UTC] php at sagi dot org
Description:
------------
The session locking behavior that was introduced in pecl-memcache 3.0.4 is a major behavioral change that may not be wanted in some cases (i.e. highly concurrent pages where absolute consistency is not required).

There should be an option to turn it off.


Patches

Pull Requests

History

AllCommentsChangesGit/SVN commitsRelated reports
 [2011-11-25 12:48 UTC] sergio at gruposinternet dot com dot br
Agree with this request.

At my work we use memcached as session storage, but the 3.x was giving us trouble with our high traffic servers. As a workaround, we reverted to 2.x series just to avoid the session locking issue.
 [2021-03-25 16:28 UTC] cmb@php.net
-Status: Open +Status: Closed -Assigned To: +Assigned To: cmb
 [2021-03-25 16:28 UTC] cmb@php.net
The official bug tracker for PECL/memcache is now at
<https://github.com/websupport-sk/pecl-memcache/issues>.

So, if this is still an issue with either of the current memcache
versions (4 or 8), please file an issue there.
 
PHP Copyright © 2001-2025 The PHP Group
All rights reserved.
Last updated: Tue Jul 01 02:01:36 2025 UTC