I want to support around 100K mqtt connections using activemq. The activemq server is rejecting connections beyond 30K. How to tune activemq to support more number of connections. I have tried the following
transportConnector name="mqtt" allowLinkStealing="true" uri="mqtt+nio://0.0.0.0:1883?maximumConnections=100000&wireFormat.maxFrameSize=104857600&transport.defaultKeepAlive=60000&transport.closeAsync=false&useQueueForAccept=false
in activemq.xml
but of no use.
I did some unix kernel tuning for number of open file fds to 100000.
Any one solved this problem ?