From: ptomblin@canoe.xcski.com (Paul Tomblin)
Subject: Re: Ulimit
Date: 1998/10/14 [thread overview]
Message-ID: <702bdo$itk$1@canoe.xcski.com> (raw)
In-Reply-To: 3624ABF2.BC12C66C@intergraphica.co.uk
In a previous article, Dean Baldwin <dean@intergraphica.co.uk> 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)
next prev parent reply other threads:[~1998-10-14 4:00 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
1998-10-14 4:00 Ulimit Dean Baldwin
1998-10-14 4:00 ` Paul Tomblin [this message]
1998-10-14 4:00 ` Ulimit Dean Baldwin
1998-10-15 4:00 ` Ulimit G. Hugh SONG
read-only archive
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox