Return-Path: X-Original-To: apmail-activemq-users-archive@www.apache.org Delivered-To: apmail-activemq-users-archive@www.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id B11CE105A1 for ; Tue, 30 Apr 2013 01:06:22 +0000 (UTC) Received: (qmail 59374 invoked by uid 500); 30 Apr 2013 01:06:22 -0000 Delivered-To: apmail-activemq-users-archive@activemq.apache.org Received: (qmail 59314 invoked by uid 500); 30 Apr 2013 01:06:21 -0000 Mailing-List: contact users-help@activemq.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: users@activemq.apache.org Delivered-To: mailing list users@activemq.apache.org Received: (qmail 59304 invoked by uid 99); 30 Apr 2013 01:06:21 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 30 Apr 2013 01:06:21 +0000 X-ASF-Spam-Status: No, hits=2.0 required=5.0 tests=SPF_NEUTRAL,URI_HEX X-Spam-Check-By: apache.org Received-SPF: error (nike.apache.org: encountered temporary error during SPF processing of domain of prashantpacy@gmail.com) Received: from [216.139.250.139] (HELO joe.nabble.com) (216.139.250.139) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 30 Apr 2013 01:06:15 +0000 Received: from [192.168.236.139] (helo=joe.nabble.com) by joe.nabble.com with esmtp (Exim 4.72) (envelope-from ) id 1UWz0h-0005Kp-0P for users@activemq.apache.org; Mon, 29 Apr 2013 18:05:35 -0700 Date: Mon, 29 Apr 2013 18:05:34 -0700 (PDT) From: pp123 To: users@activemq.apache.org Message-ID: <1367283934989-4666427.post@n4.nabble.com> In-Reply-To: References: <1367238501903-4666384.post@n4.nabble.com> Subject: Re: InactivityMonitor issue MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit X-Virus-Checked: Checked by ClamAV on apache.org Thanks for the reply. There is no test case for this as i am just trying to figure out when ActiveMq removes the dead connection ? According to http://activemq.apache.org/mqtt.html , it should remove in the time span of 1.5* keepalive which is not happening . In detail -------- A client connected to ActiveMq with Keepalive fo 60 seconds . Now Inactivity monitor sets the heartBeat of 90 seconds (1.5* 60) . So if i disconnect client by hard shut down (by not sending disconnect command from client) . So its the duty of inactivity monitor to watch for dead connections every 90 seconds in this case and based on this ActiveMq removes connection. But it is not happening, as it it taking more time to remove connection around 180 seconds in this case . Please help. -- View this message in context: http://activemq.2283324.n4.nabble.com/InactivityMonitor-issue-tp4666384p4666427.html Sent from the ActiveMQ - User mailing list archive at Nabble.com.