[torquedev] [PATCH] Change pbs_mom to set RLIMIT_AS instead of RLIMIT_DATA for mem/pmem limits.

David Singleton David.Singleton at anu.edu.au
Sat Jan 10 20:07:40 MST 2009


Chris Samuel wrote:
> ----- "David Singleton" <David.Singleton at anu.edu.au> wrote:
> 
> Hi Dave!
> 
>> Hi Chris,
>>
>> I have to agree with Ake:
>>
>>   * mem/pmem is for limiting RSS/physical memory use
>>   * vmem/pvmem is for limiting virtual memory/address ranges
> 
> But that's not what pbs_mom is designed to do, 

Hmmm, well it does in OpenPBS.  Looks like Torque broke this at some
stage.   But the Torque doco still describes how it should be:

mem    Maximum amount of physical memory used by the job.
pmem   Maximum amount of physical memory used by any single process of the job.
pvmem  Maximum amount of virtual memory used by any single process in the job.
vmem   Maximum amount of virtual memory used by all concurrent processes in the job.

How did RLIMIT_DATA get into limiting "mem"?

David


More information about the torquedev mailing list