[GE users] Default queue state for rebooted machines?

Reuti reuti at staff.uni-marburg.de
Wed May 4 12:15:23 BST 2005


Mmh, all the information you can get from

/proc/sysvipc/shm

(at least on Linux) I think. Just check the appropriate fields in the 
prolog. The prolog is set in the queue definition. See "man queue_conf".

Cheers - Reuti


Robert Griffiths wrote:
> That sounds interesting, Reuti. The queue is *mostly* dedicated to one
> program so a queue prolog which would send the queue to 'E' state on error
> could be fine.
> 
> I can't seem to find very much information regarding prolog scripts in any
> of my documentation nor anything that useful from Google. How does one
> enable such a script?
> 
> Presumably, my prolog script should do something like the following:
> 
> 1)	Do an 'ipcs -m' and look for segments owned by the appropriate user.
> 2)	Check that the size of the segments is within some acceptable range
> (it changes daily...)
> 3)	Check that the creation time is within 24 hours or so (weekends
> could be tricky...)
> 4)	if one or more these is false, then exit(-1) from the script,
> otherwise we're good to go
> 
> Any idea if I can force a queue into error state by getting the application
> itself to throw something appropriate? 
> 
> Cheers,
> 
> Rob
> 
> -----Original Message-----
> From: Reuti [mailto:reuti at staff.uni-marburg.de] 
> Sent: 04 May 2005 11:32
> To: users at gridengine.sunsource.net
> Subject: Re: [GE users] Default queue state for rebooted machines?
> 
> 
> Hi, is the queue dedicated to one program? Maybe it (the test) can be 
> put in a queue prolog which exits with -1 in this case and send the 
> queue to error state. The job will be requeued in this case. - Reuti
> 
> 
> 
> ****************************************************************
> Mitsubishi Securities International plc ('MSI') is 
> registered in England, company number 1698498 and 
> registered office at 6 Broadgate, London EC2M 2AA. 
> MSI is part of the Mitsubishi Tokyo Financial Group 
> and is authorised and regulated by The Financial 
> Services Authority. This message is intended solely 
> for the individual addressee named above. The 
> information contained in this e-mail is confidential 
> and may be legally privileged. If you are not the 
> intended recipient please delete in its entirety. 
> Messages sent via this medium may be subject to 
> delays, non-delivery and unauthorised alteration. 
> The information contained herein or attached hereto 
> has been obtained from sources we believe to be 
> reliable but we do not represent that it is accurate 
> or complete. Any reference to past performance should 
> not be taken as an indication of future performance. 
> The information contained herein or attached hereto 
> is not to be construed as an offer or solicitation to 
> buy or sell any security, instrument or investment. 
> MSI or any affiliated company, may have an interest, 
> position, or effect transactions, in any investment 
> mentioned herein. Any opinions or recommendations 
> expressed herein are solely those of the author or 
> analyst and are subject to change without notice.
> 
> 
> ---------------------------------------------------------------------
> 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