From owner-freebsd-threads@FreeBSD.ORG Fri Jan 23 09:05:24 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 293C916A4CE for ; Fri, 23 Jan 2004 09:05:24 -0800 (PST) Received: from titan.exolab.org (smtp.intalio.com [65.222.219.19]) by mx1.FreeBSD.org (Postfix) with ESMTP id 4CEA143D5D for ; Fri, 23 Jan 2004 09:04:18 -0800 (PST) (envelope-from boisvert@intalio.com) Received: from intalio.com (fwin.intalio.com [65.222.219.17]) by titan.exolab.org (8.11.1/8.11.1) with ESMTP id i0NH3fM14490 for ; Fri, 23 Jan 2004 09:03:41 -0800 Message-ID: <4011546D.9010904@intalio.com> Date: Fri, 23 Jan 2004 09:05:49 -0800 From: Alex Boisvert User-Agent: Mozilla/5.0 (X11; U; FreeBSD i386; en-US; rv:1.5) Gecko/20040117 X-Accept-Language: en-us, en MIME-Version: 1.0 To: freebsd-threads@freebsd.org References: <200401211521.35918.avleeuwen@piwebs.com> <40115126.8040106@intalio.com> In-Reply-To: <40115126.8040106@intalio.com> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Subject: Re: "maxthr" state 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: Fri, 23 Jan 2004 17:05:24 -0000 Nevermind, I discovered the kernel sysctl "kern.threads.max_threads_per_proc" with default value 150. I bumped the value to 300 and the app runs fine. (We simulate 250 clients with 250 connections or threads, hence the need for a large value...) alex Alex Boisvert wrote: > > Hi, > > What does the following "maxthr" state mean? (output from top) > > PID USERNAME PRI NICE SIZE RES STATE C TIME WCPU CPU > COMMAND > 854 boisvert 20 0 432M 36936K maxthr 1 0:06 0.00% 0.00% java > > Does it mean I'm running into a maximum number of thread limit? If > so, how I can increase the number of threads? > > My application uses a large number of threads and just goes to sleep > at some point. I can provide more details or debug output if necessary. > > TIA, > alex > > > _______________________________________________ > freebsd-threads@freebsd.org mailing list > http://lists.freebsd.org/mailman/listinfo/freebsd-threads > To unsubscribe, send any mail to > "freebsd-threads-unsubscribe@freebsd.org"