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!

max-stack-size - default_stksize

807567Jun 17 2007
Hi,

First, sorry for my english ^^

I'm new on Solaris. I installed Solaris 10 on Sun V490 . I use Core Network.

Why with the default setting, daemons or process of the OS "don't work" like this:
Jun 17 14:50:10 unknown genunix: [ID 883052 kern.notice] basic rctl process.max-stack-size (value 8683520) exceeded by process 353
In this example I generate the error with the format command. But I get this error with other command or deamon like nscd.

I had the same problem with the value max-file-descriptor. The values set by projmod for the system project did not seem take effect. Thus I used the "old" parameters rlim_fd_cur, rlim_fd_max. Now it's ok.

I find this parameter default_stksize in the Sun documentation. I put this in my /etc/system file:
set default_stksize=16384
At the boot time I have no error message for the value, but the max-stack-size value is the same:

prctl -n process.max-stack-size 130
process: 130: /usr/sbin/nscd
NAME PRIVILEGE VALUE FLAG ACTION RECIPIENT
process.max-stack-size
basic 8,28MB - deny 130
privileged 127MB - deny -
system 2,00GB max deny -

nscd is in the system project:

ps -p 130 -o project
PROJECT
system

Thank in advance, any idea is welcome.

--
Guillaume
Comments
Locked Post
New comments cannot be posted to this locked post.
Post Details
Locked on Jul 15 2007
Added on Jun 17 2007
0 comments
324 views