Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 29 Nov 2005 09:24:07 -0200
From:      "Ricardo A. Reis" <ricardo_bsd@yahoo.com.br>
To:        performance@freebsd.org
Subject:   Re: Libmicro!! pthread_create Resource temporarily unavailable
Message-ID:  <438C3A57.9020507@yahoo.com.br>
In-Reply-To: <23B6BBC5.F5C7C9B@mails.de>
References:  <23B6BBC5.F5C7C9B@mails.de>

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

 >the pthread_create benchmark is trying to create 20000 threads, the
 >default allowed number is 1500.


Hi,

I increase default limits for  *per_proc for 40000

sysctl -a |grep threads
kern.threads.thr_concurrency: 0
kern.threads.thr_scope: 0
kern.threads.virtual_cpu: 2
kern.threads.max_threads_hits: 0
kern.threads.max_groups_per_proc: 40000
kern.threads.max_threads_per_proc: 40000
kern.threads.debug: 0
vm.stats.vm.v_kthreads: 69


But this not solution,



Thanks


Ricardo A. Reis
UNIFESP
Unix and Network Admin



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