Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

openfire 4.0.1 slow performance #16

Open
hugokoopmans opened this issue Jun 8, 2016 · 0 comments
Open

openfire 4.0.1 slow performance #16

hugokoopmans opened this issue Jun 8, 2016 · 0 comments

Comments

@hugokoopmans
Copy link

hugokoopmans commented Jun 8, 2016

Hi,

I have used this docker succesfully to initialize a working openfire 4.0.1 container.
Works great but ...

I have really bad performance.

I have opened a threat on the openfire forum here but maybe someone here can also point me in the right direction to tune the docker container.

The JVM uses 120MB of the claimed 880 MB which according to the openfire docs would be sufficient for well over 500 concurrent users.

If I look at docker stats

CONTAINER              CPU %               MEM USAGE / LIMIT     MEM %               NET I/O               BLOCK I/O             PIDS
sccsstest_sccof401_1   0.22%               375.4 MB / 4.145 GB   9.06%               14.91 MB / 31.42 MB   367.9 MB / 13.83 MB   0
sccsstest_scctc100_1   0.00%               6.042 MB / 4.145 GB   0.15%               25.14 kB / 648 B      491.5 kB / 0 B        0
sccsstest_sccml804_1   0.27%               1.831 GB / 4.145 GB   44.18%              9.596 MB / 8.481 MB   8.278 GB / 48.55 GB   0
sccsstest_sccnr100_1   0.00%               42.86 MB / 4.145 GB   1.03%               24.45 kB / 648 B      5.894 MB / 0 B        0
sccsstest_sccmt100_1   64.57%              170.4 MB / 4.145 GB   4.11%               648 B / 648 B         53.64 MB / 376.8 kB   0
sccsstest_scccluey_1   2.94%               189.3 MB / 4.145 GB   4.57%               1.252 MB / 26.84 MB   11.29 MB / 131.1 kB   0

I can see the openfire container (first line) actually uses 367 MB so no swapping or anything wierd afaik.

The tail of the log tries to close sessions which are no lionger used not sure how to get ride of these.

Tail log:

2016.06.08 10:03:30 org.jivesoftware.openfire.http.HttpSessionManager - Closing idle session: [email protected]/7ljbb8wp6a
2016.06.08 10:06:38 org.jivesoftware.openfire.session.LocalOutgoingServerSession[Create outgoing session for: sccss-test.sensingclues.com to proxy.eu.jabber.org] - Unable to create new session: Cannot create a plain socket connection with any applicable remote host.
2016.06.08 10:07:02 org.jivesoftware.openfire.session.LocalOutgoingServerSession[Create outgoing session for: sccss-test.sensingclues.com to proxy.eu.jabber.org] - Unable to create new session: Cannot create a plain socket connection with any applicable remote host.

Performance is 30 seconds + up to minutes...

Any clue or direction how to tackle this?

Regards,

hugo

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant