Messages in this thread | | | Date | Thu, 22 Apr 1999 23:02:45 -0400 (EDT) | From | System Administrator <> | Subject | Re: forking |
| |
i increased to 1024..everything seems to work good so far..thanx! :)
-Cygnus .-._.-._.-._.-._.-._.-._.-._.-._.-._.-._.-._.-._.-._.-._.-._.-._.-._.-. Anthony J. Biacco Network Administrator/Engineer admin@intergrafix.net Intergrafix Internet Services
"Dream as if you'll live forever, live as if you'll die today" http://cygnus.ncohafmuta.com http://www.intergrafix.net .-._.-._.-._.-._.-._.-._.-._.-._.-._.-._.-._.-._.-._.-._.-._.-._.-._.-.
On Thu, 22 Apr 1999, Stephen C. Tweedie wrote:
> Hi, > > On Wed, 21 Apr 1999 08:47:12 -0400 (EDT), System Administrator > <admin@intergrafix.net> said: > > > [admin@cygnus admin]$ ./fork > > ... > > Forks = 37 > > > [admin@cygnus admin]$ ps aux | wc -l > > 472 > > 472 + 37 == 509. Except the "ps aux | wc" counts as two processes, the > ./fork is only one, so you only had 508 during the first test. > MIN_TASKS_LEFT_FOR_ROOT defaults to 4, and the NR_TASKS upper limit > defaults to 512. > > 508 + 4 = 512. > tasks_I_had_running + tasks_left_for_root = max_nr_tasks. > > Everything adds up: this is expected behaviour if you don't increase > NR_TASKS. You can increase NR_TASKS in include/linux/tasks.h (but not > too much: I think you hit LDT limits above about 4090, though Ingo has a > patch to remove that limit). > > --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/
| |