Projects tigase _server server-core Issues #177
External MUC Component connection gets terminated periodically (#177)
Jon Ferguson opened 1 decade ago

When running a load of users continuously (not a large load) on a 2 node tigase cluster connected to a 2 node MUC 'cluster' through the ReceiverBareJidLB we find that the connection between the Component and server periodically gets dropped.

This results in lost messages and internal errors like this one:

2012-12-12 07:15:10 AbstractMessageReceiver$QueueListener.run() SEVERE: [in_5-ext] Exception during packet processing: from=null, to=null, DATA=Tue Dec 11 23:15:07 2012, SIZE=159, XMLNS=null, PRIORITY=NORMAL, PERMISSION=NONE, TYPE=groupchat

java.util.ConcurrentModificationException

    at java.util.AbstractList$Itr.checkForComodification(AbstractList.java:372)

    at java.util.AbstractList$Itr.next(AbstractList.java:343)

    at tigase.server.ext.ComponentProtocol.getXMPPIOService(ComponentProtocol.java:914)

    at tigase.server.ext.ComponentProtocol.getXMPPIOService(ComponentProtocol.java:81)

    at tigase.server.ConnectionManager.writePacketToSocket(ConnectionManager.java:913)

    at tigase.server.ConnectionManager.processPacket(ConnectionManager.java:514)

    at tigase.server.AbstractMessageReceiver$QueueListener.run(AbstractMessageReceiver.java:1337)

Which I see on the MUC component node side. Looks like the ComponentConnection ArrayList gets modified (new connections coming up?) while iterating over the list during attempted send of messages to users from the MUC.

Artur Hefczyc commented 1 decade ago

There is a bug in the code obviously and I have just fixed it. However, this error indicates a potential problem with your installation. I suggest to look at it, how often and why your external component gets disconnected. Maybe default traffic throttling settings are too low, we will look at it: http://www.tigase.org/content/initproperties#cm-ht-traffic-throttling

Artur Hefczyc commented 1 decade ago

Applied in changeset tigase-server|commit:5a258bd02057a16546f6763b0d3302445bf91325.

Jon Ferguson commented 1 decade ago

You are correct.. Working with an old server I forgot we had the throttle setting.

issue 1 of 1
Type
Bug
Priority
Major
Assignee
RedmineID
987
Version
tigase-server-5.2.0
Issue Votes (0)
Watchers (0)
Reference
tigase/_server/server-core#177
Please wait...
Page is in error, reload to recover