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:4
Avg. Score:4.8 ± 0.4
Reproduced:4 of 4 (100.0%)
Same Version:3 (75.0%)
Same OS:1 (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
View Add Comment Developer Edit
Welcome! If you don't have a Git account, you can't do anything here.
You can add a comment by following this link or if you reported this bug, you can edit this bug over here.
Block user comment
Status: Assign to:
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-2018 The PHP Group
All rights reserved.
Last updated: Thu Oct 18 05:01:25 2018 UTC