On Fri, Sep 03, 2004 at 10:57:04AM -0400, Mike Ward wrote:
> Well, it obviously varies, but I just ran "lsof | wc -l" and it returned: 
> 
> [EMAIL PROTECTED]:~$ lsof | wc -l
> 6335
> 
> I'll try running that next time I run into problems as well.
> 
> 
> Kernel version is 2.2.20-idepci
Won't lsof report duped handles multiple times?

sudo cat /proc/sys/fs/file-nr

Three numbers: total allocated open files, free open-files, maximum open-files.

When you get the error, type 'dmesg' and look for:

VFS: file-max limit 4096 reached

(The number may differ)

If that is the error, you can change the max:

(AS_ROOT) echo 16384 > /proc/sys/fs/file-max

This:
grow_inodes: inode-max limit reached

Calls for:

echo 65536 > /proc/sys/fs/inode-max

(Change the exact numbers as needed, both examples are 4x the default)

> 
> > What kernel version are you using and what is the output of:
> > 
> > lsof | wc -l

-- 
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