Hi! On Mon, Dec 15, 2008 at 02:24:18PM +0000, Dave Wilson wrote: >[...]
>On that note, does anyone know how to poke the restrictions set in >login.conf on a temporary basis? The existence of datasize-cur and >datasize-max suggest I should be able to do this, but I can't find the >relevant command. ulimit in Bourne-like shells, limit in csh-like shells. >I'd rather not do it in login.conf as its a useful >restriction most of the time to stop things running away. I'm trying to >create a 2G MFS for /usr/obj, but if I go much above 2000000 with >mount_mfs I get an error: >slash:~# mount_mfs -s 3000000 swap /mnt >mount_mfs: mmap: Cannot allocate memory >slash:~# mount_mfs -s 2000000 swap /mnt >slash:~# # Works OK. You'll probably hit the intrinsic maximum datasize limit which you can't cross even if you set ulimit -d unlimited. Kind regards, Hannah.