[lkml]   [2001]   [Oct]   [18]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
Messages in this thread
SubjectRe: 2.2.x process limits (NR_TASKS)?
Gregory Ade wrote:
> Hash: SHA1
> We're running into what appears to be a 256-process-per-user limit on one
> of our webservers, due to the number of processes running as a specific
> user for our application. I'd like to increase the process limit, and
> *THINK* that to do so i need to increase NR_TASKS in
> /usr/src/linux/include/linux/tasks.h.
> Is this correct? What other things do I need to watch out for when making
> this modification?
> Also, where can this limit be changed in 2.4.x?
> Thanks ahead of time.

2.2.x has a hard limit of 512 tasks on the x86 because it uses hardware
task switching. 2.4.x allows an unlimited number of tasks, and is
configurable via /proc/sys/kernel/threads-max and ulimit.


Brian Gerst
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to
More majordomo info at
Please read the FAQ at

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