On Fri, Sep 03, 2004 at 11:21:35AM -0400, Mike Ward wrote:
> Interesting. I just looked, it shows I have ~40 free open files left,
> so maybe that's it.
They are dynamically allocated.
On my system:

~ %% cat /proc/sys/fs/file-nr  
913     82      4096
~ %% 

913 open file structures
all but 82 in use
will allocate more as needed until 4096 allocated

> What sort of side effects might arise from allowing 4x the number of
> open files, if any?
I'm guessing running out of memory.  Kernel memory cannot be swapped, so
if the kernel is using 126MiB on a 128MiB system, you'll swap just as
bad as if your system only had 2 MiB (ignoring the minor detail that
remotely recent versions of Linux won't boot with that little memory).

> snipped

-- 
The world's most effective spam filter:
        ln -sf /dev/full /var/mail/$USER


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED] 
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]

Reply via email to