On Wed, Feb 10, 2016 at 09:57:54AM +0000, Ondrej Valousek wrote:
>    Hi List,
> 
>     
> 
>    We are have set the ENABLE_ADDGRP_KILL=false parameter of the exec daemon
>    (also using CGROUPS, btw).
> 
>    It seems that execd is still killing processes left behind on the
>    execution host, in spite of the parameter above.
> 
>     
> 
>    We are using version 8.1.8
> 
>     
> 
>    What could be wrong?
> 
>    Ondrej
> 
> -----                                                                         
>                                                                               
>                                                                               
>                                                                               
>                                                                               
>                                                                               
>                                                                               
>                                                                               
>                                           
Nothing is wrong.  ENABLE_ADDGRP_KILL changes the mechanism by which Grid 
Engine determines which processes
are part of the job.  Setting it to false doesn't disable killing all processes 
of a job it just changes
the mechanism used to determine which processes to kill.  Since you have 
CGROUPS enabled the shepherd 
will be using that to select processes to kill.  

If you want to kill only the lead process of a job for some reason then the 
best option is probably 
a custom terminate_method which will normally override the grid engine defaults.

William

Attachment: signature.asc
Description: Digital signature

_______________________________________________
SGE-discuss mailing list
[email protected]
https://arc.liv.ac.uk/mailman/listinfo/sge-discuss

Reply via email to