[Gllug] # of open files

Nix nix at esperi.org.uk
Mon Nov 17 22:11:38 UTC 2003


On Sun, 16 Nov 2003, Dean Wilson yowled:
> Henrik Morsing wrote:
>> On Sun, 16 Nov 2003, Dean Wilson wrote:
>> Thanks, that's what I was after.
> 
> The other useful one is 'cat /proc/sys/fs/file-max'
> 
>> The 'max' value is max number ever open at the same time, right?
> 
> Thats how i've always read it. Can anyone else on list confirm/deny this?

That's it. See fs_table.FS_MAXFILE in kernel/sysctl.c and
files_init() and get_empty_filp() in fs/file_table.c.

-- 
`Me, I want exploding spaceships and pulverized worlds and clashes of
 billion-year-old empires *and* competently written sentences.'
                                                    --- Matt Austern

-- 
Gllug mailing list  -  Gllug at linux.co.uk
http://list.ftech.net/mailman/listinfo/gllug




More information about the GLLUG mailing list