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:06:13 PST Path: archiver1.google.com!news1.google.com!newsfeed.stanford.edu!news.tele.dk!news.tele.dk!small.news.tele.dk!opentransit.net!wanadoo.fr!proxad.net!news-hub.cableinet.net!blueyonder!peer.news.eu-x.com!server2.netnews.ja.net!ral!usenet From: Nick Hill Newsgroups: comp.unix.tru64 Subject: Re: Increasing stack size on OSF1 V5.1 Date: Tue, 22 Oct 2002 17:04:56 +0100 Organization: Rutherford Appleton Laboratory, Oxon, UK Message-ID: <3DB57728.5000304@rl.ac.uk> References: NNTP-Posting-Host: dg303.esc.rl.ac.uk Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.0; en-US; rv:1.0.0) Gecko/20020530 X-Accept-Language: en-us, en Xref: archiver1.google.com comp.unix.tru64:8914 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. Nick Hill CLRC e-Science Centre Rutherford Appleton Labs Chilton, Didcot Oxon, OX11 0QX n.m.hill@rl.ac.uk