Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revision Previous revision
Next revision
Previous revision
Last revisionBoth sides next revision
doku:runtime [2014/06/03 10:47] – [Soft runtime limit] irdoku:runtime [2014/12/12 09:43] – [Soft runtime limit] ir
Line 22: Line 22:
  
 In SGE Jobs two runtime limits are available:  In SGE Jobs two runtime limits are available: 
-  * soft runtime (s_rt) and  +  * **soft runtime (s_rt):** \\ after this time has elapsed, GridEngine sends a SIGUSR1 signal to the process. 
-  * hard runtime (h_rt).+  * **hard runtime (h_rt):** \\ after this time has elapsed, GridEngine sends a SIGUSR2 signal and running processes are killed
  
-h_rt: after this time has elapsed, GridEngine sends a SIGUSR2 signal and running processes are killed. +The SIGUSR1 signal (s_rt) informs the process about the time already elapsed. In fact that the original process presumably exceeds h_rt, the process could be modified
- +====example:==== 
-s_rt: after this time has elapsed, GridEngine sends a SIGUSR1 signal to the process. +h_rt is a multiple of s_rt, here s_rt=0:02:00 and h_rt=0:20:00, a factor n=10:
- +
-By exploiting the SIGUSR1 signal (s_rt)the process knows how much time is left and can start saving the data. +
- +
-If s_rt is n times smaller than h_rt SIGUSR1 is sent times:+
  
 <code> <code>