Subject: Re: increase default for number of files descriptors per process (was Re: Speeding up "pstat -T")
To: David Laight <david@l8s.co.uk>
From: Perry E. Metzger <perry@piermont.com>
List: tech-kern
Date: 10/06/2003 14:51:14
David Laight <david@l8s.co.uk> writes:
> > A machine with 4G of physical memory probably can afford to
> > let user processes have a bit of a larger default stack size than a
> > machine with 4M of memory, right?
> 
> Why should the amount of physical memory have any effect on the
> default stack size limit of a process?

It is more damaging on a machine with little physical memory for one
user to take up lots and lots of memory than on a machine with
plenty. The limits are partially there to prevent certain kinds of
denial of service.

Perry