IBM webMethods Hybrid Integration

IBM webMethods Hybrid Integration

Join this online group to communicate across IBM product users and experts by sharing advice and best practices with peers and staying up to date regarding product enhancements.

 View Only
  • 1.  Too Many Threads Consumes

    Posted Thu March 10, 2011 11:57 AM

    Hello experts,

    We have observed our prod server is consuming many threads for sFTP operation and memory utelization is too high (above 80%). To release those threads we are explictly calling the garbage collection from a java service through scheduler.

    But later we found it impacts the performance of other service ie response time of other services.

    What is the best way to release the thread and memory for IS?

    Any solution in this regards

    Regards,
    Sasanka


    #webMethods
    #Integration-Server-and-ESB
    #Flow-and-Java-services


  • 2.  RE: Too Many Threads Consumes

    Posted Thu March 10, 2011 04:29 PM

    Hi Sasanka,

    Running GC manually isn’t a good idea.Instead did you had chance to research as to why your SFTP is consuming memory/not releasing connection?
    What’s the time out on your SFTP connection and on the remote SFTP server?.It might be the timeout issue that’s causing the ‘thread not released’ problem.So i would start researching from that point

    thanks,
    Anil


    #webMethods
    #Flow-and-Java-services
    #Integration-Server-and-ESB


  • 3.  RE: Too Many Threads Consumes

    Posted Thu March 10, 2011 04:53 PM

    Thread dumps might also help in analyzing the problem


    #Flow-and-Java-services
    #webMethods
    #Integration-Server-and-ESB


  • 4.  RE: Too Many Threads Consumes

    Posted Thu March 10, 2011 05:23 PM

    If a forced gc call is releasing the resources then there really isn’t an issue. Just wait for the JVM to gc on its own. It will. Don’t worry about memory usage above 80%. It will eventually be recovered.


    #webMethods
    #Flow-and-Java-services
    #Integration-Server-and-ESB