Return-Path: Delivered-To: apmail-servicemix-dev-archive@www.apache.org Received: (qmail 89016 invoked from network); 9 Aug 2010 09:48:13 -0000 Received: from unknown (HELO mail.apache.org) (140.211.11.3) by 140.211.11.9 with SMTP; 9 Aug 2010 09:48:13 -0000 Received: (qmail 94477 invoked by uid 500); 9 Aug 2010 09:48:13 -0000 Delivered-To: apmail-servicemix-dev-archive@servicemix.apache.org Received: (qmail 94253 invoked by uid 500); 9 Aug 2010 09:48:10 -0000 Mailing-List: contact dev-help@servicemix.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: dev@servicemix.apache.org Delivered-To: mailing list dev@servicemix.apache.org Received: (qmail 94244 invoked by uid 99); 9 Aug 2010 09:48:09 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 09 Aug 2010 09:48:09 +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.22] (HELO thor.apache.org) (140.211.11.22) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 09 Aug 2010 09:48:08 +0000 Received: from thor (localhost [127.0.0.1]) by thor.apache.org (8.13.8+Sun/8.13.8) with ESMTP id o799lltR008879 for ; Mon, 9 Aug 2010 09:47:48 GMT Message-ID: <19567096.1811281347267392.JavaMail.jira@thor> Date: Mon, 9 Aug 2010 05:47:47 -0400 (EDT) From: "Ioannis Canellos (JIRA)" To: dev@servicemix.apache.org Subject: [jira] Commented: (SMXCOMP-758) Http Provider runs out of connections In-Reply-To: <31910305.12701276163631790.JavaMail.jira@thor> MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable X-JIRA-FingerPrint: ae95407df07c98740808b2ef9da0087c [ https://issues.apache.org/activemq/browse/SMXCOMP-758?page=3Dcom.atla= ssian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId= =3D61108#action_61108 ]=20 Ioannis Canellos commented on SMXCOMP-758: ------------------------------------------ Jean-Baptiste Onofr=C3=A9, indeed servicemix-http 2009.01 uses Jetty 6.1.14= whereas servicemix-http 2010.01 uses Jetty 6.1.22. In one of the projects I have been working on I used 2009.01 built using Je= tty 6.1.22 (to avoid some bugs that were resolved after 6.1.15). I experien= ced a similar behavior. I exposed Jetty's connection pool via jmx and I saw that there in some occ= asions*, a lot of connections were marked as idle (and eventually run out o= f connections, the max connection number was reached and all connections we= re marked as idle, but none of the idle connections was used). =20 This issue is solved for me if build servicemix-http 2009.01 using jetty 6.= 1.15. *: By some occasions I mean keeping a steady low traffic and periodically s= witching to no traffic. Also note that since version 2008.01 of servicemix-http the only version of= jetty I found to be production ready was 6.1.15 (I've tried combining serv= icemix-http with various jetty versions). > Http Provider runs out of connections > ------------------------------------- > > Key: SMXCOMP-758 > URL: https://issues.apache.org/activemq/browse/SMXCOMP-75= 8 > Project: ServiceMix Components > Issue Type: Bug > Components: servicemix-http > Affects Versions: servicemix-http-2010.01 > Environment: Servicemix 3.3.2 > Reporter: Hough van Wyk > Assignee: Jean-Baptiste Onofr=C3=A9 > Priority: Blocker > > I upgraded from servicemix-http-2009.01 to servicemix-http-2010.01. While= running some stress testing (about 7 messages/s) after about 7000 exchan= ges none of my exchanges for http provider go through. I debugged and foun= d that in HttpDestination I had a maxConnetions of 32 connections and 32 co= nnection objects in _connections. No new connections are made. There is no = way to recover from this problem and I have to restart service mix to relea= se the connections.=20 > If I revert back to 2009.01 all is working perfectly. --=20 This message is automatically generated by JIRA. - You can reply to this email to add a comment to the issue online.