From owner-freebsd-current@FreeBSD.ORG Fri Aug 15 23:18:04 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 C087D1065734 for ; Fri, 15 Aug 2008 23:18:03 +0000 (UTC) (envelope-from davidn04@gmail.com) Received: from wr-out-0506.google.com (wr-out-0506.google.com [64.233.184.233]) by mx1.freebsd.org (Postfix) with ESMTP id CD2E08FC1D for ; Fri, 15 Aug 2008 23:18:02 +0000 (UTC) (envelope-from davidn04@gmail.com) Received: by wr-out-0506.google.com with SMTP id c8so491323wra.27 for ; Fri, 15 Aug 2008 16:18:01 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:received:received:message-id:date:from:to :subject:cc:in-reply-to:mime-version:content-type :content-transfer-encoding:content-disposition:references; bh=EySnmL+MnIZrmq6Lmj7X7v5LHRggS78A/4fIaKJZdxE=; b=if58sdAvFPLXxyni7Z4yx+kULHzHiWy/1gukIc+9JOn463o/AsR1i5QocF0YXQ32Lr o3lXaN1Lfzl9tBmQPfUEDLGllWeezBusBIw7JILNihN7EFV8GEhe8BXx8I5J2ej4/DWY zOkiJPbC5fIvT4DJPS6y+/IvWQ3Q3NELVvJOg= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=message-id:date:from:to:subject:cc:in-reply-to:mime-version :content-type:content-transfer-encoding:content-disposition :references; b=PeapcIJo0NPjfhKm4r5M3CrdANyRVgjvNzGoQfIQ+CBaIICq5zDq7P48JOKvRPv6/+ UPWmSzxIfT12qqeIpNRbxCC0UQFk0Vb3w1hebIz9EtqGCOBV+AZkjDqNaaJXChpPueBQ YnCrKw/e74y6xhODhzaZlYJSYOO2ZP9oJANsI= Received: by 10.90.32.14 with SMTP id f14mr887239agf.116.1218840567598; Fri, 15 Aug 2008 15:49:27 -0700 (PDT) Received: by 10.70.44.7 with HTTP; Fri, 15 Aug 2008 15:49:27 -0700 (PDT) Message-ID: <4d7dd86f0808151549r39c6f1f8webbcc5f8ffb487eb@mail.gmail.com> Date: Sat, 16 Aug 2008 08:49:27 +1000 From: "David N" To: "Erol Akarsu" In-Reply-To: <266307.97521.qm@web45210.mail.sp1.yahoo.com> MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Content-Disposition: inline References: <266307.97521.qm@web45210.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:18:04 -0000 2008/8/16 Erol Akarsu : > Rui, > > I appreciate our answer. > How will I increase? > Can you you give the syntax? > > Thanks > > > > ----- Original Message ---- > From: Rui Paulo > To: Erol Akarsu > Cc: freebsd-current@freebsd.org > Sent: Friday, August 15, 2008 4:19:12 PM > Subject: Re: Freeswitch on latest FBSD > > 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 > _______________________________________________ > freebsd-current@freebsd.org mailing list > http://lists.freebsd.org/mailman/listinfo/freebsd-current > To unsubscribe, send any mail to "freebsd-current-unsubscribe@freebsd.org" > > > > > > _______________________________________________ > freebsd-current@freebsd.org mailing list > http://lists.freebsd.org/mailman/listinfo/freebsd-current > To unsubscribe, send any mail to "freebsd-current-unsubscribe@freebsd.org" > sysctl kern.threads.max_threads_per_proc= eg. sysctl kern.threads.max_threads_per_proc=2000 David N