[horde] memcached errors...

Stefan Gatterbauer s_gatterbauer at idlm.net
Tue Aug 29 13:38:14 PDT 2006


I have the same situation with memcached-1.1.12, php-4.4.2 + memcache-2.0.4,
eaccelerator-0.9.4, apache-1.3.37 and Horde HEAD (but I don't know a  
solution).

Stefan

Once upon a time (Tue, 29 Aug 2006 14:24:46 -0600), Kevin Konowalec  
<kevin at ualberta.net> wrote :
> Haven't gotten any responses to this so I'll just give this one a bump...
>
>
> Horde: 3.1.2
> Imp: H3 (4.1.2)
>
> We've just switched over to using memcached sessions.  It's SMOKING  
> fast and working well so far but in my logs I'm seeing a LOT of
> "Error retrieving session data" errors.  ie:
>
> Aug 29 13:42:32 webcluster10 HORDE[510]: [horde] Error retrieving  
> session data (id = c8abe116058606a6acc1cf76d97fd769) [on line 83 of  
> "/var/www/horde/lib/Horde/SessionHandler/memcache.php"]
>
> We're running a 12 machine cluster with PF round robining.  Users   
> only have the chance of being redirected to a different server if  
> they sit inactive for 10 minutes - in that case I can see this error  
> making sense since the lockfile is on a different machine.
>
> Note that it's a Horde error.  Imp throws a similar error but ONLY on logout:
>
> Aug 29 13:42:30 webcluster3 HORDE[25341]: [imp] Logout for someuser  
> [xxx.xxx.xxx.xxx] from {yyy.yyy.yyy.yyy:143} [on line 42 of  
> "/var/www/horde/imp/login.php"]
> Aug 29 13:42:30 webcluster3 HORDE[25341]: [imp] Error retrieving  
> session data (id = 28b9358a717b995ed145f74972ed2ccc) [on line 83 of  
> "/var/www/horde/lib/Horde/SessionHandler/memcache.php"]
>
> In this case both process IDs are the same.  My guess is that it's a  
> race condition somewhere that is asking for the session data a split  
> second after the session has been expired.  When Horde throws the  
> error, though,  there is no corresponding entry with the same  
> process ID.
>
> Now this doesn't appear to be causing any problems for users but it  
> IS effectively doubling my log sizes with noise.
>
> So if anyone else is doing it similarly and can tell me if this is   
> normal or if there's something else that needs to be tweaked that'd
> be great!
>
> Thanks!!
>
>
> -- 
> 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



----------------------------------------------------------------
This message was sent using IMP, the Internet Messaging Program.



More information about the horde mailing list