Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 18 Feb 2006 17:04:50 +0700
From:      "Thawan Kooburat" <kthawan@gmail.com>
To:        freebsd-performance@freebsd.org
Subject:   Increase process number in FreeBSD 6.0
Message-ID:  <7ff80ef30602180204s54cd69afy9c4c11a297ea31a4@mail.gmail.com>

next in thread | raw e-mail | index | archive | help
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



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