Return-Path: Delivered-To: apmail-activemq-dev-archive@www.apache.org Received: (qmail 65600 invoked from network); 20 Nov 2009 20:16:16 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.3) by minotaur.apache.org with SMTP; 20 Nov 2009 20:16:16 -0000 Received: (qmail 18096 invoked by uid 500); 20 Nov 2009 20:16:16 -0000 Delivered-To: apmail-activemq-dev-archive@activemq.apache.org Received: (qmail 18049 invoked by uid 500); 20 Nov 2009 20:16:16 -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 18039 invoked by uid 99); 20 Nov 2009 20:16:16 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 20 Nov 2009 20:16:16 +0000 X-ASF-Spam-Status: No, hits=-2000.0 required=10.0 tests=ALL_TRUSTED X-Spam-Check-By: apache.org Received: from [140.211.11.140] (HELO brutus.apache.org) (140.211.11.140) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 20 Nov 2009 20:16:13 +0000 Received: from brutus (localhost [127.0.0.1]) by brutus.apache.org (Postfix) with ESMTP id C481A234C4AA for ; Fri, 20 Nov 2009 12:15:52 -0800 (PST) Message-ID: <1531886113.1258748152802.JavaMail.jira@brutus> Date: Fri, 20 Nov 2009 12:15:52 -0800 (PST) From: "Bruce Snyder (JIRA)" To: dev@activemq.apache.org Subject: [jira] Updated: (AMQ-1203) Killing STOMP client stalls the Q forever until a new message is written to that Q In-Reply-To: <5213978.1173843694453.JavaMail.jira@brutus> MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 7bit X-JIRA-FingerPrint: ae95407df07c98740808b2ef9da0087c X-Virus-Checked: Checked by ClamAV on apache.org [ https://issues.apache.org/activemq/browse/AMQ-1203?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Bruce Snyder updated AMQ-1203: ------------------------------ Fix Version/s: (was: AGING_TO_DIE) NEED_REVIEWED > Killing STOMP client stalls the Q forever until a new message is written to that Q > ---------------------------------------------------------------------------------- > > Key: AMQ-1203 > URL: https://issues.apache.org/activemq/browse/AMQ-1203 > Project: ActiveMQ > Issue Type: Bug > Affects Versions: 4.1.1 > Environment: AS3 linux > Reporter: Joel Schaubert > Priority: Minor > Fix For: NEED_REVIEWED > > > Using STOMP C client subscribed in client ack mode > A) send 20 messages into a Q > B) startup slow reader, read 5 messages and control-C without allowing client to send DISCONNECT > C) restart a reader (or more readers if desired) > D) the remaining 15 messages are still present but none will be delivered to the STOMP clients until at least 1 new message is written into the Q. > So no loss of messages under these conditions but Q is effectively stalled until a new message is written in. > ------ copy of Hiram's comments from AMQ-1192 ------------ > I think this is due to the socket being killed but the server side not noticing. But it will notice once it tries to send it a message, so the it shutdown the dead socket and redelivers all messages queued for the client. On some OSes the TCP timeout interval can be tweaked. Otherwise, keep alive packets would need to be periodically transmitted in Stomp so that the server could detect a dead client sooner. Keep alives have not been added to Stomp yet.. but could be in a future version. > ------------------------------------------------------------------------------ -- This message is automatically generated by JIRA. - You can reply to this email to add a comment to the issue online.