--- 2.4.10pre11aa1/kernel/fork.c.~1~ Tue Sep 18 15:39:51 2001 +++ 2.4.10pre11aa1/kernel/fork.c Tue Sep 18 16:01:40 2001 @@ -72,7 +72,7 @@ * value: the thread structures can take up at most half * of memory. */ - max_threads = mempages / (THREAD_SIZE/PAGE_SIZE) / 16; + max_threads = mempages / (THREAD_SIZE/PAGE_SIZE) / 4; init_task.rlim[RLIMIT_NPROC].rlim_cur = max_threads/2; init_task.rlim[RLIMIT_NPROC].rlim_max = max_threads/2;