Opened 10 years ago

Last modified 9 years ago

#692 new defect

IZ3074: end job with SIGINT instead of SIGKILL if qrsh <command> was quit with Ctrl-C

Reported by: pollinger Owned by:
Priority: low Milestone:
Component: sge Version: 6.2
Severity: Keywords: execution
Cc:

Description

[Imported from gridengine issuezilla http://gridengine.sunsource.net/issues/show_bug.cgi?id=3074]

        Issue #:      3074             Platform:     All      Reporter: pollinger (pollinger)
       Component:     gridengine          OS:        All
     Subcomponent:    execution        Version:      6.2         CC:    None defined
        Status:       STARTED          Priority:     P4
      Resolution:                     Issue type:    DEFECT
                                   Target milestone: ---
      Assigned to:    pollinger (pollinger)
      QA Contact:     pollinger
          URL:
       * Summary:     end job with SIGINT instead of SIGKILL if qrsh <command> was quit with Ctrl-C
   Status whiteboard:
      Attachments:

     Issue 3074 blocks:
   Votes for issue 3074:


   Opened: Fri Jul 3 06:26:00 -0700 2009 
------------------------


If the user quits a qrsh with command (e.g. "qrsh sleep 1000") by pressing Ctrl-C, the job gets killed with SIGKILL. This leads to the wrong
exit_status 137 in the accounting.
Instead, the job should be ended with SIGINT, which would lead to the right exit_status 130.

   ------- Additional comments from pollinger Fri Jul 3 06:29:20 -0700 2009 -------
The signal type is not forwarded to the shepherd right now, so the shepherd always uses SIGKILL if qrsh ends. The signal can be added to a
control message.

Change History (0)

Note: See TracTickets for help on using tickets.