Коллеги я установил новую версию openfire 4.3.2, но а процессе работы
возникли проблемы. Вот текущая ошибка у меня:
org.jivesoftware.util.cache.DefaultCache - Cache Roster was full, shrinked to 90% in 0ms.
Как увеличить кеш на сервере Openfire?
Была такая же проблема.
Поискал в интернете и нашел примерный список параметров которые надо установить в настройках сервера.
|cache.group.maxLifetime |3600000|
|cache.group.size |5242880|
|cache.groupMeta.size |2097152|
|cache.Roster.size |10485760|
|cache.userCache.size |2097152|
|cache.userGroup.maxLifetime |3600000|
|cache.userGroup.size |5242880|
|cache.username2roster.size |10485760|
|cache.vcardCache.size |10485760|
Как точно вводить в параметрах я не скажу на память, но выглядят эти параметры сейчас именно так.
После этих настроек и перезагрузки Openfire в логах перестало появляться это сообщение.
Messages like “Cache Roster was full, shrinked to 90% in 0ms.” are not errors. They indicate that a cache is simply being used heavily. You can look at the performance of the cache in the Openfire Admin Console (Server > Server Manager > Cache Summary). Only when the effectiveness of the cache is bad and a lot of culls are reported, increasing the cache size will help. Increasing the cache size is done by setting properties, like NickV-P showed.