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: ptomblin@canoe.xcski.com (Paul Tomblin) Subject: Re: Ulimit Date: 1998/10/14 Message-ID: <702bdo$itk$1@canoe.xcski.com>#1/1 X-Deja-AN: 400989373 Sender: ptomblin@xcski.com References: <3624ABF2.BC12C66C@intergraphica.co.uk> Organization: Tomblin Computer Consulting, Rochester, New York and Ottawa, Ontario Reply-To: ptomblin@xcski.com (Paul Tomblin) Newsgroups: comp.os.linux.alpha 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)