Quantcast
Channel: Ignite Realtime : Unanswered Discussions - Support
Viewing all articles
Browse latest Browse all 4979

Possible workaround for users experiencing high cpu or memory under linux

$
0
0

I've noticed some users have posted that they are having problems with openfire under linux.  It seems that most have been under debian/ubuntu. 

 

Before I get started, I should let you know that I'm a windows guy, and a complete linux nube!

 

The issue appears to be that after a few hours or days, the server would stop accepting connections, cpu or memory will be maxed.  This would require the server (or process) to be restarted.

 

I finally set up a test server.  I may have reproduce the issue, and after some research and testing, I believe I have a workaround.

 

I was able to regain stability by tuning malloc. I set the environment variable MALLOC_ARENA_MAX=4. From my research 1,2,4 are all good places to started, with 4 being the most recommended.

 

test at your own risk!

I would like feeback from the linux gurus!

 

tested with

ubuntu 14.04.3 lts (vmware virtual server)

1 vcpu

2gb ram

oracle java 8u60 x64

openfire 3.10.2 deb install package

stresstest script with 3k concurrent connections.

 

 

 

 

 


Viewing all articles
Browse latest Browse all 4979

Trending Articles