hcienginestop – waitForIt

Clovertech Forums Read Only Archives Cloverleaf Cloverleaf hcienginestop – waitForIt

  • Creator
    Topic
  • #48303
    Vamshi Mugu
    Participant

      Hi,

      I am trying to come up with a script to shutdown all processes safely.

      hcienginestop -p would do the job except when the process is too busy to respond in which case it waits (waitForIt) for 30 times 10 seconds (300 seconds) before sending SIGINT and another 300 seconds before sending SIGKILL if SIGINT fails.

      Have any of you changed the wait period for any reason?

      thanks in advance for your response,

      Vamshi Mugu,

      Altru Health System.

    Viewing 0 reply threads
    • Author
      Replies
      • #58295
        Anonymous
        Participant

          Yes, we have changed the wait period. We didn’t want to wait 5 minutes for every process that we stop when we implemented our shutdown script.

          It works fine now.

          …by the way, we log the status of the threads before the shutdown to be able to restore them later with a startup script. This is very nice in test when you don’t want to start everything but there are many interfaces that need to be up.

      Viewing 0 reply threads
      • The forum ‘Cloverleaf’ is closed to new topics and replies.