Usenet comp.os.linux.alpha (1997-2013)
 help / color / mirror / Atom feed
From: "G. Hugh SONG" <ghsong@\"Spamspoiler\"kjist.ac.kr>
Subject: Re: Ulimit
Date: 1998/10/15	[thread overview]
Message-ID: <704gcq$893$1@news.kjist.ac.kr> (raw)
In-Reply-To: 3624BE2D.C0B3914F@intergraphica.co.uk

Dean Baldwin wrote:

> Thanks for that. However I have given that a go and nothing seems to have
> changed
> when I do ulimit -a
>
> Cheers,
> Dean
>

If that is the case, I am not sure whether my suggestion would work or not.
You might just read the man page of initscript, and try the method
there.  That is the easiest thing you can try.
Be careful since the last line of the example is really essential.
If you miss it, you cannot boot into your root file system.

I solved my problem by that method for ulimit -s.

Good luck

> Paul Tomblin wrote:
>
> > 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)

--
G. Hugh Song

PS: Please remove "Spamspoiler" when replying






      reply	other threads:[~1998-10-15  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 ` Ulimit Paul Tomblin
1998-10-14  4:00   ` Ulimit Dean Baldwin
1998-10-15  4:00     ` G. Hugh SONG [this message]
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