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
Expand all | Collapse all

Optimizer Rule for Service Hung

webMethods Community Member

webMethods Community MemberMon September 21, 2015 09:58 AM

  • 1.  Optimizer Rule for Service Hung

    Posted Fri September 18, 2015 09:13 AM

    Hi Team,

    We are using Optimizer to monitor our WM 9.7 Infrastructure and using optimizer for 9.7.
    There we have created rules to monitor WM infra, but is there any way to create rule to monitor service hung state?

    From past few months in production we are facing issue where service get hung state and due to this transactions get failed so in this scenario we never get ticket bcoz server in running state

    SO,

    Do we have transaction monitoring that can be done through wM optimizer if the server/jvm is hung & not down.
    In below case we will never get a ticket but transactions will fail till server restart.

    Can some one suggested how to resolve this issue?


    #webMethods-BPMS
    #webMethods
    #BPM


  • 2.  RE: Optimizer Rule for Service Hung

    Posted Fri September 18, 2015 11:59 AM

    Hi WM Expert,

    Can any one tell me when can I exactly say or by looking into which error message i can straight away say
    Service are in hung state?

    In Server logs I find this error message, by looking into this can i say this is due to service hung state ?
    Error Message :-
    Connection reset; nested exception is java.net.SocketException: Connection reset

    How to create rule in optimizer for service in hung state ?

    Any other suggestion/ monitoring is possible with WM product ?


    #webMethods
    #webMethods-BPMS
    #BPM


  • 3.  RE: Optimizer Rule for Service Hung

    Posted Mon September 21, 2015 09:58 AM

    Hi Forum Member,

    Awaited for suggestion.


    #webMethods-BPMS
    #webMethods
    #BPM


  • 4.  RE: Optimizer Rule for Service Hung

    Posted Mon September 21, 2015 10:13 AM

    It’s hard to define service hung. How about set a timeout for service execution, if the service is not finished in a given time period, it will throw an exception, then you can find it from monitor.


    #webMethods
    #webMethods-BPMS
    #BPM


  • 5.  RE: Optimizer Rule for Service Hung

    Posted Mon September 21, 2015 10:50 AM

    Hi Wang,

    As we have Optimizer for infrastructure to monitor webMethods system
    Is it possible to create optimizer rule for service hung state so that we will get notification ?

    OR

    How about writing unix script which will check error message
    Connection reset; nested exception is java.net.SocketException: Connection reset and send alert for same.

    We can’t go for timeout for service execution as we have more than 400-600 interfaces running in prod system these all source code has to be upgraded.

    Any other thought, i like to understand how other Org/Cmpy/Support team handling this scenario in their ENV.


    #webMethods-BPMS
    #webMethods
    #BPM


  • 6.  RE: Optimizer Rule for Service Hung

    Posted Tue September 22, 2015 03:58 AM

    When you talk about “service hung”, do you mean server hung?


    #BPM
    #webMethods-BPMS
    #webMethods


  • 7.  RE: Optimizer Rule for Service Hung

    Posted Sun September 27, 2015 08:01 AM

    Rajiv-- Yes, you can write a script either to check for some keyword in the logs or even you can write a script to check if any service running more than specific amount of time

    Thanks,


    #webMethods
    #BPM
    #webMethods-BPMS


  • 8.  RE: Optimizer Rule for Service Hung

    Posted Tue September 29, 2015 06:49 AM

    Hi Wang,

    I am looking for service not a server hung but still when i check logs it’s doesn’t show me any pointer to justify it was bcoz of service hung till we didn’t restarted our PROD server.

    That why we are looking for some monitoring to be implemented on base on service hung.

    Aside MR,

    I got this error message in server logs other than that nothing is suspicious that Y i planned for unix script but now challenges is what KEY WORD i will put which give pointer for service hung any idea?

    Error Message :-
    Connection reset; nested exception is java.net.SocketException: Connection reset


    #webMethods
    #BPM
    #webMethods-BPMS


  • 9.  RE: Optimizer Rule for Service Hung

    Posted Tue September 29, 2015 09:50 AM

    You can use the KPI - Run Time to monitor the service hung or look into wm.server.query:getServiceStats

    Get in touch with me via email for more details.


    #webMethods
    #webMethods-BPMS
    #BPM


  • 10.  RE: Optimizer Rule for Service Hung

    Posted Wed September 30, 2015 11:15 AM

    Raj,

    Did you implement any KPI to Rule to check the flow service/s hung?


    #BPM
    #webMethods-BPMS
    #webMethods


  • 11.  RE: Optimizer Rule for Service Hung

    Posted Thu October 01, 2015 09:47 AM

    Hi Mahesh,

    Sorry for delay but didn’t get opportunity to work on KPI topics but in our env we have optimizer for infrastructure to monitor WM systems so in my prod env under MWS → can see in my MWS → Analytics → Rules

    I can see there are several rules are configured but Is there any way/ or can you suggest this service hung scenario can be handle by creating rules in mws to get email notification?

    if not possible then i need to figure out KEY WORD for service hung exception so that i can write unix script for same scenario.


    #BPM
    #webMethods-BPMS
    #webMethods


  • 12.  RE: Optimizer Rule for Service Hung

    Posted Mon October 05, 2015 07:39 AM

    Hi Mahesh,

    We have optimizer for infra and in MWS console there are several rules are configured
    Navigation MWS → Analytics → Rules

    Is it possible to create same kind of rules to monitor

    1. service hung
      &
    2. server hung

    #webMethods-BPMS
    #webMethods
    #BPM


  • 13.  RE: Optimizer Rule for Service Hung

    Posted Mon October 05, 2015 10:34 AM

    For service hung use RunTime KPI

    For server hung use predefined KPI like used memory or free memory. Refer Administrating Optimize guide.


    #BPM
    #webMethods
    #webMethods-BPMS


  • 14.  RE: Optimizer Rule for Service Hung

    Posted Tue November 03, 2015 07:10 AM

    For server hung KPI has been implemented thanks but service hung i m still reading documents to implement RunTime KPI


    #webMethods-BPMS
    #webMethods
    #BPM