From owner-freebsd-questions@FreeBSD.ORG Tue Dec 19 08:56:48 2006 Return-Path: X-Original-To: freebsd-questions@freebsd.org Delivered-To: freebsd-questions@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 23E5016A47B for ; Tue, 19 Dec 2006 08:56:48 +0000 (UTC) (envelope-from youshi10@u.washington.edu) Received: from mxout2.cac.washington.edu (mxout2.cac.washington.edu [140.142.33.4]) by mx1.FreeBSD.org (Postfix) with ESMTP id E304843CB5 for ; Tue, 19 Dec 2006 08:56:37 +0000 (GMT) (envelope-from youshi10@u.washington.edu) Received: from smtp.washington.edu (smtp.washington.edu [140.142.33.9]) by mxout2.cac.washington.edu (8.13.7+UW06.06/8.13.7+UW06.09) with ESMTP id kBJ8uUdo031525 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=OK) for ; Tue, 19 Dec 2006 00:56:30 -0800 X-Auth-Received: from [192.168.0.101] (dsl254-013-145.sea1.dsl.speakeasy.net [216.254.13.145]) (authenticated authid=youshi10) by smtp.washington.edu (8.13.7+UW06.06/8.13.7+UW06.09) with ESMTP id kBJ8uT0g009024 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NOT) for ; Tue, 19 Dec 2006 00:56:30 -0800 Message-ID: <4587A93C.5010901@u.washington.edu> Date: Tue, 19 Dec 2006 00:56:28 -0800 From: Garrett Cooper User-Agent: Thunderbird 1.5.0.8 (X11/20061217) MIME-Version: 1.0 To: freebsd-questions@freebsd.org References: <212869.41963.qm@web37009.mail.mud.yahoo.com> <200612182208.54073.freebsd@dfwlp.com> In-Reply-To: <200612182208.54073.freebsd@dfwlp.com> X-Enigmail-Version: 0.94.1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit X-PMX-Version: 5.2.2.285561, Antispam-Engine: 2.5.0.283055, Antispam-Data: 2006.12.19.3932 X-Uwash-Spam: Gauge=IIIIIII, Probability=7%, Report='LEO_OBFU_SUBJ_RE 0.1, __CP_URI_IN_BODY 0, __CT 0, __CTE 0, __CT_TEXT_PLAIN 0, __HAS_MSGID 0, __LINES_OF_YELLING 0, __MIME_TEXT_ONLY 0, __MIME_VERSION 0, __SANE_MSGID 0, __USER_AGENT 0' Subject: Re: Server Problem X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 19 Dec 2006 08:56:48 -0000 -----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 Jonathan Horne wrote: > On Monday 18 December 2006 16:51, ossama abdel-haleem wrote: >> Dear Sir, >> I have HP Proliant ML 370 G4 server with dual Processors 3.6 intel xeon >> and HP Smart RAID controller (Config=>RAID5) (146GB * 6) + (4 GB Of RAM.) >> The server working as application server (Tailored Software) based on >> POSTGRESQL server. I installed the FreeBSD 6.1 to serve 100 users with the >> application so - after period of time I found an error message appeared on >> the server : Kern. Maxfiles Limit Exceeded By UID 1001, Please See Tuning >> (7). >> >> What is the problem? Can You Help Me because after this message appears >> the server activities down. >> >> Thanks >> Ossama Abdel Haleem > > i think you must be referring to. on my system, the default setting can be > seen, like this: > > [jhorne@athena ~]$ sysctl -a|grep kern.maxfiles > kern.maxfiles: 12328 > > in order to raise this, a line would be added to /boot/loader.conf, like this: > kern.maxfiles=24576 > > hth, > jonathan Either that, or if someone has too many files open they need to be limited. login.conf(5) provides more information about that, along with limits(1) and tuning(7), and the handbook chapter: . That value is a bit low though, and you should be safe in doubling or quadrupling it. - -Garrett -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.6 (FreeBSD) Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org iD8DBQFFh6k7EnKyINQw/HARAqcrAJ90A7E86K81BN1glF2tSny7FcugKgCgnn3z cnGFhSGrNCEdrMPFCezN4kA= =PgHo -----END PGP SIGNATURE-----