Mailing List Archive

Support open source code!


[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: tlug: MAX process number



On Thu, 11 Mar 1999, Hiro Yoshioka wrote:

> I'm not Linux hacker but it seems to me the max process count be
> NR_TASKS (512?)

There is a hard limit, yes.  Thanks for pointing out the omission in my
original answer.

> I could ulimit -u 1000 but does it mean if the system can have 1000
> process?

Not if the ulimit exceeds the kernel hard limit.

This can be altered in <linux/tasks.h>, to a maximum of 4092[1].

-- Chris

[1] Actually, 4096 -- four tasks are reserved for root.  4096 == 0x1000,
    so it's fairly obvious as to why the limit is what it is ...

-------------------------------------------------------------------
Next Nomikai: March 19 (Fri), 19:30  Tengu TokyoEkiMae 03-3275-3691
Next Technical Meeting: April 10 (Sat), 12:30   place: Temple Univ.
-------------------------------------------------------------------
more info: http://tlug.linux.or.jp                     Sponsor: PHT


Home | Main Index | Thread Index

Home Page Mailing List Linux and Japan TLUG Members Links