Path: utzoo!utgpu!news-server.csri.toronto.edu!mailrus!uunet!decwrl!ucbvax!ucsd!nosc!humu!pegasus!pilikia!art From: art@pilikia.pegasus.com (Art Neilson) Newsgroups: comp.unix.i386 Subject: Re: ULIMIT Keywords: ulimit, file size, war, PO'd Message-ID: <1990Aug26.192516.2755@pilikia.pegasus.com> Date: 26 Aug 90 19:25:16 GMT References: <941@helens.Stanford.EDU> Distribution: usa Organization: Pilikia, Honolulu Lines: 28 In article <941@helens.Stanford.EDU> yergeau@EE-CF.Stanford.EDU (Daniel W. Yergeau) writes: >How do you increase the ULIMIT parameter? I have tried changing the values >in the mtune file in the configuration directory and rebuilding the kernel, >but this didn't seem to have any effect (yes, I rebooted after rebuilding the >kernel). In ISC UNIX, you can just add the following line: ULIMIT=nnnnn to the file /etc/default/login. Set 'nnnnn' to whatever number strikes your fancy, I use 32767. A more permanent solution is to use idtune(1M) to set the kernel tunable ULIMIT to a particular value. idtune resides in /etc/conf/bin, probably not in your path. Use the -f option to idtune to override the minimum or maximum allowable value for the parameter, as shown in /etc/conf/cf.d/mtune (see mtune(4) for format info). An example: idtune -f ULIMIT 32767 will add or change the ULIMIT tunable in /etc/conf/cf.d/stune (see stune(4)). If you want to just put the parameter in yourself, you can edit stune by hand with vi. After making your change to stune via idtune or vi you will need to rebuild your kernel. You can do this with kconfig(1), or with idbuild(1M) for the courageous ;^). -- Arthur W. Neilson III | ARPA: art@pilikia.pegasus.com Bank of Hawaii Tech Support | UUCP: uunet!ucsd!nosc!pegasus!pilikia!art