[illumos-Discuss] Resource limits for a service

Garrett D'Amore garrett at nexenta.com
Thu May 12 23:39:10 PDT 2011


more than 10MB for a stack?   Really?   That sounds like a busted design.  I seem to recall that this limit is fairly hard.  Why do want such a big stack?

  -- Garrett D'Amore

On May 11, 2011, at 3:01 AM, "Andrej Podzimek" <andrej at podzimek.org> wrote:

> Hello,
> 
> there seems to be a 10MB hard limit on stack size. I could not find any documentation that would describe how to change this limit for selected SMF services. Of course, ulimit and prctl seem to be capable of setting these values for the current shell. However, SMF completely ignores all the settings and uses the default hard limit, no matter where svcadm is invoked.
> 
> What I need to achieve:
>    * keep the default limits for most of the system
>    * relax some limits (stack size, shared segment size, ...) for some standard services launched via SMF
> 
> How can this be done? A link to a piece of documentation would be very helpful.
> 
> Andrej
> 
> _______________________________________________
> Discuss mailing list
> Discuss at lists.illumos.org
> http://lists.illumos.org/m/listinfo/discuss



More information about the Discuss mailing list