From owner-freebsd-current@FreeBSD.ORG Fri Aug 15 23:42:09 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 3DB641065677 for ; Fri, 15 Aug 2008 23:42:09 +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 DEE4D8FC08 for ; Fri, 15 Aug 2008 23:42:08 +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 6FBA934BD9; Sat, 16 Aug 2008 01:42:06 +0200 (CEST) Date: Sat, 16 Aug 2008 01:42:05 +0200 From: cpghost To: Erol Akarsu Message-ID: <20080815234205.GB29965@epia-2.farid-hajji.net> References: <526028.329.qm@web45213.mail.sp1.yahoo.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <526028.329.qm@web45213.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:42:09 -0000 On Fri, Aug 15, 2008 at 04:23:39PM -0700, Erol Akarsu wrote: > 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 > > Could you please tell me how I will do it on FreeBSD? Which shell are your using? With csh/tcsh: # limit cputime unlimited filesize unlimited datasize 524288 kbytes stacksize 65536 kbytes coredumpsize unlimited memoryuse unlimited vmemoryuse unlimited descriptors 7092 memorylocked unlimited maxproc 3546 sbsize unlimited # limit stacksize stacksize 65536 kbytes # limit stacksize 32000 # limit stacksize stacksize 32000 kbytes # limit stacksize unlimited # limit stacksize stacksize 65536 kbytes With /bin/sh: # ulimit -a cpu time (seconds, -t) unlimited file size (512-blocks, -f) unlimited data seg size (kbytes, -d) 524288 stack size (kbytes, -s) 65536 core file size (512-blocks, -c) unlimited max memory size (kbytes, -m) unlimited locked memory (kbytes, -l) unlimited max user processes (-u) 3546 open files (-n) 7092 virtual mem size (kbytes, -v) unlimited sbsize (bytes, -b) unlimited # ulimit -s 32200 # ulimit -s 32200 # ulimit -s unlimited # ulimit -s 65536 If you need to rise other limits (say, open files, etc...), you'll need to crank up the sysctl value. You can get a list of all sysctl values like this: # sysctl -a | more > Thanks -cpghost. -- Cordula's Web. http://www.cordula.ws/