Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 17 Jun 2005 13:59:00 +0300
From:      Andriy Tkachuk <ant@emict.com>
To:        David Xu <davidxu@freebsd.org>
Cc:        freebsd-threads@freebsd.org
Subject:   Re: more than 2k threads with -lpthread or -lthr
Message-ID:  <200506171359.01441.ant@emict.com>
In-Reply-To: <42B1F414.9040203@freebsd.org>
References:  <200506161309.51431.ant@emict.com> <20050616141857.GA63602@stack.nl> <42B1F414.9040203@freebsd.org>

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

On Friday 17 June 2005 00:50, David Xu wrote:
> Here two sysctl also have to tuned to numbers larger than 2000 for
> libthr and libpthread:
> kern.threads.max_groups_per_proc
> kern.threads.max_threads_per_proc

Also i want to note, that i didn't change this sysctls.
Theirs default values are:

kern.threads.max_threads_per_proc: 1500
kern.threads.max_groups_per_proc: 1500

and i make 5000 threads with -lpthread.

The only sysctls i change in order to work with such
number of threads are kern.maxfiles and kern.ipc.maxsockets,
but they are not about threads.

Regards,
  Andriy Tkachuk.


home | help

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