php.net |  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Bug #76465 Getting session_start(): Unable to clear session lock record
Submitted: 2018-06-13 07:37 UTC Modified: -
Votes:25
Avg. Score:4.2 ± 0.9
Reproduced:24 of 24 (100.0%)
Same Version:9 (37.5%)
Same OS:6 (25.0%)
From: kmurugan1987 at gmail dot com Assigned:
Status: Open Package: memcached (PECL)
PHP Version: 7.0.30 OS:
Private report: No CVE-ID: None
Welcome back! If you're the original bug submitter, here's where you can edit the bug or add additional notes.
If this is not your bug, you can add a comment by following this link.
If this is your bug, but you forgot your password, you can retrieve your password here.
Password:
Status:
Package:
Bug Type:
Summary:
From: kmurugan1987 at gmail dot com
New email:
PHP Version: OS:

 

 [2018-06-13 07:37 UTC] kmurugan1987 at gmail dot com
Description:
------------
We configured session store as memcached, it was working fine in PHP 5.6.X,
after upgraded to PHP 7.0.30, when we start session its throwing error as "session_start(): Unable to clear session lock record", below are the configuration we are using,

PHP Version 7.0.30
memcached   3.0.3
libmemcached version  1.0.18
ZendFramework 2.4.13

below are the memcached settings configured in ini,

memcached.sess_lock_expire => 0 => 0
memcached.sess_lock_max_wait => not set => not set
memcached.sess_lock_retries => 5 => 5
memcached.sess_lock_wait => not set => not set
memcached.sess_lock_wait_max => 2000 => 2000
memcached.sess_lock_wait_min => 1000 => 1000
memcached.sess_locking => 1 => 1
memcached.sess_number_of_replicas => 0 => 0
memcached.sess_persistent => 0 => 0
memcached.sess_prefix => memc.sess. => memc.sess.

also we have tried with below configuration changes,

memcached.sess_lock_retries => 10 => 10 // 50 also tried
memcached.sess_lock_wait_max => 150 => 150
memcached.sess_lock_wait_min => 150 => 150

session.lazy_write => Off => Off

but it didn't work, keep on getting "session_start(): Unable to clear session lock record"


Patches

Add a Patch

Pull Requests

Add a Pull Request

 
PHP Copyright © 2001-2020 The PHP Group
All rights reserved.
Last updated: Wed Nov 25 20:01:23 2020 UTC