[GE users] monitoring spawned processes

Andreas Haas Andreas.Haas at Sun.COM
Fri Nov 26 09:54:37 GMT 2004


One could write a

   wait_for_escaper

program that blocks until all processes with that
additional group ID are finished.

Andreas

On Thu, 25 Nov 2004, Rayson Ho wrote:

> >If SGE is proper setup all the running/spawned processes should be
> >killed, when the main task ends.
>
> Reuti + others,
>
> If this is how SGE handles it, it looks rather bad to me...
>
> AFAIK, for each job, SGE adds an additional group ID, and all the spawned
> processes get this additional group ID. It is setup this way so that no
> processes can escape from SGE. And it shouldn't be too hard to wait till
> every process in the job finishes before cleaning up the job.
>
> In some siturations, the "main task" is just a wrapper, so it may exit
> while the children are doing real work...
>
> Rayson
>
>
> >
> >CU - Reuti
> ---------------------------------------------------------
> Get your FREE E-mail account at http://www.eseenet.com !
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscribe at gridengine.sunsource.net
> For additional commands, e-mail: users-help at gridengine.sunsource.net
>
>

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe at gridengine.sunsource.net
For additional commands, e-mail: users-help at gridengine.sunsource.net




More information about the gridengine-users mailing list