[GE users] resource allocation and race condition

Reuti reuti at staff.uni-marburg.de
Fri Oct 15 10:00:00 BST 2004

    [ The following text is in the "ISO-8859-1" character set. ]
    [ Your display is set for the "ISO-8859-10" character set.  ]
    [ Some special characters may be displayed incorrectly. ]

> Assuming that I only have a single float license 'foo', I can
> 'qsub -l foo=1' a job.  After a while I submit two (2) new jobs with the
> same resource requirement(s). Both these jobs wait politely in the queue,
> since the resource 'foo' is unavailable.  After the first job finishes, and
> the load reports get correctly updated, *both* of the jobs in the queue try
> to grab the 'foo' resource (almost) simultaneously.
> How can I circumvent such a race condition?

Could you use a SGE consumable in addition to your load sensor? - Reuti

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