Date: Tue, 5 Dec 2000 23:13:16 +0100
From: Geert Stappers
Subject: Re: Too many open files
At 14:56 +0100 12/5/00, Paul Slootman wrote:
>On Tue 05 Dec 2000, Henk van Lingen wrote:
>> On Tue, Dec 05, 2000 at 11:35:35AM +0100, Paul Slootman wrote:
>> : >
>> Anyways, ik blijf wel nieuwsgierig naar hoe dingen als
#openfiles
>> te configureren zijn. Is dat ergens te vinden of moet men
daartoe de
>> kernel source doorspitten?
>
>$ find /proc/[a-z]* -name '*file*'
>/proc/filesystems
>/proc/sys/fs/file-max
>/proc/sys/fs/file-nr
>$ cat /proc/sys/fs/file-max
>4096
>
>Die misschien?
>
mir:/usr/src/kernel-source-2.2.17
$ hostname
mir
mir:/usr/src/kernel-source-2.2.17
$ pwd
/usr/src/kernel-source-2.2.17
mir:/usr/src/kernel-source-2.2.17
$ find . -type f | xargs grep -i file-max
./Documentation/proc.txt:file-nr and file-max
./Documentation/proc.txt: The value in file-max denotes the maximum
number of
file handles
./Documentation/proc.txt: # cat /proc/sys/fs/file-max
./Documentation/proc.txt: # echo 8192 > /proc/sys/fs/file-max
./Documentation/proc.txt: # cat /proc/sys/fs/file-max
./Documentation/proc.txt: in file-max, since stdin, stdout, and
network
socket
s also need an
./Documentation/sysctl/fs.txt:- file-max
./Documentation/sysctl/fs.txt:file-max & file-nr:
./Documentation/sysctl/fs.txt:The value in file-max denotes the maximum
number o
f file-
./Documentation/sysctl/fs.txt:in file-max, since stdin, stdout and
network
socke
ts also
./fs/file_table.c: printk("VFS: file-max limit %d
reached\n",
max_f
iles);
Binary file ./fs/file_table.o matches
Binary file ./fs/fs.o matches
./kernel/sysctl.c: {FS_MAXFILE, "file-max",
&max_files, sizeof(int),
Binary file ./kernel/sysctl.o matches
Binary file ./kernel/kernel.o matches
Binary file ./vmlinux matches
mir:/usr/src/kernel-source-2.2.17
$
Groet Geert Stappers
---------------------
Hit the right key to continue
--
Afmelden: mail 'SIG linux' naar listserv@nllgg.nl
Nederlandse Linux Gebruikers Groep http://www.nllgg.nl/
Mailinglist info: http://mail.nllgg.nl/
|