From owner-freebsd-current@FreeBSD.ORG Fri Aug 15 23:20:02 2008 Return-Path: Delivered-To: freebsd-current@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id EFB031065680 for ; Fri, 15 Aug 2008 23:20:02 +0000 (UTC) (envelope-from cpghost@cordula.ws) Received: from fw.farid-hajji.net (fw.farid-hajji.net [213.146.115.42]) by mx1.freebsd.org (Postfix) with ESMTP id A595A8FC18 for ; Fri, 15 Aug 2008 23:20:02 +0000 (UTC) (envelope-from cpghost@cordula.ws) Received: from epia-2.farid-hajji.net (epia-2 [192.168.254.11]) by fw.farid-hajji.net (Postfix) with ESMTP id 845B1352A2; Sat, 16 Aug 2008 01:00:05 +0200 (CEST) Date: Sat, 16 Aug 2008 01:00:04 +0200 From: cpghost To: Erol Akarsu Message-ID: <20080815230004.GA29965@epia-2.farid-hajji.net> References: <266307.97521.qm@web45210.mail.sp1.yahoo.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <266307.97521.qm@web45210.mail.sp1.yahoo.com> User-Agent: Mutt/1.5.18 (2008-05-17) Cc: freebsd-current@freebsd.org Subject: Re: Freeswitch on latest FBSD X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 15 Aug 2008 23:20:03 -0000 On Fri, Aug 15, 2008 at 03:43:15PM -0700, Erol Akarsu wrote: > > You have to increase kern.threads.max_threads_per_proc sysctl. > How will I increase? > Can you you give the syntax? Please don't top-post. To experiment with sysctl values, try this: # sysctl kern.threads.max_threads_per_proc kern.threads.max_threads_per_proc: 1500 # sysctl kern.threads.max_threads_per_proc=2000 kern.threads.max_threads_per_proc: 1500 -> 2000 # sysctl kern.threads.max_threads_per_proc kern.threads.max_threads_per_proc: 2000 Just experiment until your program behaves as needed, and once you've found the right value, add it to /etc/sysctl.conf with a line like this: kern.threads.max_threads_per_proc=2000 This will take effect as soon as you reboot. Of course you don't need to reboot: sysctl the value manually as shown above will do just fine. ;) -cpghost. -- Cordula's Web. http://www.cordula.ws/