On Thu, Oct 16, 2008 at 02:45:25PM +0100, A.J.Martin wrote:
> On Thu, 16 Oct 2008, Kostas Georgiou wrote:
>
>>
>> I am not running torque but pvmem can be an issue in some instances
>> * a serial job starts two process so they end up using more than pvmem
>> and you can run out of memory :(
>> * virtual memory != amount of memory that the process is using (for
>> example you mmap a 3GB file) so you might end up killing innocent
>> jobs. Unfortunately there is nothing else that we can use to limit
>> memory so limiting virtual memory is the only option that we have.
>>
> Kostas, I don't understand your point here, what's the problem with
> limiting RSS with setrlimit in general? That is have we configure our
> SGE queues (I don't know difficult it is to do torque).
That limiting RSS doesn't do anything since the kernel is not enforcing
it. It is the same as having no limit :( There were some kernel patches
about some ages ago but nobody is working on it any more AFAIK.
Kostas
|