servicemix-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Ioannis Canellos (JIRA)" <j...@apache.org>
Subject [jira] Commented: (SMXCOMP-758) Http Provider runs out of connections
Date Mon, 09 Aug 2010 09:47:47 GMT

    [ https://issues.apache.org/activemq/browse/SMXCOMP-758?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=61108#action_61108
] 

Ioannis Canellos commented on SMXCOMP-758:
------------------------------------------

Jean-Baptiste Onofré, 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 Jetty 6.1.22 (to
avoid some bugs that were resolved after 6.1.15). I experienced a similar behavior.

I exposed Jetty's connection pool via jmx  and I saw that there in some occasions*, a lot
of connections were marked as idle (and eventually run out of connections, the max connection
number was reached and all connections were marked as idle, but none of the idle connections
was used).
 
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 switching 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 servicemix-http with various jetty
versions).

> Http Provider runs out of connections
> -------------------------------------
>
>                 Key: SMXCOMP-758
>                 URL: https://issues.apache.org/activemq/browse/SMXCOMP-758
>             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é
>            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 exchanges  none of my exchanges for
http provider go through. I debugged and found that in HttpDestination I had a maxConnetions
of 32 connections and 32 connection 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 release
the connections. 
> If I revert back to 2009.01 all is working perfectly.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


Mime
View raw message