[ale] max number of processes

Marc Vogt mtv at theor.chemistry.gatech.edu
Tue Nov 28 10:35:12 EST 2000


> You have to edit /usr/include/linux/tasks.h, then rebuild the kernel
> 
> The comment:
> 
> /*
>  * This is the maximum nr of tasks - change it if you need to
>  */
> 
> NR_TASKS defaults to 512
> MAX_TASKS_PER_USER defaults to NR_TASKS/4
> 
> So, if you want to run more than 128 tasks as a single user id, you
> might only need to change the second define.
> 
> -Eric.
>


Thanks.  Mine was set to NR_TASKS/2 so the fact that I am running out
of processes a lot of the time would seem to point to a problem
with some software.  I've only got one user (me) as this is my home
desktop machine.  It seems to be about every 20 or so days that that
user runs out of processes.  I can't really see from 'top' or 'ps' any
unusual buildup of stale processes or anything like that so I'm not sure
what's going on.  I guess rebooting every 20 days isn't so bad compared
to MS but it is bad compared to our SGI at work that has 249 days uptime. :)

So that still leaves me with a couple questions that some of you might
know something about.  Would it be okay to set MAX_TASKS_PER_USER to
anything higher than NR_TASKS/2?  And what's the deal with the 4 reserved
processes for root? 

thanks

Marc



--
To unsubscribe: mail majordomo at ale.org with "unsubscribe ale" in message body.





More information about the Ale mailing list