Excessive JAVA Memory use and Hangs

hi, i’m doing a support in openfire server in a ubuntu 2.6.24-27-server with 2gb of total memory.

The openfire java memory is configured to **-Xms1224m -Xmx2048m **as the **ps -ef | grep openfire show’s up. **

In the most of time, server has las then 50mb of free memory, and the JAva memory is like that


1561,64 MB of 1820,50 MB (85,8%) used

and openfire hangs every time.

I’m new on this software and don’t wanna do anything after ask to any “guru”. So, we have around of 150 client connections.
Do i need all those 2048 mem config to that number of clients ? Can i adjust tha value to something like -Xms512m -Xmx1024m ?

If yes, where do i do that ?

Thank’s a lot.

P.S: Sorry bad english, i’m from Brazil

Hi,

I hope you did read the announcement about PEP / memory usage. Running it with -Xms128m -Xmx512m should be fine for 150 users.

Do you use any plugins like Monitoring or Kraken? Do you use the embedded database?

I think that you need to edit the start script, whereever it is and replace the current values.

LG