we have a solaris 10 box (V440)
we are looking for a way to set the stack size for all processes on the system.
we know we can use ulimit -s
Code:
$ ulimit -a
time(seconds) unlimited
file(blocks) unlimited
data(kbytes) unlimited
stack(kbytes) 8192
coredump(blocks) unlimited
nofiles(descriptors) 256
memory(kbytes) unlimited
$ ulimit -s 16384
$ ulimit -a
time(seconds) unlimited
file(blocks) unlimited
data(kbytes) unlimited
stack(kbytes) 16384
coredump(blocks) unlimited
nofiles(descriptors) 256
memory(kbytes) unlimited
this is fine but it only effects the current shell.
is there something we can put in to /etc/system that will effect the whole box??