AnsweredAssumed Answered

Openfire 3.6.4 memory leak with Empathy

Question asked by ogryn on Oct 12, 2009
Latest reply on Nov 30, 2012 by ewolkowicz

Hi all,


We've just installed Opefire 3.6.4 using the RPM from this site (with the bundled JRE). We have about 60 users, using a mixture of Spark, Empathy, Pidgin 2.5.5 and something called SJPhone.


We seem to be getting a leak, where memory just keeps going up until the server falls over. The machine has 1GB of RAM, with 768MB Max for the JVM.


The "Environment" section currently looks like this:


Java Version:1.6.0_03 Sun Microsystems Inc. -- Java HotSpot(TM) Server VM
OS / Hardware:Linux / i386
Locale / Timezone:en / Greenwich Mean Time                     (0 GMT)
Java Memory
657.56 MB of 759.50 MB (86.6%) used


This seems unacceptably high. The GC from Java releases a little each time, but after about a day or so it's usually all used up and the server falls over.


The plugins installed are: Broadcast, Client Control, Monitoring, Presence, User Search, User Import/Export


Database is MySQL. Remote Services Disabled. Connection Manager Disabled. Media Proxy Disabled.


Current Users
Low:                                 059High:                                 60



Active Conversations
Low:                                 07High:                                 13


Packets Per Minute
Low:                                 8191High:                                 461



I'd like to start using this server for more users via the http-bind functionality and strophejs, but need to get this leaky problem sorted out first. Any ideas why this could be happening?


All I can think of doing is upgrading the Java version but I get a feeling this won't solve the issue.


Many thanks in advance