From mboxrd@z Thu Jan 1 00:00:00 1970 X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: 111c93,55e325b988a85e0c X-Google-Attributes: gid111c93,public From: Dean Baldwin Subject: Re: Ulimit Date: 1998/10/14 Message-ID: <3624BE2D.C0B3914F@intergraphica.co.uk>#1/1 X-Deja-AN: 401002147 Content-Transfer-Encoding: 7bit References: <3624ABF2.BC12C66C@intergraphica.co.uk> <702bdo$itk$1@canoe.xcski.com> Content-Type: text/plain; charset=us-ascii X-Complaints-To: usenet@starburst.uk.insnet.net X-Trace: starburst.uk.insnet.net 908377523 25160 194.177.174.122 (14 Oct 1998 15:05:23 GMT) Organization: Intergraphica Mime-Version: 1.0 NNTP-Posting-Date: 14 Oct 1998 15:05:23 GMT Newsgroups: comp.os.linux.alpha Thanks for that. However I have given that a go and nothing seems to have changed when I do ulimit -a Cheers, Dean Paul Tomblin wrote: > In a previous article, Dean Baldwin said: > >I have been trying to use ulimit -n 1024 to set the maximum open files > >to 1024. At the moment > >I get a message saying operation isn't permitted. I get the feeling that > >this needs to be changed > >at a kernel level and recompiled. Does anybody have any thoughts on > >this? > > As root, you have to do: > > echo "2048" > /proc/sys/kernel/file-max > > That sets the maximum allowed for the entire system. > > I have no idea if that will allow you to raise the per-process limit on the > number of files. > > -- > Paul Tomblin, ptomblin@xcski.com. > "and by God I *KNOW* what this network is for, and you can't have it." > - Russ Allbery draws a line in the sand for Usenet. > (http://www.xnet.com/~raven/Sysadmin/Rant.html)