[oi-dev] RLIMIT_NPROC equivalent in illumos

Aurélien Larcher aurelien.larcher at gmail.com
Mon Dec 14 13:01:49 UTC 2015


Hi,
I am updating OpenBLAS, a multithread linear algebra package and the
compilation fails due to the lack of RLIMIT_NPROC defined in Linux adn BSD
in resource.h

It is defined in the setrlimit manpage as:
*RLIMIT_NPROC* The maximum number of processes (or, more precisely on
Linux, threads) that can be created for the real user ID of the calling
process. Upon encountering this limit, *fork*(2) fails with the error
*EAGAIN*and the pair (soft limit, hard limit) can be returned (resp.
changed) with getrlimit (resp. setrlimit).

What would an the illumos equivalent or a way to emulate it ?
At least being able to get the bounds would be sufficient for now.
Thank you

Aurelien

-- 
---
Praise the Caffeine embeddings
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://openindiana.org/pipermail/oi-dev/attachments/20151214/6637f71d/attachment.html>


More information about the oi-dev mailing list