Return-Path: X-Original-To: apmail-activemq-dev-archive@www.apache.org Delivered-To: apmail-activemq-dev-archive@www.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id B8890C3AF for ; Tue, 2 Dec 2014 03:00:18 +0000 (UTC) Received: (qmail 73934 invoked by uid 500); 2 Dec 2014 03:00:18 -0000 Delivered-To: apmail-activemq-dev-archive@activemq.apache.org Received: (qmail 73871 invoked by uid 500); 2 Dec 2014 03:00:18 -0000 Mailing-List: contact dev-help@activemq.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: dev@activemq.apache.org Delivered-To: mailing list dev@activemq.apache.org Received: (qmail 73746 invoked by uid 99); 2 Dec 2014 03:00:18 -0000 Received: from arcas.apache.org (HELO arcas.apache.org) (140.211.11.28) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 02 Dec 2014 03:00:18 +0000 Date: Tue, 2 Dec 2014 03:00:18 +0000 (UTC) From: "Nguyen Hong Phu (JIRA)" To: dev@activemq.apache.org Message-ID: In-Reply-To: References: Subject: [jira] [Updated] (AMQ-5468) AMQ MQTT doesn't reject remote connection after a long time MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 [ https://issues.apache.org/jira/browse/AMQ-5468?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Nguyen Hong Phu updated AMQ-5468: --------------------------------- Description: Test steps: - Using jConsole to explore JMX MBean clientConnectors (MQTT+NIO connector). - Using telnet client connect to MQTT+NIO port - On jConsole: clientConnectors/mqtt+nio/remoteAddess appear a new connection with IP and local port which connect to. - Close telnet program - Waiting a long time (could be more than a day) and view remoteAddess again on jConsole but Remote IP (telnet) does not remove. Imagine that if a human open a thousand or million connections to server, AMQ not release connections after short time, then AMQ counld be throws the ERROR "To many open files" and it doesn't access new connection. In production server (ulimit max-open-files 65000), i'm using 2 thousand clients but after 2 days, many ERROR "To many open files" in activemq.log to be throws. On jConsole, number of clientId is equals with clients, but RemoteIP contains more than 65000 IPs. was: Test steps: - Using jConsole to explore JMX MBean clientConnectors (MQTT+NIO connector). - Using telnet client connect to MQTT+NIO port - On jConsole: clientConnectors/mqtt+nio/remoteAddess appear a new connection with IP and local port which connect to. - Close telnet program - Waiting a long time and view remoteAddess again on jConsole but Remote IP (telnet) does not remove. Imagine that if a human open a thousand or million connections to server, AMQ not release connections after short time, then AMQ counld be throws the ERROR "To many open files" and it doesn't access new connection. In production server (ulimit max-open-files 65000), i'm using 2 thousand clients but after 2 days, many ERROR "To many open files" in activemq.log to be throws. On jConsole, number of clientId is equals with clients, but RemoteIP contains more than 65000 IPs. > AMQ MQTT doesn't reject remote connection after a long time > ------------------------------------------------------------ > > Key: AMQ-5468 > URL: https://issues.apache.org/jira/browse/AMQ-5468 > Project: ActiveMQ > Issue Type: Bug > Components: Connector, MQTT > Affects Versions: 5.9.0, 5.9.1, 5.10.0 > Environment: Linux > Reporter: Nguyen Hong Phu > Fix For: NEEDS_REVIEW > > > Test steps: > - Using jConsole to explore JMX MBean clientConnectors (MQTT+NIO connector). > - Using telnet client connect to MQTT+NIO port > - On jConsole: clientConnectors/mqtt+nio/remoteAddess appear a new connection with IP and local port which connect to. > - Close telnet program > - Waiting a long time (could be more than a day) and view remoteAddess again on jConsole but Remote IP (telnet) does not remove. > Imagine that if a human open a thousand or million connections to server, AMQ not release connections after short time, then AMQ counld be throws the ERROR "To many open files" and it doesn't access new connection. > In production server (ulimit max-open-files 65000), i'm using 2 thousand clients but after 2 days, many ERROR "To many open files" in activemq.log to be throws. > On jConsole, number of clientId is equals with clients, but RemoteIP contains more than 65000 IPs. -- This message was sent by Atlassian JIRA (v6.3.4#6332)