From owner-freebsd-questions Fri Jul 25 03:27:03 1997 Return-Path: Received: (from root@localhost) by hub.freebsd.org (8.8.5/8.8.5) id DAA26273 for questions-outgoing; Fri, 25 Jul 1997 03:27:03 -0700 (PDT) Received: from mail.nacamar.de (mail.nacamar.de [194.162.162.200]) by hub.freebsd.org (8.8.5/8.8.5) with ESMTP id DAA26263 for ; Fri, 25 Jul 1997 03:26:53 -0700 (PDT) Received: from newsfeed (newsfeed.nacamar.de [194.162.162.196]) by mail.nacamar.de (8.8.6/8.8.6) with SMTP id MAA22192; Fri, 25 Jul 1997 12:23:25 +0200 (CEST) Message-Id: <3.0.3.32.19970725122253.00a4b720@mail.nacamar.de> X-Sender: freebsd@mail.nacamar.de X-Mailer: QUALCOMM Windows Eudora Pro Version 3.0.3 (32) Date: Fri, 25 Jul 1997 12:22:53 +0200 To: Igor Mkrtoumian , "'freebsd-questions@FreeBSD.org'" From: Michael Beckmann Subject: Re: too many files open In-Reply-To: <01BC98E6.72505AA0@ararat.aua.am> Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Sender: owner-freebsd-questions@FreeBSD.ORG X-Loop: FreeBSD.org Precedence: bulk At 10:35 25.07.97 +0400, Igor Mkrtoumian wrote: >Our local network e-mail is serviced by Mercury. SMTP gateway sends mail to FeeBSD 2.1.0. >Lastly very often we receive messages like this: >451 queuename: Cannot create "qfJAA11154" in "/var/spool/mqueue" >(euid=0): Too many open files in system >We are shutting down FreeBSD and rebooting it again to overcome the problem. >Can anybody help me please with the advice how to solve the problem permanently. Try the sysctl program. Use it to display and set the parameters: kern.maxfiles: 4136 kern.maxfilesperproc: 4136 Depending on what these parameters are set to, you may have to increase them. You may also want to build a kernel with a higher value for MAXUSERS. Michael