The UNIX and Linux Forums  

Go Back   The UNIX and Linux Forums > Operating Systems > SUN Solaris
.
google unix.com




View Single Post in the UNIX and Linux Forums - Click on the Thread or Permalink to View Entire Thread -->
  #1 (permalink)  
Old 12-12-2007
robsonde robsonde is offline
Registered User
  
 

Join Date: Dec 2007
Posts: 163
stack space in sol10

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??