* newbie in kernel
@ 2000-11-11 3:25 Nick Cheng
2000-11-11 9:46 ` Tigran Aivazian
0 siblings, 1 reply; 3+ messages in thread
From: Nick Cheng @ 2000-11-11 3:25 UTC (permalink / raw)
To: linux-kernel
Dear Sirs,
May I have your help on re-build kernel?
I wanna find /usr/src/linux/include/linux/tasks.h and change the NR_TASKS to increase the limitation of max processes. But It's not there under kernel 2.4.0-test10. where can I find it?
All I wanna get, is to increate the max processes and max_open files under 2.4.0-test10.
I've changed my OPEN_MAX to 1024 in limits.h . is it 1024 the max under 2.4.0?
I don't know is this mail right to the linux-kernel maillist. If it's wrong, Say sorry to you and please ignore this mail.
Thanks and sorry to bother you!
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
Please read the FAQ at http://www.tux.org/lkml/
^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: newbie in kernel
2000-11-11 3:25 newbie in kernel Nick Cheng
@ 2000-11-11 9:46 ` Tigran Aivazian
2000-11-11 9:48 ` Tigran Aivazian
0 siblings, 1 reply; 3+ messages in thread
From: Tigran Aivazian @ 2000-11-11 9:46 UTC (permalink / raw)
To: grandsolo; +Cc: linux-kernel
On Sat, 11 Nov 2000, Nick Cheng wrote:
> Dear Sirs,
> May I have your help on re-build kernel?
> I wanna find /usr/src/linux/include/linux/tasks.h and change the NR_TASKS to increase the limitation of max processes. But It's not there under kernel 2.4.0-test10. where can I find it?
> All I wanna get, is to increate the max processes and max_open files under 2.4.0-test10.
> I've changed my OPEN_MAX to 1024 in limits.h . is it 1024 the max under 2.4.0?
> I don't know is this mail right to the linux-kernel maillist. If it's wrong, Say sorry to you and please ignore this mail.
> Thanks and sorry to bother you!
Only ancient Linux kernels (2.2.x and earlier) had the limitation on how
many processes you can create. This was due to the fact that we used a
segment (or two -- LDT + TSS) per each process. Nowadays we only need such
per engine -- thus we cannot have more than about 2000 engines on an IA32
system.
Anyway, NR_TASKS is no more -- you can have as many tasks as you like --
unlimited. (i.e. limited only by about 32k which is the maximum PID, but
that surely ought to be enough for everyone...)
The default limit is the 0.25 * physpages but you can change that easily
by:
echo 100000 > /proc/sys/threads-max
(haven't you read LKI -- it explains you how to do it:
http://www.moses.uklinux.net/patches/lki.sgml
)
Regards,
Tigran
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
Please read the FAQ at http://www.tux.org/lkml/
^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: newbie in kernel
2000-11-11 9:46 ` Tigran Aivazian
@ 2000-11-11 9:48 ` Tigran Aivazian
0 siblings, 0 replies; 3+ messages in thread
From: Tigran Aivazian @ 2000-11-11 9:48 UTC (permalink / raw)
To: grandsolo; +Cc: linux-kernel
On Sat, 11 Nov 2000, Tigran Aivazian wrote:
>
> The default limit is the 0.25 * physpages but you can change that easily
> by:
>
> echo 100000 > /proc/sys/threads-max
~~~~~~~~~~~~~~~~~~~~~
typo - read /proc/sys/kernel/threads-max
>
> (haven't you read LKI -- it explains you how to do it:
>
> http://www.moses.uklinux.net/patches/lki.sgml
>
> )
>
> Regards,
> Tigran
>
>
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
Please read the FAQ at http://www.tux.org/lkml/
^ permalink raw reply [flat|nested] 3+ messages in thread
end of thread, other threads:[~2000-11-11 9:47 UTC | newest]
Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2000-11-11 3:25 newbie in kernel Nick Cheng
2000-11-11 9:46 ` Tigran Aivazian
2000-11-11 9:48 ` Tigran Aivazian
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox
all inboxes | Powered by JetHome®