You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@activemq.apache.org by "Martin Lichtin (Jira)" <ji...@apache.org> on 2020/09/02 15:54:00 UTC

[jira] [Updated] (AMQ-8031) ActiveMQ classic - OpenWire transport connector (nio+ssl) does not actively close silent connections

     [ https://issues.apache.org/jira/browse/AMQ-8031?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Martin Lichtin updated AMQ-8031:
--------------------------------
    Description: 
ActiveMQ classic - OpenWire transport connector (nio+ssl) does not actively close silent connections.

This can be reproduced with an SSL enabled Activemq broker, e.g.

{{<transportConnector name="openwire-ssl" }}uri="nio+ssl://AMQ-IP:AMQ-PORT?maximumConnections=100" />

Simply opening dummy connections towards this server by using

{{for i in $(seq 200); do echo $i; ncat --recv-only AMQ-IP AMQ-PORT & done}}

will cause the server to eventually run out of connections.

I'd expect "silent" connections to be dropped pretty quickly.

  was:
ActiveMQ classic - OpenWire transport connector (nio+ssl) does not actively close silent connections.

This can be reproduced with an SSL enabled Activemq broker, e.g.

{{<transportConnector name="openwire-ssl"}}
{{ uri="nio+ssl://AMQ-IP:AMQ-PORT?maximumConnections=100" />}}

Simply opening dummy connections towards this server by using

{{for i in $(seq 200); do echo $i; ncat --recv-only AMQ-IP AMQ-PORT & done}}

will cause the server to eventually run out of connections.

I'd expect "silent" connections to be dropped pretty quickly.


> ActiveMQ classic - OpenWire transport connector (nio+ssl) does not actively close silent connections
> ----------------------------------------------------------------------------------------------------
>
>                 Key: AMQ-8031
>                 URL: https://issues.apache.org/jira/browse/AMQ-8031
>             Project: ActiveMQ
>          Issue Type: Bug
>            Reporter: Martin Lichtin
>            Priority: Major
>
> ActiveMQ classic - OpenWire transport connector (nio+ssl) does not actively close silent connections.
> This can be reproduced with an SSL enabled Activemq broker, e.g.
> {{<transportConnector name="openwire-ssl" }}uri="nio+ssl://AMQ-IP:AMQ-PORT?maximumConnections=100" />
> Simply opening dummy connections towards this server by using
> {{for i in $(seq 200); do echo $i; ncat --recv-only AMQ-IP AMQ-PORT & done}}
> will cause the server to eventually run out of connections.
> I'd expect "silent" connections to be dropped pretty quickly.



--
This message was sent by Atlassian Jira
(v8.3.4#803005)