tech-kern archive

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

Re: lwp resource limit



hi,

> On May 24,  6:55am, yamt%mwd.biglobe.ne.jp@localhost (YAMAMOTO Takashi) wrote:
> -- Subject: Re: lwp resource limit
> 
> | hi,
> | 
> | > Hello,
> | > 
> | > This is a new resource limit to prevent users from exhausting kernel
> | > resources that lwps use.
> | > 
> | > - The limit is per uid
> | > - The default is 1024 per user unless the architecture overrides it
> | > - The kernel is never prohibited from creating threads
> | > - Exceeding the thread limit does not prevent process creation, but
> | >   it will prevent processes from creating additional threads. So the
> | >   effective thread limit is nlwp + nproc
> | > - The name NTHR was chosen to follow prior art
> | 
> | can you provide a pointer to the prior art?
> | is it API compatible?
> 
> https://bdsc.webapps.blackberry.com/native/reference/com.qnx.doc.neutrino.lib_ref/topic/g/getrlimit.html

if it's incompatible (i don't know), there's no reason to use
an inconsistent name.

YAMAMOTO Takashi

> 
> christos


Home | Main Index | Thread Index | Old Index