tech-kern archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
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?
YAMAMOTO Takashi
> - There could be atomicity issues for setuid and lwp exits
> - This diff also adds a sysctl kern.uidinfo.* to show the user the uid
> limits
>
> comments?
Home |
Main Index |
Thread Index |
Old Index