[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [ProgSoc] Linux Hard Resource Limits




On 14-May-99 Anton Blanchard wrote:
> 
>> How can I increase the kernel hard limits for number of processes and
>> descriptors?
> 
> in include/linux/tasks.h:
> 
>#define NR_TASKS        512     /* On x86 Max 4092, or 4090 w/APM configured.
>#*/
>#define MAX_TASKS_PER_USER (NR_TASKS/2)
>#define MIN_TASKS_LEFT_FOR_ROOT 4
> 
Great ... I'll check that out

> 2.0 had a maximum of 256 file descriptors. There are patches floating around
> to increase this. In 2.2, this was raised to 1024 and the Alan Cox series
> of patches has the ability to scale well beyond that.
Damn, guess I'll have to make do or upgrade. Where abouts is this actually
specified in the source? I don't think setup.S is correct because I had a look
at setup.S in the 2.2.2 kernel and it also had 256 in that GDT block, so I
suspect that's the wrong place.

Thanks for the feedback Anton.

--
Tony Young           Mob: 0414 64 99 42
Software Engineer    Tel: +612 9966-1066  Fax: +612 9966-1042
Integrated Research  Level 10, 168 Walker St, North Sydney, NSW, 2060, Aus.
tony.young@nospam.ir.com    http://www.ir.com.au

--
You are subscribed to the progsoc mailing list. To unsubscribe, send a
message containing "unsubscribe" to progsoc-request@nospam.progsoc.uts.edu.au.
If you are having trouble, ask owner-progsoc@nospam.progsoc.uts.edu.au for help.

This list is archived at <http://www.progsoc.uts.edu.au/lists/progsoc/>