* Roland Mainz <[EMAIL PROTECTED]> [2008-06-07 01:45]:
> Is anyone here interested to sponsor an ARC case to add a limiter for
> the number of threads to "ulimit" and the matching
> |setrlimit()|+|getrlimit()| system calls ?

  You are actually proposing a new resource control, "process.max-lwps".
  There's some internal history on this, which I can dig up if needed,
  but the summary is that, since there are constraints on this resource
  at the task, project, and zone level, why is a process level
  constraint also needed?  (Each of these constraints is evaluated
  during the creation of an LWP.)

  In any case, I would not be interested in seeing any of the
  setrlimit(2)/getrlimit(2)/ulimit(2) interfaces extended, although I
  have no comment on how one might choose to represent access to such a
  constraint in a shell.  I suppose if the semantics matched some other
  OS's capabilities and those capabilities were widely invoked, then
  there's a more interesting discussion to have...

  - Stephen

-- 
[EMAIL PROTECTED]  http://blogs.sun.com/sch/
_______________________________________________
opensolaris-code mailing list
[email protected]
http://mail.opensolaris.org/mailman/listinfo/opensolaris-code

Reply via email to