From owner-freebsd-questions@FreeBSD.ORG Thu Jun 17 15:05:28 2004 Return-Path: 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 BE3FF16A4CF for ; Thu, 17 Jun 2004 15:05:28 +0000 (GMT) Received: from adur.net (ns1.adur.net [212.74.21.10]) by mx1.FreeBSD.org (Postfix) with ESMTP id B638A43D2D for ; Thu, 17 Jun 2004 15:05:27 +0000 (GMT) (envelope-from Richard@Tribune-IS.com) Received: from Richard by adur.net (MDaemon.PRO.v7.1.0.R) with ESMTP id md50000129396.msg for ; Thu, 17 Jun 2004 16:05:27 +0100 From: "Richard Burnett-Godfree" To: Date: Thu, 17 Jun 2004 16:11:35 +0100 Message-ID: MIME-Version: 1.0 Content-Type: text/plain; charset="Windows-1252" 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) Importance: Normal X-MimeOLE: Produced By Microsoft MimeOLE V5.00.2919.6600 X-Authenticated-Sender: Richard@Tribune-IS.com X-Spam-Processed: mail.adur.net, Thu, 17 Jun 2004 16:05:27 +0100 (not processed: message from valid local sender) X-MDRemoteIP: 212.74.21.93 X-Return-Path: Richard@Tribune-IS.com X-MDaemon-Deliver-To: questions@FreeBSD.org X-MDAV-Processed: mail.adur.net, Thu, 17 Jun 2004 16:05:30 +0100 Subject: Tuneable Parameters X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list Reply-To: Richard@Tribune-IS.com List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 17 Jun 2004 15:05:28 -0000 I am trying to port software currently running on hp-ux to freeBSD 4.9. The application I have will normally run for large numbers of users accessing database applications. On hp-ux to enable reasonable user numbers with large numbers of files open I would normally tune MAXFILES No files per process MAXFILES_LIM System level max files per process MAXUPRC Max no user processes MAXUSERS Used by kernel generation to calc tables sizes NFILE Max no files open NFLOCKS Max no file locks NINODE Max no inodes open NPTY Max no of virtual telnet devices Where do these exist in FreeBSD or do I not worry about these type of things. I would normally experience 'unable to fork process' or issues with performance as unix files are opened and accessed dynamically on a 'least recently used' basis based on the size of some of these tables. Thanks for your help. Regards Richard