From mboxrd@z Thu Jan 1 00:00:00 1970 X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: fa528,7c2e4e307f51625 X-Google-Attributes: gidfa528,public X-Google-ArrivalTime: 2002-10-22 09:22:06 PST Path: archiver1.google.com!news1.google.com!newsfeed.stanford.edu!news.tele.dk!news.tele.dk!small.news.tele.dk!fu-berlin.de!uni-berlin.de!pc1-rdng3-3-cust244.winn.cable.ntl.COM!not-for-mail From: "Adam Price" Newsgroups: comp.unix.tru64 Subject: Re: Increasing stack size on OSF1 V5.1 Date: Tue, 22 Oct 2002 17:22:14 +0100 Message-ID: References: <3DB57728.5000304@rl.ac.uk> NNTP-Posting-Host: pc1-rdng3-3-cust244.winn.cable.ntl.com (80.5.157.244) X-Trace: fu-berlin.de 1035303715 29033955 80.5.157.244 (16 [138239]) X-Priority: 3 X-MSMail-Priority: Normal X-Newsreader: Microsoft Outlook Express 6.00.2800.1106 X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2800.1106 Xref: archiver1.google.com comp.unix.tru64:8915 In news:3DB57728.5000304@rl.ac.uk ,Nick Hill said: > Gareth Owen wrote: >> Can someone tell me how (as superuser) I can raise the maximum >> per-process stack size limit on OSF1 V5.1? >> >> Individual users can us >> ulimit -s >> up to 16384, but my Fortran code would like it to go a little higher. >> >> Thanks > > You need to adjust the following parameters in the proc subsystem: > per_proc_stack_size > max_per_proc_stack_size > > As you might guess one sets the default size and one sets what you can > ulimit -s the value up to. There are similar parameters for the > datasize as well (ulimit -d). > > If you like guis then dxkerneltuner is the tool for you. Otherwise > look at the manpages for sysconfig. The values get added to the file > /etc/sysconfigtab and are read at boot time. > All that Nick said, plus a pointer to the system configuration and tuning guide and the man page for sys_attrs. http://www.tru64unix.compaq.com/docs/base_doc/DOCUMENTATION/V51A_HTML/ARH9GBTE/TITLE.HTM The sys_attrs man page is important as it will tell you which subsystems individual parameters belong to. Adam Price