FreeBSD 5.3 and too many files open...

Axel.Gruner at suedfactoring.de Axel.Gruner at suedfactoring.de
Wed Mar 23 00:28:18 PST 2005


Mario wrote:

># Axel.Gruner at suedfactoring.de:
>>
>> kern.maxfilesperproc: 5898
>> kern.maxusers: 384
>>
>> My /boot/loader.conf looks like:
>> kern.maxfiles="65536"
>> kern.ipc.nmbclusters=64000
>> kern.ipc.nmbufs=256000
>> kern.maxproc=8192
>> kern.ipc.somaxconn=4096
>>
>>So i do not get it, imho the configuration is just fine, but why do i get
>> the message "too many files open..."?

>What does ulimit -a tell?  Any limits in /etc/login.conf?

Well, "limit" tells me:

limit
cputime      unlimited
filesize     unlimited
datasize     524288 kbytes
stacksize    65536 kbytes
coredumpsize 2048 kbytes
memoryuse    unlimited
vmemoryuse   unlimited
descriptors  58982
memorylocked unlimited
maxproc      7372
sbsize       unlimited

(in the future i have to fix cputime, filesize,... to accaptable value...)




More information about the freebsd-questions mailing list