From mboxrd@z Thu Jan 1 00:00:00 1970 X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: 111c93,771e0d834964b619 X-Google-Attributes: gid111c93,public X-Google-Thread: fa528,771e0d834964b619 X-Google-Attributes: gidfa528,public X-Google-ArrivalTime: 2001-06-25 05:31:53 PST Path: archiver1.google.com!newsfeed.google.com!newsfeed.stanford.edu!news.tele.dk!62.112.0.25!newsfeed.online.be!skynet.be!peer.news.eu-x.com!server2.netnews.ja.net!ral!usenet From: Nick Hill Newsgroups: comp.os.linux.alpha,comp.unix.tru64 Subject: Re: stacksize and/or datasize limits too small Date: Mon, 25 Jun 2001 13:26:50 +0100 Organization: Rutherford Appleton Labs Message-ID: <3B372E09.2CCBF@rl.ac.uk> References: <9gmunj$bok$1@venus.telepac.pt> NNTP-Posting-Host: discus2.cis.rl.ac.uk Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit X-Mailer: Mozilla 4.76 [en] (WinNT; U) X-Accept-Language: en Xref: archiver1.google.com comp.os.linux.alpha:3169 comp.unix.tru64:2606 Fernando Nogueira wrote: > > Hi. > > I am having troubles running some of my fortran codes on Tru64 Unix 5.0 on a > XP1000 workstation (and on a PW500au too). The message I get is that the > datasize is too low. However I cannot increase it beyond 1GByte. I used to > do it in Digital Unix 4.0d, before upgrading to the newer OS. Someone > suggested me I should try linux, and that solved this 1 GByte limitation. > But now I have a stacksize problem - it is only 8 kBytes and only root can > increase it... and I don't want to run my codes as root :-)). > > Did anyone have these problems? How can I solve them? > > Thanks, > > Fernando The 1Gbyte limit for max datasize is not a limitation of the OS, just the way the O/S has been configured. Tru64 has settings for default and max sizes for process limits. There are values built in at kernel build time but these can be changed by values read from /etc/sysconfigtab at boot time. The simplest way to adjust them on a workstation is use dxkerneltuner. Run this under root and select the proc subsystem which display the current values and give you a box where you can set the boot values you want. The ones you are interested in are: max-per-proc-address-space per-proc-address-space max-per-proc-data-size per-proc-data-size max-per-proc-stack-size per-proc-stack-size Which set the max and default values for a process. You probably need to change vm-maxvas in the vm subsystem as well to increase the max virtual size. Having done this then following a reboot you should get the new higher values you entered. Nick Hill ITD SCS Group