Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 18 Feb 2004 17:19:20 +0800
From:      David Xu <davidxu@freebsd.org>
To:        Kris Gale <kris-fbsd@asn.net>
Cc:        freebsd-threads@freebsd.org
Subject:   Re: More on MySQL -- Fatal trap 12
Message-ID:  <40332E18.6090209@freebsd.org>
In-Reply-To: <49327.68.106.19.246.1077066768.squirrel@mail.asn.net>
References:  <56666.68.106.19.246.1077058348.squirrel@mail.asn.net> <Pine.GSO.4.10.10402171926550.4193-100000@pcnet5.pcnet.com> <49327.68.106.19.246.1077066768.squirrel@mail.asn.net>

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

Can you tell us what scheduler are you using ?  if it is ULE, can you 
try 4BSD too ?
I think this is a heavy load for scheduler too, not just for pthread 
library.

Kris Gale wrote:

>>You expect 900 threads on the server (perhaps a few more
>>for overhead tasks), right?
>>    
>>
>
>Yep, and that's what I see.  MySQL reports 900 threads in
>this instance.
>
>  
>
>>What are the settings for kern.thread.*?
>>    
>>
>
>kern.threads.debug: 0
>kern.threads.max_threads_per_proc: 2500
>kern.threads.max_groups_per_proc: 2500
>kern.threads.max_threads_hits: 0
>kern.threads.virtual_cpu: 4
>  
>




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