Servicemix Http component memory leak issue

View: New views
2 Messages — Rating Filter:   Alert me  

Servicemix Http component memory leak issue

by Soumya-5 :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message


Hi all,

I am having an issue with using Servicemix 3.2.1 Http component, which apparently seems to be of memory leak.

I have a servicemix deployed on machine A, which only holds a  Http component Service Assembly deployed in it. This Servicemix listens to ActiveMQ running alongside Servicemix on machine B as say failover:tcp://${MachineBIP}:${61616}. Idea is we send a https request to machine A and then that xml is forwarded over ActiveMQ to a LWC component deployed on Machine B.

This is the xbean.xml deployed in the http component -

<beans
    xmlns:http="http://servicemix.apache.org/http/1.0"
    xmlns:lfc="http://www.lifecycle-software.com/bpms">

    <http:endpoint service="abc:XYZRequestReceiver" endpoint="XYZLocal" role="consumer"
        locationURI="https://192.168.X.Y:443/Service/XYZService"
        defaultMep="http://www.w3.org/2004/08/wsdl/in-out">
        <http:ssl>
            <http:sslParameters keyStore="classpath:MyKeystore.jks"
                keyStorePassword="changeit"/>
             </http:ssl>
    </http:endpoint>
       
</beans>


There is a DNS mapping of https://xyz.ws.com/Service/XYZService to machine A http component that receives the message.

Kindly note there is no instance of Timeout or Message response not delivered.
It starts with memory consumption of say 98MB and steadily increases over a couple of days to 600 - 700 mb and reaches max memory allocation of 768 mb and hangs up.

Hence I am assuming it is due to soem memory leak in 3.2.1 Http component code.
Please can someone help and point to any suggestions.

Much appreciated.

Regards,
Soumya




      Connect more, do more and share more with Yahoo! India Mail. Learn more. http://in.overview.mail.yahoo.com/

Re: Servicemix Http component memory leak issue

by Jean-Baptiste Onofre :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

Hi,

could you make a try using the new HTTP endpoints ?

Regards
JB

Soumya wrote:

> Hi all,
>
> I am having an issue with using Servicemix 3.2.1 Http component, which apparently seems to be of memory leak.
>
> I have a servicemix deployed on machine A, which only holds a  Http component Service Assembly deployed in it. This Servicemix listens to ActiveMQ running alongside Servicemix on machine B as say failover:tcp://${MachineBIP}:${61616}. Idea is we send a https request to machine A and then that xml is forwarded over ActiveMQ to a LWC component deployed on Machine B.
>
> This is the xbean.xml deployed in the http component -
>
> <beans
>     xmlns:http="http://servicemix.apache.org/http/1.0"
>     xmlns:lfc="http://www.lifecycle-software.com/bpms">
>
>     <http:endpoint service="abc:XYZRequestReceiver" endpoint="XYZLocal" role="consumer"
>         locationURI="https://192.168.X.Y:443/Service/XYZService"
>         defaultMep="http://www.w3.org/2004/08/wsdl/in-out">
>         <http:ssl>
>             <http:sslParameters keyStore="classpath:MyKeystore.jks"
>                 keyStorePassword="changeit"/>
>              </http:ssl>
>     </http:endpoint>
>        
> </beans>
>
>
> There is a DNS mapping of https://xyz.ws.com/Service/XYZService to machine A http component that receives the message.
>
> Kindly note there is no instance of Timeout or Message response not delivered.
> It starts with memory consumption of say 98MB and steadily increases over a couple of days to 600 - 700 mb and reaches max memory allocation of 768 mb and hangs up.
>
> Hence I am assuming it is due to soem memory leak in 3.2.1 Http component code.
> Please can someone help and point to any suggestions.
>
> Much appreciated.
>
> Regards,
> Soumya
>
>
>
>
>       Connect more, do more and share more with Yahoo! India Mail. Learn more. http://in.overview.mail.yahoo.com/