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

hung service

  • 1.  hung service

    Posted Tue July 10, 2012 02:34 PM

    I have a hung service on IS. It is a Linux server. I try to run kill -3 .

    How do I get pid? which PID is related to my hung service?


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


  • 2.  RE: hung service

    Posted Tue July 10, 2012 04:36 PM

    Your service won’t have an OS level PID. Your service is running on a thread within the JVM. You won’t be able to kill it using OS tools.

    IS 8.x has added the ability to kill a service using IS Administrator. But you should be cautious in using this. A hung service is not a normal thing–it usually indicates a bug or misconfiguration.


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


  • 3.  RE: hung service

    Posted Tue July 10, 2012 04:38 PM

    you can use IS admin page (Server > Statistics > System Threads) to stop the service (in wM version 8.x)


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


  • 4.  RE: hung service

    Posted Tue July 10, 2012 04:39 PM

    [INDENT]you can use IS admin page (Server > Statistics > System Threads) to stop the service (in wM version 8.x)[/INDENT]


    [COLOR=#3E3E3E][B]

    [/b][/color]


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


  • 5.  RE: hung service

    Posted Tue July 10, 2012 04:39 PM

    Thank you for the replying. I want to kill it and get thread dump in nohup file. Then I can investigate what happened.


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


  • 6.  RE: hung service

    Posted Thu July 12, 2012 06:41 AM

    I think normally you’ll want to leave the hung thread active and capture a thread dump–so that the dump will show what the thread is waiting on.


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


  • 7.  RE: hung service

    Posted Thu July 12, 2012 03:24 PM

    I ask admin to suspend scheduler and active it again. The service is running. Do I still need kill that hung service?


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


  • 8.  RE: hung service

    Posted Thu July 12, 2012 04:48 PM

    If you’re running 8.x, use the IS Administrator page mja4wm noted to kill the service (thread). Starting and stopping the scheduled task doesn’t do anything to any currently running service.

    If you’re on 7.x you’ll need to restart IS to clear the hung thread.


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


  • 9.  RE: hung service

    Posted Thu July 12, 2012 07:43 PM

    Thank you. I asked admin to kill the hung service through the system thread.


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