[Catalyst] Deleting the expired session files?

Tomas Doran bobtfish at bobtfish.net
Mon Sep 6 12:02:24 GMT 2010


On 4 Sep 2010, at 20:27, Darren Duncan wrote:

> Have you tried using the FastMMap store instead?  I understand this  
> can automatically expire sessions.  The main caveat that I'm aware  
> of is that it is unreliable in a multi-thread environment. -- Darren  
> Duncan
>

s/in a multi-thread environment//. Also doesn't work if you're ever  
likely to have more than one web server, etc..

Also, FastMMap expires one memory page (per 4k) at once, which means  
that which sessions get expired can be entirely unexpected.

Cheers
t0m




More information about the Catalyst mailing list