[Catalyst] Problem storing session data
Bill Moseley
moseley at hank.org
Mon Mar 31 15:03:40 BST 2008
On Mon, Mar 31, 2008 at 09:07:02AM +0200, Peter Sørensen wrote:
>
> use Catalyst qw/-Debug
> ConfigLoader
> Static::Simple
> Session
> Session::State::Cookie
> Session::Store::FastMmap
> FastMmap::Cache/;
I don't think that specifying C::P::FastMmap::Cache is required any
more as Cache::FastMmap was updated to work with Catalyst.
> This is working when output is fairly small but if I use a bigger TimeFrame and generate a
> far bigger output table it fails.
>
> I have tried to increase the cache_size like:
>
> __PACKAGE__->config->{session => {
> cache_size => '10m',
> This changes nothing. So now my question:
I think you want to increase page_size.
http://search.cpan.org/~robm/Cache-FastMmap-1.25/FastMmap.pm#PAGE_SIZE_AND_KEY/VALUE_LIMITS
One consequence of this is that you cannot store values larger
than a page in the cache at all. Attempting to store values larger
than a page size will fail (the set() function will return false).
--
Bill Moseley
moseley at hank.org
More information about the Catalyst
mailing list