From owner-freebsd-current@FreeBSD.ORG Fri Aug 15 23:23:41 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 234BD106566B for ; Fri, 15 Aug 2008 23:23:41 +0000 (UTC) (envelope-from eakarsu_33@yahoo.com) Received: from n4a.bullet.mail.ac4.yahoo.com (n4a.bullet.mail.ac4.yahoo.com [76.13.13.67]) by mx1.freebsd.org (Postfix) with SMTP id D3F008FC08 for ; Fri, 15 Aug 2008 23:23:40 +0000 (UTC) (envelope-from eakarsu_33@yahoo.com) Received: from [76.13.13.26] by n4.bullet.mail.ac4.yahoo.com with NNFMP; 15 Aug 2008 23:23:40 -0000 Received: from [76.13.10.172] by t3.bullet.mail.ac4.yahoo.com with NNFMP; 15 Aug 2008 23:23:40 -0000 Received: from [127.0.0.1] by omp113.mail.ac4.yahoo.com with NNFMP; 15 Aug 2008 23:23:40 -0000 X-Yahoo-Newman-Property: ymail-3 X-Yahoo-Newman-Id: 279904.9268.bm@omp113.mail.ac4.yahoo.com Received: (qmail 1086 invoked by uid 60001); 15 Aug 2008 23:23:39 -0000 DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=s1024; d=yahoo.com; h=Received:X-Mailer:Date:From:Subject:To:Cc:MIME-Version:Content-Type:Message-ID; b=ccju52JUp/h0Vhk/iZ6XOf81PufUbnGE8dZFyEhDN22GGFjPt2ZOT6U0MzM5r2FVS9xfrys+PFpZX62w3hlvTdw07z4HSQhaWZaH8RGgPcevwlj1GffhZxOmp5xwWlZhc46scg+Vnb75JTDxU9YpW7wxl02auTGByzBLneVgTfs=; Received: from [96.228.60.223] by web45213.mail.sp1.yahoo.com via HTTP; Fri, 15 Aug 2008 16:23:39 PDT X-Mailer: YahooMailRC/1042.48 YahooMailWebService/0.7.218 Date: Fri, 15 Aug 2008 16:23:39 -0700 (PDT) From: Erol Akarsu To: cpghost MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Message-ID: <526028.329.qm@web45213.mail.sp1.yahoo.com> 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:23:41 -0000 Dear cpghost, I appreciate your detailed answer, Can you help me on setting other limits? I did the following but it did not change. I would like this like I do in linux: ulimit -c unlimited ulimit -d unlimited ulimit -f unlimited ulimit -i unlimited ulimit -n 999999 ulimit -q unlimited ulimit -u unlimited ulimit -v unlimited ulimit -x unlimited ulimit -s 244 ulimit -l unlimited Could you please tell me how I will do it on FreeBSD? Thanks ----- Original Message ---- From: cpghost To: Erol Akarsu Cc: freebsd-current@freebsd.org Sent: Friday, August 15, 2008 7:00:04 PM Subject: Re: Freeswitch on latest FBSD 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. ;) -. -- Cordula's Web. http://www.cordula.ws/