|  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Bug #73795 session handler fail over not fully working
Submitted: 2016-12-20 14:57 UTC Modified: 2021-06-09 11:55 UTC
Avg. Score:3.0 ± 0.0
Reproduced:0 of 0 (0.0%)
From: justin at webslice dot eu Assigned: cmb (profile)
Status: Closed Package: memcached (PECL)
PHP Version: 5.6.29 OS: Redhat 6.8
Private report: No CVE-ID: None
 [2016-12-20 14:57 UTC] justin at webslice dot eu
Initially I have tested with the default php-5.3.3 RH php_mod version and php-pecl-memcached-1.0.0-1.el6.x86_64.
Then I tested php56 with more-php56-php-pecl-memcached-2.2.0-7.el6.x86_64.rpm, but got the same results.

I'm testing php_memcached with 2 memcache backends.
I have a script running that creates a session though php and than checks with memcached-tool if both memcached backends have this session.

I use repcached als memcached backend.

This works fine.
But when I stop one of the memcache backends I see that the server with memcached stopped still regularly is called to set the session and it is not retried on the online memcached service, meaning setting this session fails.

config used:

session.save_handler = memcached
session.save_path = ","

Test script:
if needed let me know.

Expected result:
The remaining memcached backend should have the session set.

Actual result:
The remaining memcached backend does not have the session set.


kievlywm (last revision 2017-01-30 15:49 UTC by sample at email dot tst)

Add a Patch

Pull Requests

Add a Pull Request


AllCommentsChangesGit/SVN commitsRelated reports
 [2021-06-09 11:55 UTC]
-Status: Open +Status: Closed -Assigned To: +Assigned To: cmb
 [2021-06-09 11:55 UTC]
The memcached bug tracker is now on Github[1].  If this is still
an issue with the current memcached version, please report there.

[1] <>
PHP Copyright © 2001-2024 The PHP Group
All rights reserved.
Last updated: Mon May 20 19:01:33 2024 UTC