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.


#TechXchangePresenter
 View Only
  • 1.  Enable GC logging

    Posted Sat June 16, 2018 07:07 AM

    Hello there,

     As we are having a very strange issue (integration servers leaving the cluster on a daily basis), we need to enable the garbage collector logs on all servers so we can analyze what could be causing long gc.
    

    Do you have any idea how we can accomplish this? We basically need to get a log file with pattern gc.log. in /99/IntegrationServer/instances/default/logs.
    Our integration servers have version 9.9. We are using Teracotta.

    Thank you in advance!
    Best regards,
    Oliver


    #B2B-Integration
    #Integration-Server-and-ESB
    #webMethods


  • 2.  RE: Enable GC logging

    Posted Sun June 17, 2018 07:54 AM

    Set each GC parameter on a separate line in the custom_wrapper.conf file, as follows:

    wrapper.java.additional.105=-Xloggc:/99/IntegrationServer/instances/default/logs/gc.log-$(date +%Y_%m_%d-%H_%M)
    wrapper.java.additional.106=-XX:+PrintGCDetails
    wrapper.java.additional.107=-XX:+DisableExplicitGC
    wrapper.java.additional.108=-XX:-HeapDumpOnOutOfMemoryError

    I suppose you need a restart after adding this setting.


    #Integration-Server-and-ESB
    #webMethods
    #B2B-Integration


  • 3.  RE: Enable GC logging

    Posted Mon June 18, 2018 05:22 AM

    Hi M@he$h,

    It's working. 
    Thanks!
    

    Oliver


    #Integration-Server-and-ESB
    #B2B-Integration
    #webMethods