Re: Open File Limit
* Cuenta la leyenda que Donovan Baarda (abo@minkirri.apana.org.au) escribió:
> On Fri, 2003-05-09 at 03:43, Russell Coker wrote:
> > On Fri, 9 May 2003 02:55, Matthew Walkup wrote:
> > > 2) Is there a way to see what the current number of real open files are?
> > > lsof reports all open sockets, etc, so I'm not sure how.
> >
> > cat /proc/sys/fs/inode-nr
>
> 10:19:33 abo@minkirri:~
> $ cat /proc/sys/fs/inode-nr
> 32189 20527
>
> I'm guessing this means my system has 20527 files open out of a maximum
> allowed 32189.
>
> That's quite a bit more than I expected, given that it's a server with
> only 2 clients currently using it. However, it is running squid, samba,
> slapd, inn2, etc.
>
<english mode="tarzan">
Maybe I'm wrong, but I don't think that /proc/sys/fs/inode-nr means so,
looks like /proc/sys/fs/file-nr is the one you are looking for.
I've found this:
http://www.cs.tau.ac.il/~didi/file-nr.html
</english>
--
Regards,
Germán O. Gutiérrez
Reply to: