From owner-freebsd-questions Mon Apr 13 15:17:07 1998 Return-Path: Received: (from majordom@localhost) by hub.freebsd.org (8.8.8/8.8.8) id PAA02055 for freebsd-questions-outgoing; Mon, 13 Apr 1998 15:17:07 -0700 (PDT) (envelope-from owner-freebsd-questions@FreeBSD.ORG) Received: from relay.ucb.crimea.ua (relay.ucb.crimea.ua [194.93.177.113]) by hub.freebsd.org (8.8.8/8.8.8) with ESMTP id WAA01799 for ; Mon, 13 Apr 1998 22:15:56 GMT (envelope-from ru@ucb.crimea.ua) Received: (from ru@localhost) by relay.ucb.crimea.ua (8.8.8/8.8.8) id BAA19506; Tue, 14 Apr 1998 01:14:37 +0300 (EEST) (envelope-from ru) Message-ID: <19980414011437.08162@ucb.crimea.ua> Date: Tue, 14 Apr 1998 01:14:37 +0300 From: Ruslan Ermilov To: questions@FreeBSD.ORG Subject: Re: HELP: /kernel: file: table is full Mail-Followup-To: questions@FreeBSD.ORG References: <19980412222044.21511@ucb.crimea.ua> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Mailer: Mutt 0.89.1i In-Reply-To: ; from Doug White on Mon, Apr 13, 1998 at 03:03:39PM -0700 Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG On Mon, Apr 13, 1998 at 03:03:39PM -0700, Doug White wrote: > On Sun, 12 Apr 1998, Ruslan Ermilov wrote: > > > Can I check a number of files opened by each process? > > I don't believe that I have 3240 files opened at a time. > > pstat -T may give some insight. > > For your error, you're probably running into the /etc/login.conf limits; > edit as necessary. I don't think so. According to falloc() from sys/kern/kern_descrip.c: if (nfiles >= maxfiles) { tablefull("file"); return (ENFILE); } where maxfiles is equal to: # sysctl kern.maxfiles kern.maxfiles: 3240 --or-- # pstat -T 172/3240 files 34M/95M swap space -- Ruslan Ermilov System Administrator ru@ucb.crimea.ua United Commercial Bank +380-652-247647 Simferopol, Crimea 2426679 ICQ Network, UIN To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message