Automic Workload Automation

 View Only
Expand all | Collapse all

Anyone experiencing Tomcat memory over utilization (memory leak?)

  • 1.  Anyone experiencing Tomcat memory over utilization (memory leak?)

    Posted Aug 21, 2023 10:23 AM

    Dear Experts,

    We are running Automic V21 on Tomcat 9.0.22.  After every few days ( 3 - 5 days) , the memory consumption for Tomcat is very high. We have configured to have 8GB min and 16GB as max heap size.

    Within couple of days,  the tomcat service is using around 16 GB. 

    Any idea how can I trouble shoot here please ? 

    Thanks and Regards

    Vimalan



  • 2.  RE: Anyone experiencing Tomcat memory over utilization (memory leak?)

    Posted Aug 21, 2023 05:47 PM

    Hey there,

    yes, we've experienced the same.
    Initially i thought it was due the Tomcat version. The same day when i've upgraded our Prod to v21.0.5HF4 ive also upgraded both Tomcat to 9.0.76 . Since then every 4-5 days we need to restart at least one of them.
    We have 2 Tomcats behind Apache LB, and they serve both Prod and Dev. 
    After few days the connections is dragging and the memory utilizations of the tomcat process is pretty high (up to 22GB).
    Last Saturday ive upgraded one of the Tomcats to 9.0.79 and the AE to 21.0.7HF1 and maybe its slightly better. 

    Still i am monitoring this behaviour, only 2 days passed. So far both Tomcats are ~10GB memory consumptions. 



    ------------------------------
    ------------------------------
    Automic SME @ DXC.Technology
    ------------------------------
    ------------------------------



  • 3.  RE: Anyone experiencing Tomcat memory over utilization (memory leak?)

    Posted Sep 06, 2023 12:45 PM

    Hi -  Were you able to successfully upgrade only the web server to 21.0.7HF1 or did it require an upgrade to the entire environment?




  • 4.  RE: Anyone experiencing Tomcat memory over utilization (memory leak?)

    Posted Aug 22, 2023 01:58 AM

    Hi Maria,

    This is a known bug in the AWI. We have an open support case and it will be fixed in an upcoming hotfix.

    You may see the following message in the AWI logs:

    2023-07-22 22:54:21,564 Timer-0                [ERROR] NOSESSION/- NOUI   [c.framework.core.inject.BaseScopeManager] - cleanupStaleConnections failed
    java.lang.reflect.UndeclaredThrowableException: null



  • 5.  RE: Anyone experiencing Tomcat memory over utilization (memory leak?)

    Posted Aug 22, 2023 03:09 AM
    Edited by Josef Scharl Aug 22, 2023 03:11 AM

    Hi,
    It's the same here …

    We opened a ticket some time ago and got AWI 21.0.7 as fixed version, but it didn't fix the memory leak. Maybe it's a little bit better, but we still need to restart AWI a least once a week.

    There is also an article online for the bug: https://knowledge.broadcom.com/external/article?articleId=263060

    KR, Tscho




  • 6.  RE: Anyone experiencing Tomcat memory over utilization (memory leak?)

    Posted Aug 22, 2023 10:52 AM

    I have a case opened for the same issue.  Support indicated that the hotfix is planned for 21.0.8.




  • 7.  RE: Anyone experiencing Tomcat memory over utilization (memory leak?)

    Posted Aug 22, 2023 04:52 PM

    I had the same problem, until I set Apache Tomcat Heap size to 8192 

    Web interface hasn't crashed since then. 




  • 8.  RE: Anyone experiencing Tomcat memory over utilization (memory leak?)

    Posted Aug 24, 2023 02:25 AM