Re: max number of files



Eef Hartman wrote:
Tester <calinguga@xxxxxxxxxxxx> wrote:
Hello,
How can I see and then adjust if necessary the max number of files my
Fedora Core supports? I am thinking of user files, sendmail files in
the queue, etc the total number combined.

Files OPEN in applications or files ON disk (cq partition)?
The latter is a value determined by the file system and formatting
parameters OF that disk/partition, not dependant on the kind of Linux
(distribution) you run.
For ext2/3/4 with the "default" formatting it is normally 1 file for
each 16 KB of available space, see /etc/mke2fs.conf (at "inode_ration"),
as each file needs (at least) 1 i-node (directories and symbolic links
need one too, HARD links do NOT).
With the "df -i" command you get an overview of total/used/free i-nodes
on each file system that supports them.

As for open files in applications, that _is_ a kernel function (number
of available handles), but I wouldn't know if the Linux kernel
restricts that in any way or just allocates more memory for them).
Maybe in /etc/security/limits.conf
.



Relevant Pages

  • Re: max number of files
    ... The latter is a value determined by the file system and formatting ... as each file needs 1 i-node (directories and symbolic links ... As for open files in applications, that _is_ a kernel function (number ... but I wouldn't know if the Linux kernel ...
    (linux.redhat)
  • Re: Creating hardlinks for directories.
    ... > I wanted to create hardlinks for directories on the same file system. ... various commands available at the command line while the actual users ... an ignorant fool of a system administrator. ... It is not clear to me why symbolic links would not work as well for you. ...
    (Fedora)
  • Re: [9fans] p9p vac/vacfs compatibility: uid/gid, ctime, 9P2000.L, 9pserve
    ... used to archive a Linux file system to venti, is there any way to access ... the symlinks and device nodes all stat as regular files. ... The symbolic links show up as links, but with the null string as ...
    (comp.os.plan9)
  • Re: TRU64 -finding the path of executable
    ... Linux we have /proc/$pid/cwd parameter which tells us the ... Since /proc isn't a real file system but everything in there gets ... created by the kernel on demand lots of cute tricks can be imple- ... Symbolic links are followed to obtain a canonical name. ...
    (comp.unix.questions)
  • Re: [opensuse] Another back-up question - Over & over again
    ... On Monday 30 April 2007 11:13, Carlos E. R. wrote: ... It's important to distinguish hard links from symbolic links. ... Hard links are fundamentally restricted from ever crossing file system / ...
    (SuSE)