[ 
https://issues.apache.org/activemq/browse/SM-1002?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#action_39660
 ] 

Ruwan Linton commented on SM-1002:
----------------------------------

I just deployed a http consumer and a provider linked directly to create a 
proxy for an existing service

xbean config for the http-consumer

<?xml version="1.0"?>
<beans xmlns:http="http://servicemix.apache.org/http/1.0";
       xmlns:b="http://esb.wso2.org/perf/proxy";>

        <http:endpoint service="b:http"
                       endpoint="endpoint"
                       targetService="b:SimpleStockQuoteService"
                       role="consumer"
                       locationURI="http://10.100.1.43:8192/proxy";
                       defaultMep="http://www.w3.org/2004/08/wsdl/in-out";
                       soap="true"/>
</beans>


and here is the xbean config for the provider


<?xml version="1.0" encoding="UTF-8"?>
<beans xmlns:http="http://servicemix.apache.org/http/1.0";
       xmlns:b="http://esb.wso2.org/perf/proxy";>

  <http:endpoint service="b:SimpleStockQuoteService"
                 endpoint="soap"
                 role="provider" 
                 
locationURI="http://10.100.1.44:9000/soap/SimpleStockQuoteService";
                 defaultMep="http://www.w3.org/2004/08/wsdl/in-out";
                 soap="true" 
                 soapVersion="1.1"/>

</beans>

and the component.properties file entry servicemix-http.maxConnectionsPerHost 
was set to 30 and after 36 requests it fails and hangs,

To get more information about our perf test please refer to the article 
http://wso2.org/library/1721

> Service mix hangs when the # concurrent requests exceeds the 
> maxConnectionsPerHost
> ----------------------------------------------------------------------------------
>
>                 Key: SM-1002
>                 URL: https://issues.apache.org/activemq/browse/SM-1002
>             Project: ServiceMix
>          Issue Type: Bug
>          Components: servicemix-core
>         Environment: Unix, Java 1.5
>            Reporter: Ruwan Linton
>
> When I am doing a performance test I have sent more than 40 concurrent 
> requests from a single host to servicemix, and the maxConnectionsPerHost was 
> 40. It is acceptable the failing to respond when it exceeds 40 
> (maxConnectionsPerHost) concurrent requests.
> But afterward, SM hangs.

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

Reply via email to