On Wed, Feb 10, 2016 at 10:32:23AM +0000, Ondrej Valousek wrote: > Thanks William, > > Disabling Cgroups did the job, indeed. I did not know stepherd is using > cgroups for tracking purposes as well. > BTW - if it does, why it still adds the supplementary group IDs to the jobs > if Cgroups are enabled? I do not understand it.
The groups are useful for other purposes. We change the ownership of various device files and directories to grant specific jobs access to them. > > Also, could you (or anyone else) advise how the terminate_method could look > like? > I basically want to achieve the same behaviour as of GE 6.2.u4, but needs to > keep Cgroups enabled - just to keep better control over the resources. > A little tricky without knowing exactly what you want. But if you want to kill only the lead process then configure grid engine to pass it the jobs pid as first argument and the send a SIGKILL to said first argument. Write in whatever programming/scripting language you like. This may have bad interactions with cgroups enabled as grid engine may still try to clean up the cgroup I think. Trying to control resources with cgroups while having grid engine leave processes lying around is a bit odd. William
signature.asc
Description: Digital signature
_______________________________________________ SGE-discuss mailing list [email protected] https://arc.liv.ac.uk/mailman/listinfo/sge-discuss
