Details
-
Bug
-
Status: Closed
-
Major
-
Resolution: Fixed
-
None
-
None
Description
When an http enabled listener is deleted through the console, or via qdmanage ($management), it is being removed from the list of listeners (qdmanage query) but the router still listens to the related TCP port.
In the example below I had a router with an http listener on port 5674 and a non-http listener at 5672.
Here are the steps to demonstrate it:
- Start the router and query listeners
$ qdmanage query --type listener | egrep 'name' "name": "listener/0.0.0.0:5672", "name": "listener/0.0.0.0:5674",
- Verify TCP ports being listened
$ netstat -anp | egrep tcp.*LISTEN.*qdrouterd tcp 0 0 0.0.0.0:5672 0.0.0.0:* LISTEN 2887/qdrouterd tcp 0 0 0.0.0.0:5674 0.0.0.0:* LISTEN 2887/qdrouterd
- Delete HTTP listener on port 5674
$ qdmanage delete --type listener --name 'listener/0.0.0.0:5674'
- Query listeners
$ qdmanage query --type listener | egrep 'name' "name": "listener/0.0.0.0:5672",
- Verify TCP ports being listened
$ netstat -anp | egrep tcp.*LISTEN.*qdrouterd tcp 0 0 0.0.0.0:5672 0.0.0.0:* LISTEN 2887/qdrouterd tcp 0 0 0.0.0.0:5674 0.0.0.0:* LISTEN 2887/qdrouterd
Note: This is only happening with http enabled listeners. Regular listeners are being shutdown properly.
Attachments
Issue Links
- links to