lkml.org 
[lkml]   [1999]   [Feb]   [23]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: problem with running out of processes
On Tue, 23 Feb 1999, Thomas Pornin wrote:

> Indeed. See linux/include/linux/tasks.h. You may configure NR_TASKS
> (total number of processes), MAX_TASKS_PER_USER (maximum number of
> tasks for one user) and MIN_TASKS_LEFT_FOR_ROOT (only root may use
> these ones).
>
> The upper limit for MAX_TASKS_PER_USER on i386 is 4092 (4090 if you
> compiled APM support).

AHA! Look at this (from a pukka 2.2.2 tree on i386)

#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

OK, why is it only 512 instead of 4092? No wonder I ran out of processes
so quickly. *sigh* Another re-compile awaits me.

Cheers,
Alex
--
/\_/\ Legalise cannabis now!
( o.o ) Grow some cannabis today!
> ^ < Peace, Love, Unity and Respect to all.

http://www.tahallah.demon.co.uk - Now back in the United Kingdom!



-
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/

\
 
 \ /
  Last update: 2005-03-22 13:50    [W:0.203 / U:0.040 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site