[GE users] Restart job on suspend

Alexandre Barras Alexandre.Barras at cerfacs.fr
Tue Aug 10 15:33:59 BST 2004


I have defined my own suspend method but apparently SGE doesn't launch 
it on a job suspension !?

did you personaly tried to write a suspend method ? does it work?

Reuti wrote:

>>But, when a job is suspended, it didn't use CPU time anymore, but it 
>>remains in memory, doesn't it ?
>>Some jobs can use a lot of RAM and if they didn't restore it back during 
>>their suspension, it can be inconvenient for users.
>>    
>>
>
>Ohh, I see. Over time they should get swapped to the swap-space I think, but 
>the memory consumption for SGE is of  course still allocated. Although it's not 
>a hard limit, you could introduce a complex like night_memory and day_memory, 
>to avoid oversubscription during each time period.
>
>Otherwise you could really write a suspend method with the two commands I 
>suggested first (you don't need the qrls - sorry). Put the absolute path to the 
>script (beginning with /) into suspend_method together with $job_id, and you 
>can use $1 in the script. (man queue_conf)
>
>Reuti
>
>---------------------------------------------------------------------
>To unsubscribe, e-mail: users-unsubscribe at gridengine.sunsource.net
>For additional commands, e-mail: users-help at gridengine.sunsource.net
>
>
>
>  
>

-- 
             ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
	     Alexandre Barras - Computing Support Group
        CERFACS, 42 Av. Coriolis, F-31057 TOULOUSE Cedex 1, FRANCE
        Tel.: (+33) [0]5 61 19 30 75   Fax: (+33) [0]5 61 19 30 00

             ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~





More information about the gridengine-users mailing list