java
Reply
 
Thread Tools Search this Thread Display Modes
  #1  
Old 02-03-2012, 15:28
monorailpilot monorailpilot is offline
Junior Member
 
Join Date: Mar 2012
Posts: 3
Default Server continues to crash


So I'm trying to figure out what is going on here. My heap usage is basically growing till it coffin corners, requiring a reboot. I'm *NOT* a java admin, but we only have 3 lightly used plugins installed.

Our server is supporting around 200-250 connections simultaneously on a VM with 768 Megs of RAM. Java memory settings are

-Xms512m -Xmx512m -Xss128k -Xoss128k -XX:ThreadStackSize=128 -XX:+UseParallelGC -XX:+AggressiveHeap
Reply With Quote
  #2  
Old 03-03-2012, 21:36
kjkoster kjkoster is offline
Forum Operator
 
Join Date: Jul 2008
Posts: 1,119
Default

Dear monorailpilot,

This looks like a memory leak to me. Most likely in one of the plugins. You can try running without each of them for a few days to see if that helps.

Here is an earlier thread on the subject of Openfire and memory. Perhaps the advise from tmark is useful to you?

Hope this helps.

Kees Jan
Reply With Quote
  #3  
Old 03-03-2012, 22:14
monorailpilot monorailpilot is offline
Junior Member
 
Join Date: Mar 2012
Posts: 3
Default

Quote:
Originally Posted by kjkoster View Post
Dear monorailpilot,

This looks like a memory leak to me. Most likely in one of the plugins. You can try running without each of them for a few days to see if that helps.

Here is an earlier thread on the subject of Openfire and memory. Perhaps the advise from tmark is useful to you?

Hope this helps.

Kees Jan
Thanks, I've added two of the three settings there. Kicking idle MUC users really needs to be my last option. I already had the flush settings recommended. I am only running the presence service and user service plugins, both of which are needed for administration (Though I think I can get around needing the presence service). In both of these cases, usage of the services is *very* low. Presence is used maybe 400 times a day total and user service about 10-12.

We are already on 64 bit java which was the last recommendation in that thread from another user.
I'll let you know how it goes.
Reply With Quote
  #4  
Old 04-03-2012, 15:41
monorailpilot monorailpilot is offline
Junior Member
 
Join Date: Mar 2012
Posts: 3
Default

After disabling xmpp.pep and putting a max lifetime on the cache, we're stable, GC is occurring less frequently and memory heap is averaging only about 2% more now then at server start.

Looks like xmpp.pep is the likely memory leak culprit as we noticed growth previously far before that max cache lifetime would kick in.
Reply With Quote
  #5  
Old 04-03-2012, 21:43
kjkoster kjkoster is offline
Forum Operator
 
Join Date: Jul 2008
Posts: 1,119
Default

Dear monorailpilot,

Good news!

Kees Jan
Reply With Quote
Reply

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump