Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 29 Aug 1996 16:35:33 -0500 (CDT)
From:      Joe Greco <jgreco@brasil.moneng.mei.com>
To:        froden@bigblue.no
Cc:        isp@freebsd.org
Subject:   Re: Max users/max processes in FreeBSD??
Message-ID:  <199608292135.QAA07720@brasil.moneng.mei.com>
In-Reply-To: <199608291755.TAA13381@login.bigblue.no> from "Frode Nordahl" at Aug 29, 96 07:57:20 pm

next in thread | previous in thread | raw e-mail | index | archive | help

> 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



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?199608292135.QAA07720>