On Fri, Nov 05, 1999 at 08:42:00AM +0100, Pat.Doyle at eaglestar.ie mentioned:
>> "Kate"
>> Tried to find references to this but failed. Do you know where this is
> documented?
>> TIA.
> Pat.
>>> On Tue, Oct 26, 1999 at 01:32:00PM +0100, Pat.Doyle at eaglestar.ie mentioned:
> > Hi,
> > Anybody seen this message before?
>> Yup. Generally means that you don't have enough free memory, or you have
> too many processes started. I think 2.2 doesn't have a process limit, and
> that 2.0.x could have it's max proc number changed in /proc somewhere.
>> Anyone remember better than me ?
Well, just looking in:
/usr/src/linux/include/asm/resource.h gave me a table of:
#define RLIMIT_CPU 0 /* CPU time in ms */
#define RLIMIT_FSIZE 1 /* Maximum filesize */
#define RLIMIT_DATA 2 /* max data size */
#define RLIMIT_STACK 3 /* max stack size */
#define RLIMIT_CORE 4 /* max core file size */
#define RLIMIT_RSS 5 /* max resident set size */
#define RLIMIT_NPROC 6 /* max number of processes */
#define RLIMIT_NOFILE 7 /* max number of open files */
#define RLIMIT_MEMLOCK 8 /* max locked-in-memory address space */
#define RLIMIT_AS 9 /* address space limit */
#define RLIM_NLIMITS 10
#ifdef __KERNEL__
#define INIT_RLIMITS \
{ \
{ RLIM_INFINITY, RLIM_INFINITY }, \
{ RLIM_INFINITY, RLIM_INFINITY }, \
{ RLIM_INFINITY, RLIM_INFINITY }, \
{ _STK_LIM, RLIM_INFINITY }, \
{ 0, RLIM_INFINITY }, \
{ RLIM_INFINITY, RLIM_INFINITY }, \
{ 0, 0 }, \
{ INR_OPEN, INR_OPEN }, \
{ RLIM_INFINITY, RLIM_INFINITY }, \
{ RLIM_INFINITY, RLIM_INFINITY }, \
}
OK, so this is a 2.3.x kernel, but does this mean that for most stuff,
Linux doesn't have limits anymore. This rocks!
Kate
--
Microsoft. The best reason in the world to drink beer.
http://www.redbrick.dcu.ie/~valen
Maintained by the ILUG website team. The aim of Linux.ie is to
support and help commercial and private users of Linux in Ireland. You can
display ILUG news in your own webpages, read backend
information to find out how. Networking services kindly provided by HEAnet, server kindly donated by
Dell. Linux is a trademark of Linus Torvalds,
used with permission. No penguins were harmed in the production or maintenance
of this highly praised website. Looking for the
Indian Linux Users' Group? Try here. If you've read all this and aren't a lawyer: you should be!