From owner-freebsd-performance@FreeBSD.ORG Sat Feb 18 10:04:53 2006 Return-Path: X-Original-To: freebsd-performance@freebsd.org Delivered-To: freebsd-performance@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id C579F16A420 for ; Sat, 18 Feb 2006 10:04:53 +0000 (GMT) (envelope-from kthawan@gmail.com) Received: from nproxy.gmail.com (nproxy.gmail.com [64.233.182.204]) by mx1.FreeBSD.org (Postfix) with ESMTP id 1F0A843D62 for ; Sat, 18 Feb 2006 10:04:51 +0000 (GMT) (envelope-from kthawan@gmail.com) Received: by nproxy.gmail.com with SMTP id l35so407660nfa for ; Sat, 18 Feb 2006 02:04:50 -0800 (PST) DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=beta; d=gmail.com; h=received:message-id:date:from:to:subject:mime-version:content-type:content-transfer-encoding:content-disposition; b=hbzlUK3R8bxsikeZZFwP073GQvX3l2Pw8eZaLMgyKvzWLHmQJMraJNHBaVdEYoY7r7vDczCMa4Mp7SBpELX/bKofewfniG2FLvdM6bwsA9XAEALcrgKpXjTke5PJVs1+albKIWEc5VHyIEOx6RhoqWbpU8Yq/4gUJycZMBa5bMk= Received: by 10.49.2.4 with SMTP id e4mr669807nfi; Sat, 18 Feb 2006 02:04:50 -0800 (PST) Received: by 10.48.239.7 with HTTP; Sat, 18 Feb 2006 02:04:50 -0800 (PST) Message-ID: <7ff80ef30602180204s54cd69afy9c4c11a297ea31a4@mail.gmail.com> Date: Sat, 18 Feb 2006 17:04:50 +0700 From: "Thawan Kooburat" To: freebsd-performance@freebsd.org MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable Content-Disposition: inline Subject: Increase process number in FreeBSD 6.0 X-BeenThere: freebsd-performance@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Performance/tuning List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 18 Feb 2006 10:04:53 -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