activemq-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From bansalp <>
Subject CurrentConnectionsCount seems to give incorrect value.
Date Thu, 25 Dec 2014 07:00:09 GMT

There is a difference of some 40 odd connection between value provided by
current connections count and what I get by using lsof command and by
counting individual connection count from activemq admin command.

1. CurrentConnectionsCount:
activemq-admin query  --view CurrentConnectionsCount --jmxurl

2. lsof : 
lsof -iTCP -a -sTCP:^LISTEN -a -p pid

3. Counting each connection:
activemq-admin query --objname
--jmxurl service:jmx:rmi:///jndi/rmi://localhost:9006/jmxrmi

Value from 2nd and 3rd command matches, but value of 1st command is lesser
than value of 2nd and 3rd command.

Can somebody help, am I doing something wrong?


View this message in context:
Sent from the ActiveMQ - User mailing list archive at

View raw message