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

Re: [Condor-users] Dynamic slots memory requirements

On 01/18/2010 10:33 AM, Mag Gam wrote:
> If a user sets this:
> #512 mb of memory
> request_memory=512
> the jobs goes over 512 megs, does the job go into hold?
> if not, is it possible to have it held?

Condor generally does not enforce such things by default. You should use policy if you care enough to hold a job.

For instance, something like: periodic_hold = (RequestMemory * 1024) < ImageSize

Or you could write a startd policy expression to kick jobs that go over their memory request.

If you want to be really harsh about it, you can use a USER_JOB_WRAPPER and actually set ulimits to enforce memory requests.