Menu

SIGTERM and transactions

Help
Andy Amply
2001-06-18
2001-06-18
  • Andy Amply

    Andy Amply - 2001-06-18

    Hello all,

    Explain me please, are GT.M transactions safe
    for terminating process by SIGTERM?
    I've got strange bug in my project and want
    to exclude this possibility.

    Thanks,
    Andrew. (andrew@comcon.kiev.ua)

     
    • Roger Partridge

      Roger Partridge - 2001-06-18

      Andrew:

      SIGTERM should be safe as far as GT.M is concerned.  However, depending on their design, most applications are likely to be unhappy unless you also use the M transaction feature (TSTART/TCOMMIT).  If you do so, please make your transactions restartable.

      MUPIP STOP is essentially a wrapper for SIGTERM.

      Note that SIGKILL is NOT safe!

      Hope this helps,

      Roger

       

Log in to post a comment.