Cache Roster was full, shrinked to 90% in 0ms

Hi

I am receveing on logs this message too often:

2011.10.11 13:03:19 Cache Roster was full, shrinked to 90% in 0ms.

2011.10.11 13:03:22 Cache Roster was full, shrinked to 90% in 0ms.

2011.10.11 13:03:39 Cache Roster was full, shrinked to 90% in 0ms.

2011.10.11 13:03:51 Cache Roster was full, shrinked to 90% in 0ms

My properties are:

“cache.userGroup.size”;“3932160”

“cache.username2roster”;“1048576”

“cache.username2roster.maxLifetime”;“150000”

“cache.vcardCache.maxLifetime”;"150000 "

“cache.vcardCache.size”;“3932160”

Memory statistic are:

free -m

total used free shared buffers cached

Mem: 1792 814 977 0 125 298

-/+ buffers/cache: 391 1400

Swap: 1055 60 995

Process is run as follows:

/opt/openfire/jre/bin/java -server -Xms32m -Xmx1280m -Dsun.security.ssl.allowUnsafeRenegotiation=true -DopenfireHome=/opt/openfire -Dopenfire.lib.dir=/opt/openfire/lib -classpath /opt/openfire/lib/startup.jar -jar /opt/openfire/lib/startup.jar

Once a week more or less I get an “java.lang.OutOfMemoryError: Java heap space”

I’ve read the message about pep and disabled it. So I hope that it fixes. I wonder if openfire 3.7.1 fixes that problem…

Thanks in advance!

3.7.1 is not addressing PEP memory leak, so you should keep it disabled. This is one of the causes of OOM errors. So wait and see if disabling of PEP fixes your problem.

OK, but the

“Cache Roster was full, shrinked to 90% in 0ms” messages keep on appearing…

Is that something wrong about it?

thanks in advance

Don’t know what this message means and why does it appear. Can’t help you with that.

Is it a problem? when is this roster cache full? Or is it okay? Should I increase it? Thanks

If you’re getting a lot of these messages (on a recent build of Openfire) it does indicate that the Cache may be too small for your system - in which case increasing it (if you have sufficient memory) may help improve performance.

Greg