From owner-freebsd-questions Sat Oct 21 15: 3: 7 2000 Delivered-To: freebsd-questions@freebsd.org Received: from mail-2.sjc.telocity.net (mail-2.sjc.telocity.net [216.227.56.42]) by hub.freebsd.org (Postfix) with ESMTP id 7F8AF37B479 for ; Sat, 21 Oct 2000 15:03:03 -0700 (PDT) Received: from zoso (dsl-216-227-91-85.telocity.com [216.227.91.85]) by mail-2.sjc.telocity.net (8.9.3/8.9.3) with SMTP id OAA04452; Sat, 21 Oct 2000 14:56:19 -0700 (PDT) From: "Otter" To: "Arcady Genkin" , Subject: RE: Too many open files in system Date: Sat, 21 Oct 2000 18:04:05 -0400 Message-ID: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit X-Priority: 3 (Normal) X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook IMO, Build 9.0.2416 (9.0.2910.0) X-MimeOLE: Produced By Microsoft MimeOLE V5.50.4133.2400 Importance: Normal In-Reply-To: <87wvf1c2jl.fsf@tea.thpoon.com> Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG Arcady, Looking at the sysctl man page, you'll find plenty of options to tweak. I see a kern.maxfiles option, though I'm not exactly sure what it does. Sounds like it may be worth looking into. -Otter }-----Original Message----- }From: owner-freebsd-questions@FreeBSD.ORG }[mailto:owner-freebsd-questions@FreeBSD.ORG]On Behalf Of }Arcady Genkin }Sent: Saturday, October 21, 2000 5:23 PM }To: freebsd-questions@FreeBSD.ORG }Subject: Too many open files in system } } }Today I got quite a scare. At 16:50 I couldn't do almost anything, }getting an error message about too many open files in system. At }about 17:00 all came back to normal. I did `lsof' then, and it }reported 913 open files, about a third of them belonging to }apache/postgresql. After restart of apache, the number went down to }730. } }The system log contains: } },---- }| Oct 21 16:50:26 soup syslogd: /dev/console: Too many open }files in \ }| system: Too many open }files in system }| Oct 21 16:50:26 soup syslogd: /var/run/utmp: Too many open }files in system }| Oct 21 16:50:26 soup syslogd: /var/run/utmp: Too many open }files in system }| Oct 21 16:50:26 soup /kernel: file: table is full }`---- } }What could have caused this? The box runs 4.1-S, and the main }services are apache/mod_php4, postgresql, and a UW IMAP server }(private: not a busy one). No X. } }Could this have been an external attack? } }If there is a limit on the number of open files somewhere in the }kernel, is it raisable? } }Many thanks, }-- }Arcady Genkin }Don't read everything you believe. } } }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