From owner-freebsd-threads@FreeBSD.ORG Wed Feb 18 01:19:23 2004 Return-Path: Delivered-To: freebsd-threads@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id DA1C416A4CE for ; Wed, 18 Feb 2004 01:19:23 -0800 (PST) Received: from exchhz01.viatech.com.cn (ip-40-162-97-218.anlai.com [218.97.162.40]) by mx1.FreeBSD.org (Postfix) with ESMTP id 1457743D1D for ; Wed, 18 Feb 2004 01:19:16 -0800 (PST) (envelope-from davidxu@freebsd.org) Received: from freebsd.org (DAVIDWNT [10.4.1.99]) by exchhz01.viatech.com.cn with SMTP (Microsoft Exchange Internet Mail Service Version 5.5.2650.21) id 1WN49C80; Wed, 18 Feb 2004 17:19:04 +0800 Message-ID: <40332E18.6090209@freebsd.org> Date: Wed, 18 Feb 2004 17:19:20 +0800 From: David Xu User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.0; en-US; rv:1.5b) Gecko/20030723 Thunderbird/0.1 X-Accept-Language: en-us, en MIME-Version: 1.0 To: Kris Gale References: <56666.68.106.19.246.1077058348.squirrel@mail.asn.net> <49327.68.106.19.246.1077066768.squirrel@mail.asn.net> In-Reply-To: <49327.68.106.19.246.1077066768.squirrel@mail.asn.net> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit cc: freebsd-threads@freebsd.org Subject: Re: More on MySQL -- Fatal trap 12 X-BeenThere: freebsd-threads@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Threading on FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 18 Feb 2004 09:19:24 -0000 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 > >