From owner-freebsd-current@FreeBSD.ORG Fri Aug 15 20:44:01 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 835131065675 for ; Fri, 15 Aug 2008 20:44:01 +0000 (UTC) (envelope-from rpaulo@gmail.com) Received: from nf-out-0910.google.com (nf-out-0910.google.com [64.233.182.189]) by mx1.freebsd.org (Postfix) with ESMTP id 1D4208FC16 for ; Fri, 15 Aug 2008 20:44:00 +0000 (UTC) (envelope-from rpaulo@gmail.com) Received: by nf-out-0910.google.com with SMTP id h3so906620nfh.33 for ; Fri, 15 Aug 2008 13:43:59 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:received:received:date:from:to:cc:subject :message-id:references:mime-version:content-type:content-disposition :in-reply-to:user-agent:sender; bh=D51VK1Qh+K2aAOyZPVuCdVbepkE2oq/WBKfmFe+34X8=; b=fxj/AECPFvkRTLcEU6ZwWGplSY58kv7ziAJLDkIjzcoNZdu6dPAkqJZRwK80/3hOwV JLflwEBT07jBg8dhPCK7MaINBEFG2SStdIuaeMLlwTkcGw7FmNMauVfx/DVKm+TiOHsh +n7wFg2HARt7bYRWrEPOnXL8pbMmm5SG1/KYk= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=date:from:to:cc:subject:message-id:references:mime-version :content-type:content-disposition:in-reply-to:user-agent:sender; b=mu4yU/cBE6k0IYWKw1sQ08UKv4S9MIdowlReeTU9zZk3KPbHHg2d44j8wFQ+rZbgyk 2Cu3+h/e/WtzpcbAqWwTuwvHoZojl0YUchlHCUrlvbZ2rB5mBroX1dH2ag27GaAwq7nA oxvhfPVsYzs5Ds7QJuwTPTKPL+KLZ0cz/UZXQ= Received: by 10.210.48.14 with SMTP id v14mr3666353ebv.96.1218831562969; Fri, 15 Aug 2008 13:19:22 -0700 (PDT) Received: from epsilon.local ( [89.214.139.56]) by mx.google.com with ESMTPS id g9sm5874910gvc.0.2008.08.15.13.19.18 (version=SSLv3 cipher=RC4-MD5); Fri, 15 Aug 2008 13:19:20 -0700 (PDT) Date: Fri, 15 Aug 2008 21:19:12 +0100 From: Rui Paulo To: Erol Akarsu Message-ID: <20080815201912.GA172@epsilon.local> References: <576375.24650.qm@web45201.mail.sp1.yahoo.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <576375.24650.qm@web45201.mail.sp1.yahoo.com> User-Agent: Mutt/1.5.17 (2007-11-01) Sender: Rui Paulo 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 20:44:01 -0000 On Fri, Aug 15, 2008 at 12:32:52PM -0700, Erol Akarsu wrote: > I am testing Freeswitch on FreBSD. > > I have Dell Precision workstation with Xeon quad processor 2.66 Ghz. I have installed the latest bsd. > Then I compiled freeswitch on it and made load test. I am sending 800 simultaneous originate calls. > Then, FBSD can create only 1400 threads and the rest of calls are dropped. > > I have run small utility to test how many maximum threads this box can reach to. I have got only 1400 threads. Later on, I ulimit everything to maximum with > 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 > ulimit -a > > but the result is same, only 1400 threads maximum. > > how can I increate this limit? You have to increase kern.threads.max_threads_per_proc sysctl. Regards, -- Rui Paulo