tomcat-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Christopher Schultz <ch...@christopherschultz.net>
Subject Re: Help with PersistenceManager
Date Fri, 17 Apr 2009 15:47:19 GMT
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Vinicius,

On 4/14/2009 3:45 PM, Vinicius Carvalho wrote:
> Well, We are running out of Old space very, very quickly (2gb for old
> space), and I was wondering if using the PersistenceManager would help
> us, but at the docs it says its not fully tested.

Some folks appear to be using it, but I suspect it is not /widely/ used.
Then again, a possibly buggy session persistence mechanism is probably
better than the standard implementation that will definitely crash your
JVM after a while. :)

> One question I have is how many sessions does it store in memory and
> how many goes to disk? What's the policy of the LRU implementation?

I don't believe you can control these settings. The documentation
doesn't even say that LRU is used.... it's all about idleness: if a
session is idle for a specified amount of time, it gets stored and
evicted from memory.

- -chris
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.9 (MingW32)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/

iEYEARECAAYFAknopIcACgkQ9CaO5/Lv0PDD4ACghiCVdLSeahUOfZe384YjxWJ8
M2AAni2mOaT3kgO2jIm+hS6Tz11U/trr
=L6DC
-----END PGP SIGNATURE-----

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@tomcat.apache.org
For additional commands, e-mail: users-help@tomcat.apache.org


Mime
View raw message