From owner-freebsd-questions Wed Apr 25 17:33:13 2001 Delivered-To: freebsd-questions@freebsd.org Received: from karon.dynas.se (karon.dynas.se [192.71.43.4]) by hub.freebsd.org (Postfix) with SMTP id 2839237B446 for ; Wed, 25 Apr 2001 17:33:01 -0700 (PDT) (envelope-from mikko@dynas.se) Received: (qmail 65289 invoked from network); 26 Apr 2001 00:32:34 -0000 Received: from spirit.sto.dynas.se (HELO spirit.dynas.se) (172.16.1.10) by 172.16.1.1 with SMTP; 26 Apr 2001 00:32:34 -0000 Received: (qmail 14419 invoked from network); 26 Apr 2001 00:33:02 -0000 Received: from explorer.rsa.com (10.81.217.59) by spirit.dynas.se with SMTP; 26 Apr 2001 00:33:02 -0000 Received: (from mikko@localhost) by explorer.rsa.com (8.11.3/8.11.1) id f3Q0Wem38959; Wed, 25 Apr 2001 17:32:40 -0700 (PDT) (envelope-from mikko) Date: Wed, 25 Apr 2001 17:32:40 -0700 (PDT) From: Mikko Tyolajarvi Message-Id: <200104260032.f3Q0Wem38959@explorer.rsa.com> To: philip@adhesivemedia.com Cc: questions@freebsd.org Subject: Re: /kernel: file: table is full ??? Newsgroups: local.freebsd.questions References: X-Newsreader: NN version 6.5.6 (NOV) Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG In local.freebsd.questions you write: >So naturally, as soon as I post a question I start to find some answers on >my own... *sigh* >I can apparently adjust the kern.maxfiles variable as the FAQ suggests to >whatever I want. It says that it might need to go as high as 10,000 for >busy servers (which mine isn't). Mine is currently set to 2088. >So my new questions are: >- is there any risk in raising it really high? >- how can I tell which processes are using a lot of files? "pstat -T" shows you the global usage, "fstat" lists all file descriptors, sorted by process. "lsof" (in ports) can give you some more info, especially names of open files. $.02, /Mikko >Thanks! >On Wed, 25 Apr 2001, Philip Hallstrom wrote: >> Hi all - >> Recently I've been getting this error message. The box is doing >> quite a few different things (mail, apache, postgres, mysql, etc..), but >> not enough in my mind to be getting this error for a legitimate reason. >> >> What I need is information on how to track down what process is causing >> the problem? >> >> Thanks. >> >> >> To Unsubscribe: send mail to majordomo@FreeBSD.org >> with "unsubscribe freebsd-questions" in the body of the message >> >To Unsubscribe: send mail to majordomo@FreeBSD.org >with "unsubscribe freebsd-questions" in the body of the message -- Mikko Työläjärvi_______________________________________mikko@rsasecurity.com RSA Security To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message