Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 27 Jun 2000 14:04:45 +0200
From:      "Alessandro de Manzano" <demanzano@playstos.com>
To:        "freebsd-newbies@freebsd.org" <freebsd-newbies@freebsd.org>
Subject:   max opened files
Message-ID:  <200006271201.OAA28756@rizla.energy.it>

next in thread | raw e-mail | index | archive | help
Hi folks!

I'm a quite new user of FreeBSD (both 3.4S and 4.0S), and yesterday a server of mine reported this:

Jun 26 20:42:46 gandalf syslogd: /var/run/utmp: Too many open files in system
Jun 26 20:42:46 gandalf /kernel: file: table is full
Jun 26 20:42:47 gandalf syslogd: /var/run/utmp: Too many open files in system
Jun 26 20:42:47 gandalf last message repeated 2 times

ok, I had to increase this limit with sysctl(8).

I guess it is one of this:
(note: this is a 4.0S kernel)

kern.maxvnodes: 8456
kern.maxproc: 532
kern.maxfiles: 1064
kern.maxfilesperproc: 1064
kern.maxprocperuid: 531

should be kern.maxfiles, right ? and what about maxfilesperproc, should I increase it too ?

what is the limit ? 65535 ?

How can I set this permanently in the kernel ? I did not found anything in the kernel config file...
I think I should increase the maxproc value too...


Thanks a lot!




Alessandro de Manzano

Playstos - TIMA S.p.A.
Corso Sempione 63
20149 Milano, Italy

tel.: +39-023314153
fax: +39-02315678
email: demanzano@playstos.com

http://www.playstos.com




To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-newbies" in the body of the message




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200006271201.OAA28756>