Hello, Add new project for your application [projadd(1M)] and setup all resource limits for this project. Then set project name in <method_context> tag of SMF description XML file. When application heading to project limits, kernel starts sending SIGX* signals. Also nice to see summaries of projects running prstat -J
I. On Wed, 2011-05-11 at 12:01 +0200, Andrej Podzimek 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 > [email protected] > http://lists.illumos.org/m/listinfo/discuss _______________________________________________ Discuss mailing list [email protected] http://lists.illumos.org/m/listinfo/discuss
