java
Reply
 
Thread Tools Search this Thread Display Modes
  #1  
Old 07-04-2012, 07:37
shashankaholic shashankaholic is offline
Junior Member
 
Join Date: Apr 2012
Posts: 1
Default Openfire server crash regularly


Can someone pls tell me whats wrong here ?
Server is crashing 3 time in 10 minutes. We have very basic chat functionality minus chat rooms,file transfer with 4-5 concurrent users. Then also it is giving so poor performance.
Reply With Quote
  #2  
Old 17-04-2012, 12:38
kjkoster kjkoster is offline
Forum Operator
 
Join Date: Jul 2008
Posts: 1,123
Default

Dear shashankaholic,

From this graph I'd say that your server needs a bit more memory to work with. Perhaps you can configure it to use (say) 512MB to see if that improves your situation?

You can use Java's -Xmx flag to set the limit of the heap memory pool.

Kees Jan
Reply With Quote
  #3  
Old 13-09-2012, 14:39
Barry Barry is offline
Moderator
 
Join Date: Jul 2008
Posts: 106
Default

Hi Kees Jan.

What would be a safe heap size for a departmental OpenFire setup? (say 40 people using it, no weird plugins)

We had ours crash today with an out of heap and it runs with -Xmx512m
Reply With Quote
  #4  
Old 14-09-2012, 07:27
kjkoster kjkoster is offline
Forum Operator
 
Join Date: Jul 2008
Posts: 1,123
Default

Dear Barry,

Well, you can always install the Java-monitor plugin for Openfire and tell for yourself.

From what little I know from Openfire it is quite memory hungry. Also you need to keep a eye on the permgen. The user ID's are interned for locking purposes, so Openfire leans on the string pool quick hard.

What exact exception do you get?

Kees Jan
Reply With Quote
  #5  
Old 03-12-2012, 12:41
Jabber-Server-de Jabber-Server-de is offline
Junior Member
 
Join Date: Aug 2009
Posts: 6
Default

You need to allocate more memory to the java heap. Approx. 512mb up to 968mb should be enough. (In case of 40 registered and active people).
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