B2B Integration

 View Only
Expand all | Collapse all

Leak Suspects found in the heap dump and Blocked threads in javacore

  • 1.  Leak Suspects found in the heap dump and Blocked threads in javacore

    Posted Mon October 05, 2020 01:02 AM
    Hello All,

    Recently seeing application hang issue, queue depth increasing multifold and slowness. When we generated thread dumps and analyzed th javacore and heap dumps, we see some FTP server adapter related threads blocked while lot of threads are waiting on the queue, we also found around 14-15 leak suspects when analysed the heap dump via IBM heap analyzer.

    But I dont see OOM error in the logs. So can you guide how to proceed in such case related to memory leaks fix when you dont get OOM errors.


    ------------------------------
    Pranjit Biswas
    ------------------------------

    #SupplyChain
    #B2BIntegration


  • 2.  RE: Leak Suspects found in the heap dump and Blocked threads in javacore

    Posted Mon October 05, 2020 05:24 AM
    Hi Pranjit,

    I see two kinds of problems

    1.) Increase in Business process queue depth: This might happen due to increase in volumes or bad solution design.

    2.) The suspects are just the first place to look for memory leaks. They are the top uses of the memory in a java application. It is quite possible that you don't have memory leaks. You might see OOM only if there are too many useless objects that creates a real memory leak - although, a thorough study has to be done on the thread/heap dumps.

    I recommend a complete healthcheck of your solution to determine the root cause of the performance degradation. There could be a domino effect due to the increase in the volume too - probably, rebenchmarking of your system "might" be required.

    BTW, what version of B2BI are you using?

    ------------------------------
    KALYAN PAVAN KISHORE CHAKRAVARTHULA
    ------------------------------



  • 3.  RE: Leak Suspects found in the heap dump and Blocked threads in javacore

    Posted Mon October 05, 2020 05:31 AM
    Thanks Kalyan for the inputs. Volume has not changed, the only thing that has happened is B2Bi 5.2.6.1 was recently migrated to AWS cloud (with Oracle 12c Standard edition ) from On-prem B2Bi 5.2.6.1 (Oracle 12c Enterprise edition). Configuration were migrated as-is.

    ------------------------------
    Pranjit Biswas
    ------------------------------



  • 4.  RE: Leak Suspects found in the heap dump and Blocked threads in javacore

    Posted Mon October 05, 2020 07:22 AM
    Hi Pranjit,

    As this is a migration project, I would start with a simple healthcheck test to understand if there are any potential issues or missing mandatory configurations.

    Healthcheck: https://www.ibm.com/support/knowledgecenter/SS3JSW_5.2.0/com.ibm.help.healthcheck.doc/com.ibm.help.healthcheck.welcome.doc/healthcheck_welcome.html

    If this doesn't identify any potential issues then a manual healthcheck might be required.

    Kishore

    ------------------------------
    KALYAN PAVAN KISHORE CHAKRAVARTHULA
    ------------------------------