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