[horde] Session issues?

Kevin Konowalec webadmin at ualberta.ca
Fri Aug 29 14:29:32 UTC 2008


On 29-Aug-08, at 1:12 AM, Michael M Slusarz wrote:
>>
>
> This is what I came up with:
> http://lists.horde.org/archives/cvs/Week-of-Mon-20080825/082646.html
>
> Essentially, removed all lifetime calls from memcache driver  
> because memcache doesn't care about garbage collection - it will gc  
> automatically when the pool is full.  Thus, using  
> session.gc_maxlifetime doesn't make much sense to use here.
>
> A couple of other points, while on the memcache topic.  First, 6GB  
> of memcache seems a little low for a decent sized installation,  
> especially if using memcache as the caching driver.  Even if you  
> have 32-bit machines, you can still get 3GB+ per machine easily.   
> Or, better yet, take the splurge and buy a couple of cheap 64-bit  
> boxes instead.  The great thing about memcache is that it doesn't  
> need powerful, server-grade hardware to run.  In fact, that is  
> overkill.  Any cheap 64-bit box is going to be plenty powerful  
> enough to handle the memcache load.  Quite honestly, your  
> bottleneck will come from the network traffic to/from the memcache  
> server/PHP server, and most likely the network infrastructure will  
> be the limiting factor, not the network I/O speed on any given  
> interface card.
>
> Also, absolutely no reason to reboot memcache every night.  In  
> fact, I highly recommend you don't, especially if you are caching  
> with memcache also.  Rebooting simply loses all those hardearned  
> mailbox/message caches that your servers labored to build every day.
>
> This stuff should probably go in the wiki/FAQ.  But I've been  
> dealing with the DNC all week and I am beat so maybe someone else  
> could be kind enough to start a page and stick it up there.
>
> michael
>


6 Gigs is low?  That likely explains part of the problem.  I was  
under the impression that with the new version of horde the session  
data written to memcache was significantly smaller than the previous  
version (I could have sworn I read session data was around 1MB per  
user).  I've got a bunch of machines ready to go that will  
essentially double my memcache pool - does 12 Gigs seem reasonable  
for a big installation or should I find more?

Thanks!!

K


More information about the horde mailing list