Return-Path: Delivered-To: apmail-activemq-users-archive@www.apache.org Received: (qmail 85974 invoked from network); 4 Aug 2008 01:42:04 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.2) by minotaur.apache.org with SMTP; 4 Aug 2008 01:42:04 -0000 Received: (qmail 74491 invoked by uid 500); 4 Aug 2008 01:42:02 -0000 Delivered-To: apmail-activemq-users-archive@activemq.apache.org Received: (qmail 74472 invoked by uid 500); 4 Aug 2008 01:42:02 -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 74461 invoked by uid 99); 4 Aug 2008 01:42:02 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Sun, 03 Aug 2008 18:42:02 -0700 X-ASF-Spam-Status: No, hits=2.6 required=10.0 tests=DNS_FROM_OPENWHOIS,SPF_HELO_PASS,SPF_PASS,WHOIS_MYPRIVREG X-Spam-Check-By: apache.org Received-SPF: pass (athena.apache.org: domain of lists@nabble.com designates 216.139.236.158 as permitted sender) Received: from [216.139.236.158] (HELO kuber.nabble.com) (216.139.236.158) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 04 Aug 2008 01:41:07 +0000 Received: from isper.nabble.com ([192.168.236.156]) by kuber.nabble.com with esmtp (Exim 4.63) (envelope-from ) id 1KPp4n-000840-Op for users@activemq.apache.org; Sun, 03 Aug 2008 18:41:33 -0700 Message-ID: <18804433.post@talk.nabble.com> Date: Sun, 3 Aug 2008 18:41:33 -0700 (PDT) From: beyond005 To: users@activemq.apache.org Subject: How to deal with blocked transport MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit X-Nabble-From: beyond005@gmail.com X-Virus-Checked: Checked by ClamAV on apache.org There are some comments about blocked transport in slow consumer topic: when using TCP there can be occasions when a network outage can result in a blocked write. This can cause the entire broker to freeze - and the socket may never be unblocked. Currently we have a Thread that checks for blocked sockets - using a sweep protocol to detect if there are connections that are blocked writing for more than a configurable period. This can work but there is no way to unblock the calling thread that is associated with the send down the socket (which will be the publishing thread in non-durable topics). Could anybody give a feasible way to resolve this problem in a product environment. Currently we just can reboot the whole activemq to restart the socket. BTW, we are using 4.1.1 version of activemq in our environment. Could I assume that activemq 5.1 has beat it? -- View this message in context: http://www.nabble.com/How-to-deal-with-blocked-transport-tp18804433p18804433.html Sent from the ActiveMQ - User mailing list archive at Nabble.com.