Hi,
I have installed openfire 3.6.4. on linux
java version “1.6.0_13”
All went well, but i have a memory leak, atleast if i read the posts about this problem correct.
So i start with 36 % mem and when it reaches 56 % i get 99,9 % utilization.
One discussion said i should set
xmpp.pep.enabled false
an other said to set
cache.username2roster.maxLifetime an chache.username2roster.size
The post was not clear so i did
cache.username2roster.maxLifetime JiveConstants.MINUTE * 10
cache.username2roster.size 419430400
I got the impression things where beter this morning after adding the above properties … but… after 1/2 a day it got back to 99,9 % utilization.
I get the impression it has to do with the bosh_service i am using.
People access openfire though a web page.
I have lots of errors in the error.log but i have no idea what to look for
Anyone any idea how to solve this problem ?
Peter
LG1
April 23, 2010, 6:31pm
2
Hi,
you may want to create a heap dump and upload it somewhere so one can look at it.
LG
Hi,
Addition on my post.
The server is not crashing, i have it up and running now for 3 days.
The utilization stays at 99,x % and memory use is 50,x %
I do not know why the server gets to 99,x % utilization, as i reboot it, it stays low for some hours, and then goes up to 99,x % and stays there.
Any suggestions ?
Peter
LG1
April 26, 2010, 4:55pm
4
Hi Peter,
with 50% mem and 100% cpu usage you may want to read http://www.igniterealtime.org/community/docs/DOC-1033#Linux_native_to_java_threa d_mapping and post the javacore along with the info you get (the nid of the thread which is consuming so much CPU cycles) here.
Creating a javacore usually takes a few seconds and can be done often without affecting the application (it will hang while the javacore is generated).
LG