Wednesday, April 7, 2010

Openfire Issue Running out of Java Memory

We faced an issue with our environment running Openfire 3.6.4 on Debian. The issue was prevalent for some time and we had setup at least 3 Openfire servers which always encounters the same bug.

The tricky part with the issue is that when you have your jabber client running, it continues to function as per normal. It allows you to send IM messages to others or at least you thought only to realize that the other party has not received any of your messages. For new users trying to logon, they will be greeted with the "invalid username or password" error prompt.

Checking at the server will show the high utilization of Java Memory. Openfire forums will usually direct you to increase the JAVA VM, for our case the issue was still prevalant after performing steps on this link.

http://www.igniterealtime.org/community/thread/40364

For those running the Windows platform, they can use this link

http://www.igniterealtime.org/community/message/186030#186030

What actually solved our issue was to disable some jabber clients such as Empathy and setting this property on server properties.

xmpp.pep.enabled to: false

Check out this link. Restart Openfire service and you should be good to go.

http://www.igniterealtime.org/community/message/198454#198454