[GE users] how to limit the size of -e STDERR standard error files from sge jobs

Reuti reuti at staff.uni-marburg.de
Mon Sep 24 17:32:35 BST 2007


Hi,

Am 24.09.2007 um 16:05 schrieb chris.harwell at novartis.com:

> Is there a way to limit the size of the standard error files from sge
> jobs?
> I am using SGE 6.1u2 on RHEL4-U5 x86 and x86_64.
>
> I didn't see anything in the mailing list archives.
>
> By limit I mean some rough method of making sure the standard error  
> file
> doesn't fill all the available space the home directory of the user
> of it gets out of control, while not necessarily limiting the job  
> output
> or other working files.
>
> There is of course the limiting to nothing via -e /dev/null, but  
> I'd like
> to find a way to limit the file size to no more than 512MB or  
> something
> similar.
>
> Any help or pointers appreciated!

although it's not a size limit per se, but is this just one jobstep?  
Maybe something like:

: > $SGE_STDERR_PATH

will reset the file from time to time after each successful step.

-- 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