From owner-freebsd-questions@FreeBSD.ORG Wed Feb 22 19:25:35 2006 Return-Path: X-Original-To: freebsd-questions@freebsd.org 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 CC93716A420 for ; Wed, 22 Feb 2006 19:25:35 +0000 (GMT) (envelope-from kthawan@gmail.com) Received: from nproxy.gmail.com (nproxy.gmail.com [64.233.182.200]) by mx1.FreeBSD.org (Postfix) with ESMTP id 0D41143D4C for ; Wed, 22 Feb 2006 19:25:34 +0000 (GMT) (envelope-from kthawan@gmail.com) Received: by nproxy.gmail.com with SMTP id l35so1065209nfa for ; Wed, 22 Feb 2006 11:25:33 -0800 (PST) DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=beta; d=gmail.com; h=received:message-id:date:from:to:subject:in-reply-to:mime-version:content-type:content-transfer-encoding:content-disposition:references; b=drFMpymBC+QtByEN+8bpDmO8FU2k7Hj4flOZQGjWhGcoa+aUibG1KPmPDKsjQ9oWN4LSaFAqTKDp93ePOwP1rE2f7HLzNbQlm8dagNOjNW98kOe69ntoec4C9lAz3wCQeM87qouOCK7mzhd6qlrjmaHZGm+P+ubOdl4v9yWAUfE= Received: by 10.48.42.2 with SMTP id p2mr1985049nfp; Wed, 22 Feb 2006 11:25:33 -0800 (PST) Received: by 10.48.239.7 with HTTP; Wed, 22 Feb 2006 11:25:33 -0800 (PST) Message-ID: <7ff80ef30602221125u483cc47cy795ce8442a52b332@mail.gmail.com> Date: Thu, 23 Feb 2006 02:25:33 +0700 From: "Thawan Kooburat" To: freebsd-questions@freebsd.org In-Reply-To: <7ff80ef30602180204s54cd69afy9c4c11a297ea31a4@mail.gmail.com> MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable Content-Disposition: inline References: <7ff80ef30602180204s54cd69afy9c4c11a297ea31a4@mail.gmail.com> Subject: Increase process number in FreeBSD 6.0 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: Wed, 22 Feb 2006 19:25:35 -0000 Hi I am using FreeBSD 6.0. My course assignment required me to increase process number running on a system. I have already modify /boot/loader.conf on following parameters kern.maxusers =3D 384 kern.maxproc =3D 50000 kern.maxprocperuid =3D 50000 But after reboot maxproc and maxprocperuid is only 5278 and 4755 respectively. From my research maxproc is calculated from maxusers, but i think my maxproc number is limited by other factors as well. Are there any suggestion to this problem without increasing RAM? My system is running on VMware and 256 MB of RAM available. The test program create process by using fork() and child processes is put to sleep() immediately after its creation. Thanks