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/Received on Fri Aug 15 2008 - 21:42:09 UTC
This archive was generated by hypermail 2.4.0 : Wed May 19 2021 - 11:39:33 UTC