Re: Raising NR_TASKS.

Stephen C. Tweedie (sct@redhat.com)
Wed, 17 Nov 1999 13:35:47 +0000 (GMT)


Hi,

On Tue, 16 Nov 1999 13:31:27 -0700, Andy Bradford
<andyb@calderasystems.com> said:

> Just a quick question. In addition to raising the limit in
> include/linux/tasks.h by modifying the NR_TASKS macro, are there
> others that must be modified to effectively raise the limit on the
> number of processes that a system can handle?

NR_TASKS is enough for the number of tasks. On 2.2 it cannot be raised
above 4090.

However, you might want to raise the run-time limits on numbers of open
files and inodes if the machine is going to be that busy: access
the /proc/sys/fs/*-max to adjust. (You can just echo new values in
there at run time if you want to.)

--Stephen

-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.rutgers.edu
Please read the FAQ at http://www.tux.org/lkml/