Web browser: ---
            Bug ID: 61102
           Summary: Soften qdel behaviour from KILL
           Product: Wikimedia Labs
           Version: unspecified
          Hardware: All
                OS: All
            Status: NEW
          Severity: enhancement
          Priority: Unprioritized
         Component: tools
    Classification: Unclassified
   Mobile Platform: ---

At the moment, qdel KILLs the job;  this is a bit rude.

If jsub would call "qsub -notify", SGE would signal the job before KILLing it.

The signal is set by "execd_param"'s NOTIFY_KILL; default is SIGUSR1, I would
favour SIGTERM (or a SIGHUP -> SIGINT -> SIGTERM cascade) as I suppose more
programs will already have a suitable handler for that.

The queue parameter "notify" defines the interval between signals; given that
many jobs in Tools use database and other network connections, I would be
fairly generous here and propose 60 s (that means in the worst case of a SIGHUP
-> SIGINT -> SIGTERM -> SIGKILL cascade 180 s which I find acceptable; for
special cases, roots can always log into the exec node and kill at will).

You are receiving this mail because:
You are on the CC list for the bug.
Wikibugs-l mailing list

Reply via email to