Re: Increase process number in FreeBSD 6.0
- From: "Nikolas Britton" <nikolas.britton@xxxxxxxxx>
- Date: Thu, 23 Feb 2006 03:16:01 -0600
On 2/22/06, Thawan Kooburat <kthawan@xxxxxxxxx> wrote:
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 = 384
kern.maxproc = 50000
kern.maxprocperuid = 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.
I'm not sure if this still works but put "options MAXUSERS=512" in the
kernel config file and rebuild the kernel. also maybe put it in
sysctl.conf
"The auto-tuning algorithm sets maxuser equal to the amount of memory in the
system, with a minimum of 32, and a maximum of 384."
--
BSD Podcasts @ http://bsdtalk.blogspot.com/
_______________________________________________
freebsd-questions@xxxxxxxxxxx mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "freebsd-questions-unsubscribe@xxxxxxxxxxx"
- References:
- Increase process number in FreeBSD 6.0
- From: Thawan Kooburat
- Increase process number in FreeBSD 6.0
- Prev by Date: Re: Problem connecting a freebsd server using ssh
- Next by Date: Re: Upgrading Apache
- Previous by thread: Increase process number in FreeBSD 6.0
- Next by thread: A question on console and UTF-8
- Index(es):
Relevant Pages
|
|