We are seeing this after only about 250 connections
INFO | jvm 1 | 2018/09/10 08:43:32 | E [i.m.s.i.ProtocolProcessor ] [12:43:32]: Maximum active connection reached. Connection refused, server unavailable. CId=mimic/mqtt/00251
Yes - MQTT Distributor is limited in number of client connections. In trail mode - it runs as Distributor Plus which supports 250 clients. When licensed, it can be licensed as āplusā or āstandardā. As plus it will remain with a 250 client limitation, and as standard it will have a 50 client limitation.
The MQTT Distributor Module and any server compliant with the 3.1.1 MQTT protocol OASIS standard.
By āand any server compliant with the 3.1.1 MQTT protocol OASIS standardā I understand
that there is an alternative to āMQTT Distributorā.
Are there instructions to link with a server other than MQTT Distributor so that we can
overcome this limit? We want to go to 10,000 connections, at the very least.
Ok, we are running with IBM MessageSight, and are trying to get to 10,000 EON nodes
and are unable to do so. We have tried 3 times (each cycle taking about half an hour
including bookkeeping, evidence gathering, rebooting Ignition, etc). So far 100% reproducible
in the couple of times we tried.
It failed at 7500, 8300+ and 4000+ nodes, so it does not appear to be a hard limit.
This wrapper.log message seems to accompany the failure:
INFO | jvm 1 | 2018/09/17 09:59:38 | Exception in thread "Thread-22" java.util.ConcurrentModificationException
INFO | jvm 1 | 2018/09/17 09:59:38 | at java.util.HashMap$HashIterator.nextNode(HashMap.java:1442)
INFO | jvm 1 | 2018/09/17 09:59:38 | at java.util.HashMap$EntryIterator.next(HashMap.java:1476)
INFO | jvm 1 | 2018/09/17 09:59:38 | at java.util.HashMap$EntryIterator.next(HashMap.java:1474)
INFO | jvm 1 | 2018/09/17 09:59:38 | at java.util.HashMap.putMapEntries(HashMap.java:512)
INFO | jvm 1 | 2018/09/17 09:59:38 | at java.util.HashMap.putAll(HashMap.java:785)
INFO | jvm 1 | 2018/09/17 09:59:38 | at com.cirruslink.mqtt.engine.gateway.EdgeNodeManager.getAllEdgeNodes(EdgeNodeManager.java:84)
INFO | jvm 1 | 2018/09/17 09:59:38 | at com.cirruslink.mqtt.engine.gateway.EngineWorker.run(EngineWorker.java:136)
INFO | jvm 1 | 2018/09/17 09:59:38 | at java.lang.Thread.run(Thread.java:748)
We have screenshots, videos, that we can share to diagnose this and of course can reproduce this
any time. Everything seems fine on the MIMIC and MessageSight side (ie. 10k connections established
and maintained).