Skip to content

openfire 4.0.1 slow performance #16

@hugokoopmans

Description

@hugokoopmans

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: hugo@sccss-test.sensingclues.com/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

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions