[ILUG] Ulimit and NFS

Darragh Bailey felix at compsoc.nuigalway.ie
Fri Jul 16 09:41:11 IST 2004


Quoting Greg McRandal <mcrandal at maths.tcd.ie>:

> Hi,
> 
> I'm wondering if when you open a file on an NFS share does it count against
> the ulimit of the machine you are on or against the ulimit of the machine on
> which the file resides?
> 
> Thanks,
> 
> Greg

I don't really know much about NFS and the actual architectural workings behind 
such filesystems but I would have thought that opening of files across a 
network would actually count against both machines.

The file itself would be counted against the machine it resided on, but because 
of the network connection and the open pipe which is created on the machine 
that your sitting at, would count against the ulimit on your machine. 

So I would have thought you get an indirectly added count against the ulimit on 
the machine your sitting at and a direct count against the machine the file 
resides on.



-- 
Darragh

"Nothing's foolproof to a sufficently talented fool"



More information about the ILUG mailing list