On Wed, 10 Apr 2013 12:33:01 +0200
Reuti Reuti wrote:

> Hi,
Hi Reuti,

[...]
 
> What do you want to compare there in detail - you parse the job
> script (by it's JOB_ID) and scan for mentioned files? Inside any
> called binary or "additional shell script" files can be created too.
> In addition: SGE will store some in information in $TMPDIR too (in
> case of a parallel program).

Something simpler:
I'm checking that all the directories created in $TMPDIR have a valid
running SGE job.


[...]
> > 1.-) not all the jobs are supposed to have a job_script?
> 
> Correct. If you submit with "-b y" you can call a binary directly
> without any jobscript.

ok.

> 
> > 2.-) if 1), may I trust active_jobs instead of jobs_scripts?
> 
> Yes.
perfect, so the change in my script is trivial.
 
> > Extra question:
> > 
> > how do other admins control the disk space used per job under
> > $TMPDIR ?
> 
> On the exechost? I don't do it at all on a per job basis. In case
> your users fight for the disk space you can implement a consumable
> for the disk space in combination with a load sensor:
> 
> http://gridengine.org/pipermail/users/2012-February/002914.html

I've a load_sensor for TMPDIR .

> (there are some other points in the thread too, like mounting a
> limited loop device on $TMPDIR)

will take a look at this one. thanks a lot.

[...]
> -- Reuti
Many thanks,
Arnau
_______________________________________________
users mailing list
[email protected]
https://gridengine.org/mailman/listinfo/users

Reply via email to