[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

redundant memcached's for php sessions



Hi,

I'm trying to run memcached in a redundant fashion. I installed the
php5-memcache module and installed memcached on two different hosts.
It all works pretty well as long as both memcached's stay up and
running. If I shut down one, I'm getting segfaults on the server on
pages that start sessions.

[Thu May 31 01:31:43 2012] [notice] child pid 11941 exit signal
Segmentation fault (11)

I'm using this configuration as php memcache configuration:

memcache.hash_strategy=consistent
memcache.allow_failover=1
memcache.redundancy=1
memcache.session_redundancy=2

... which logically should write all session data to two nodes and
fail over between memcache nodes (ie, read from the second node if the
first goes down). I can't pinpoint why I'm getting crashes instead of
failover.

-- 
Frank Van Damme
No part of this copyright message may be reproduced, read or seen,
dead or alive or by any means, including but not limited to telepathy
without the benevolence of the author.


Reply to: