From owner-freebsd-isp Thu Aug 29 14:37:07 1996 Return-Path: owner-isp Received: (from root@localhost) by freefall.freebsd.org (8.7.5/8.7.3) id OAA06870 for isp-outgoing; Thu, 29 Aug 1996 14:37:07 -0700 (PDT) Received: from brasil.moneng.mei.com (brasil.moneng.mei.com [151.186.109.160]) by freefall.freebsd.org (8.7.5/8.7.3) with ESMTP id OAA06801 for ; Thu, 29 Aug 1996 14:36:48 -0700 (PDT) Received: (from jgreco@localhost) by brasil.moneng.mei.com (8.7.Beta.1/8.7.Beta.1) id QAA07720; Thu, 29 Aug 1996 16:35:33 -0500 From: Joe Greco Message-Id: <199608292135.QAA07720@brasil.moneng.mei.com> Subject: Re: Max users/max processes in FreeBSD?? To: froden@bigblue.no Date: Thu, 29 Aug 1996 16:35:33 -0500 (CDT) Cc: isp@freebsd.org In-Reply-To: <199608291755.TAA13381@login.bigblue.no> from "Frode Nordahl" at Aug 29, 96 07:57:20 pm X-Mailer: ELM [version 2.4 PL24] Content-Type: text Sender: owner-isp@freebsd.org X-Loop: FreeBSD.org Precedence: bulk > I've noticed that FreeBSD has a max of 64 concurrent users and 150 processes. > > Is it possible to increase this? frisbees# limit cputime unlimited filesize unlimited datasize 131072 kbytes stacksize 65536 kbytes coredumpsize unlimited memoryuse unlimited memorylocked 6480 kbytes maxproc 179 openfiles 360 frisbees# uname -a FreeBSD frisbees.moneng.mei.com 2.1.5-RELEASE FreeBSD 2.1.5-RELEASE #0: Wed Jul 17 03:09:31 1996 jkh@whisker.cdrom.com:/usr/src/sys/compile/GENERIC i386 It looks like the GENERIC process limit is ~180 (not sure where you got 150), and as far as I am aware, there is no user limit. MAXUSERS is a constant which is somewhat misleading; it is simply a measure for how many users you expect to be dealing with on the system. Advice varies on how to count X sessions, etc. You can build with a different value for MAXUSERS, if it suits you. I administer several boxes: daily-bugle# limit cputime unlimited filesize unlimited datasize 131072 kbytes stacksize 65536 kbytes coredumpsize unlimited memoryuse unlimited memorylocked 253420 kbytes maxproc 4115 openfiles 8232 which have MAXUSERS tuned to 256. It also has 256MB RAM to back that up. Cool eh... "Can I please lock 250MB in core".. ... JG