From owner-freebsd-newbies Tue Jun 27 5: 2:41 2000 Delivered-To: freebsd-newbies@freebsd.org Received: from rizla.energy.it (rizla.energy.it [212.51.128.1]) by hub.freebsd.org (Postfix) with ESMTP id 75E4C37BE72 for ; Tue, 27 Jun 2000 05:02:33 -0700 (PDT) (envelope-from demanzano@playstos.com) Received: from sunshine (s52.mi.energy.it [212.51.129.115]) by rizla.energy.it (8.8.3/8.8.3) with SMTP id OAA28756 for ; Tue, 27 Jun 2000 14:01:56 +0200 Message-Id: <200006271201.OAA28756@rizla.energy.it> From: "Alessandro de Manzano" To: "freebsd-newbies@freebsd.org" Date: Tue, 27 Jun 2000 14:04:45 +0200 Reply-To: "Alessandro de Manzano" X-Mailer: PMMail 2000 Professional (2.10.2010) For Windows 2000 (5.0.2195) MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit Subject: max opened files Sender: owner-freebsd-newbies@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org 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