![]() |
|
|
google unix.com
|
|||||||
| Forums | Register | Forum Rules | Links | Albums | FAQ | Members List | Calendar | Search | Today's Posts | Mark Forums Read |
| SUN Solaris The Solaris Operating System, usually known simply as Solaris, is a free Unix-based operating system introduced by Sun Microsystems . |
More UNIX and Linux Forum Topics You Might Find Helpful
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| Heap and stack | naan | High Level Programming | 5 | 04-30-2008 03:40 AM |
| what is stack winding and stack unwinding | amitpansuria | High Level Programming | 2 | 08-07-2007 06:46 PM |
| Sol10 upgraded from 5.8 - shell issues? | buffsluft | SUN Solaris | 1 | 05-26-2006 05:30 PM |
| swap space / paging space | aaronh | AIX | 2 | 05-19-2004 11:06 AM |
| pageing space vs swap space | VeroL | UNIX for Dummies Questions & Answers | 1 | 01-22-2004 11:54 AM |
![]() |
|
|
LinkBack | Thread Tools | Search this Thread | Rate Thread | Display Modes |
|
|
|
||||
|
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?? |
|
||||
|
Quote:
if we have 8MB more stack space per PID and about 100 PID's on the box then my math says we may be using about 1GB more RAM if we change the stack size. we have a strange database program that has been giving a "cant fork" error for some weeks, when we put ulimit -s 16384 in the startup script it solved the problem. but now when we do a lookup or search using the command line tools we also get a "cant fork", if we put a ulimit -s 16384 before we do the command line stuff we are OK again. |
![]() |
| Bookmarks |
| Thread Tools | Search this Thread |
| Display Modes | Rate This Thread |
|
|