[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Condor-users] limiting memory use of condor jobs

Dear all

Is there a way to periodic_remove a Job once the memory use is above some threshold?
like it is done in the diskusage example below?

thanks in advance


In the job requirements
+JobDiskLimit = 10000
periodic_remove = DiskUsage > JobDiskLimit
should prevent the job from using more than e.g. 10 MB in
the session directory. I wouldn't know how to get Condor to
enforce this for a particular file - you would probably have to
build a command wrapper and check the file size in a separate
process if this is important.

Cheers, Alex