[horde] Memcache server questions

Kevin Konowalec webadmin at ualberta.ca
Mon Nov 17 00:57:48 UTC 2008


Michael:

How do you set memcache up to do that?  At the moment we have a  
cluster of servers that horde points at but if any one of those  
servers goes down the sessions stored on it are lost.  How can you set  
it up so memcache servers are truly redundant (ie so sessions are not  
lost if one machine fails)?

K


On Nov 16, 2008, at 3:26 PM, Michael M Slusarz wrote:

> Quoting Steve Devine <sd at msu.edu>:
>
>>> Sounds like you are running into the bug that was fixed via this  
>>> series of patches (these patches are to Horde 3.3):
>>> http://cvs.horde.org/diff.php/framework/SessionHandler/SessionHandler/memcache.php?r1=1.1.2.8&r2=1.1.2.11
>>>
>>> These fixes will be a part of Horde 3.3.1.
>
> [snip]
>
>> Michael
>> A little clarification please. Are you saying that with the above  
>> patch an array of front end servers will actively use an array of  
>> memcache servers and that users on these front ends will be able to  
>> pass between these front end servers with out losing session data?
>
> You don't need these patches to do what you are asking - memcache  
> was designed to be able to be independent of the front end (it is  
> one of the ways to replace file-based sessions which, without some  
> sort of NFS-like setup, is stuck to a single server per session).
>
> The patch above fixes the problem that someone mentioned in the  
> thread that all users are thrown off every once in awhile when using  
> memcache session handling.  This was due to a race condition in  
> writing the session lookup table, and is fixed by the patch I gave.
>
> michael
>
> --
> Horde mailing list - Join the hunt: http://horde.org/bounties/#horde
> Frequently Asked Questions: http://horde.org/faq/
> To unsubscribe, mail: horde-unsubscribe at lists.horde.org
>



More information about the horde mailing list