From mboxrd@z Thu Jan 1 00:00:00 1970 X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: 1164f8,2727767173c8966a X-Google-Attributes: gid1164f8,public X-Google-Thread: fee84,2727767173c8966a X-Google-Attributes: gidfee84,public From: "Mark & Suzanne (gcs might work)" Subject: Re: DU 4.0D/Fortran "failed to set heap start" Date: 1998/09/03 Message-ID: <35EE8823.59E2@s054.aone.net.au>#1/1 X-Deja-AN: 387456123 Content-Transfer-Encoding: 7bit References: <6rok2d$dt9$1@newshost.comnet.co.nz> <35EC3C56.BD46FD0D@cfa.harvard.edu> Content-Type: text/plain; charset=us-ascii X-Trace: news.mel.aone.net.au 904824576 17081 203.12.186.72 (3 Sep 1998 12:09:36 GMT) Organization: Garetech Computer Solutions P/L Mime-Version: 1.0 NNTP-Posting-Date: 3 Sep 1998 12:09:36 GMT Newsgroups: comp.unix.osf.osf1,comp.sys.dec Matt Phelps wrote: > > srlnrow@alpha.gns.cri.nz.nospam wrote: > > > > I could use some help with an explanation for the following error message > > > > /sbin/loader: Fatal Error: set_program_attributes failed to set heap start > > > (snippage) > > In case you haven't got an answer yet, this is a shell stacksize > limit. Try 'unlimit stacksize' (with the c-shell) and your > programs should run. You can re-build the kernal with a higher > default stacksize by changing the 'dflssiz' parameter in the > configuration file (usually /sys/conf/SYSTEM-NAME), and doing > a /usr/sbin/doconfig -c (config file name). You are still living in the dark ages! Digital UNIX has not require a kernel build to change such things in a very long time. Get you kernel parameters in the ball park by setting maxusers the first time you build the kernel at install time. From then on the only thing that should wast your time build kernels for is patches that constain kernel objects or modules and new device types. Otherwise use what ever poison you prefer to update /etc/sysconfigtab. Digital Support have been swaying people from direcly editing it with vi though this is certianly valid their primary concern is people screwing up the format. /usr/bin/X11/dxkerneltuner or via CDE if you like that sort of things or /sbin/sysconfigdb use sysconfig -q proc to get the correct names eg. proc: max-proc-per-user = 2059 max-threads-per-user = 2059 per-proc-stack-size = 33554432 max-per-proc-stack-size = 33554432 per-proc-data-size = 134217728 max-per-proc-data-size = 1073741824 max-per-proc-address-space = 1073741824 per-proc-address-space = 1073741824 autonice = 0 autonice-time = 600 autonice-penalty = 4 open-max-soft = 4096 open-max-hard = 4096 ncallout_alloc_size = 8192 round-robin-switch-rate = 0 round_robin_switch_rate = 0 sched-min-idle = 0 sched_min_idle = 0 give-boost = 1 give_boost = 1 maxusers = 256 task-max = 2069 thread-max = 4136 num-wait-queues = 256 num-timeout-hash-queues = 256 enable_extended_uids = 1 enhanced-core-name = 1 enhanced-core-max-versions = 16 create a file with proc: per-proc-stack-size = 33554432 max-per-proc-stack-size = 33554432 Obviously setting what ever values you need then sysconfigdb -m -f /tmp/params.db That will add or merge the values for proc: into /etc/sysconfigtab Then reboot. Here is a usefull script I write a million times #!/bin/ksh # echo "#######################################################################" echo "### Parameters for node $( /bin/uname -n ) on $( /bin/date +"%Y:%m:%d:%T" )" echo "#######################################################################" for i in $( sysconfig -s | cut -d: -f1 ) do echo "##############################" echo "#" sysconfig -q $i | awk '{if ( $0 ~ /:/ ) {printf "%s\n", $0 } else { printf "\t%s\n", $0} }' done Cheers Mark :)