Skip to Main Content

Infrastructure Software

Announcement

For appeals, questions and feedback about Oracle Forums, please email oracle-forums-moderators_us@oracle.com. Technical questions should be asked in the appropriate category. Thank you!

How to set default stack size?

SOLATORCLJul 9 2013 — edited Jul 17 2013

Hi,

Solaris 10 on Sparc.

Per my DBA, I need to change the process stack size to 512MB. I need to make it permanent and I think the parameter to add is lwp_default_stksize in /etc/system. My question is:

* Is a reboot absolute required? http://docs.oracle.com/cd/E19253-01/817-0404/chapter2-118/index.html says this parameter is "dynamic Affects threads created after the variable is changed". Is it correct? I made a change without a reboot, started a new process but ulimit -s does not pick up the new value.

* The above URL also mentions "Description: Specifies the default value of the stack size to be used when a kernel thread is created." Does it mean the parameter is for kernel process only?

Thanks,

Comments
Locked Post
New comments cannot be posted to this locked post.
Post Details
Locked on Aug 14 2013
Added on Jul 9 2013
1 comment
534 views