From owner-freebsd-questions Tue Aug 27 10:26:41 2002 Delivered-To: freebsd-questions@freebsd.org Received: from mx1.FreeBSD.org (mx1.FreeBSD.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 0A9BE37B400 for ; Tue, 27 Aug 2002 10:26:37 -0700 (PDT) Received: from hotmail.com (oe22.pav2.hotmail.com [64.4.36.79]) by mx1.FreeBSD.org (Postfix) with ESMTP id A9E8643E65 for ; Tue, 27 Aug 2002 10:26:36 -0700 (PDT) (envelope-from unixtools@hotmail.com) Received: from mail pickup service by hotmail.com with Microsoft SMTPSVC; Tue, 27 Aug 2002 10:26:36 -0700 X-Originating-IP: [202.41.224.36] From: "Unix Tools" To: "Chris Linstruth" , References: Subject: Re: Open files and Swap Space Errors (fwd) Date: Tue, 27 Aug 2002 11:11:39 +0530 MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit X-Priority: 3 X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook Express 6.00.2600.0000 X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2600.0000 Message-ID: X-OriginalArrivalTime: 27 Aug 2002 17:26:36.0705 (UTC) FILETIME=[E575C110:01C24DEE] Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG increase the no of open files using the sysctl command ----- Original Message ----- From: "Chris Linstruth" To: Sent: Thursday, August 22, 2002 08:24 AM Subject: Open files and Swap Space Errors (fwd) > Nobody has any suggestions for this problem? > > -- > Chris Linstruth > QNET > 1529 East Palmdale Blvd Suite 200 > Palmdale, CA 93550 > (661) 538-2028 > > > ---------- Forwarded message ---------- > Date: Wed, 21 Aug 2002 12:26:37 -0700 (PDT) > From: Chris Linstruth > To: freebsd-questions@freebsd.org > Subject: Open files and Swap Space Errors > > I have a sendmail server giving me resource allocation errors but > it looks to me like plenty of file handles and swap space are > available.... Any thoughts? > > FreeBSD x.x.x 4.6-RELEASE FreeBSD 4.6-RELEASE #0: Tue Jun 11 06:14:12 GMT 2002 murray@builder.freebsdmall.com:/usr/src/sys/compile/GENERIC i386 > > # pstat -s > Device 1K-blocks Used Avail Capacity Type > /dev/da0s1b 262016 9856 252160 4% Interleaved > > # sysctl -a | grep files > kern.maxfiles: 8080 > kern.maxfilesperproc: 3636 > kern.openfiles: 383 > p1003_1b.mapped_files: 0 > > # limits > Resource limits (current): > cputime infinity secs > filesize infinity kb > datasize 524288 kb > stacksize 65536 kb > coredumpsize infinity kb > memoryuse infinity kb > memorylocked infinity kb > maxprocesses 1818 > openfiles 3636 > sbsize infinity bytes > > Running sysctl -a reports too many of these to post here: > > swap_pager_getswapspace: failed > swap_pager_getswapspace: failed > swap_pager_getswapspace: failed > swap_pager_getswapspace: failed > > and > > <3>file: table is full > <3>file: table is full > <3>file: table is full > <3>file: table is full > <3>file: table is full > > And a few like this: > <3>pid 29289 (sendmail), uid 0, was killed: out of swap space > > Any thoughts appreciated. > -- > Chris Linstruth > > > > 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