From: "Mark & Suzanne (gcs might work)" <SPAMOFFPLS@s054.aone.net.au>
Subject: Re: DU 4.0D/Fortran "failed to set heap start"
Date: 1998/09/03 [thread overview]
Message-ID: <35EE8823.59E2@s054.aone.net.au> (raw)
In-Reply-To: 35EC3C56.BD46FD0D@cfa.harvard.edu
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 :)
next prev parent reply other threads:[~1998-09-03 4:00 UTC|newest]
Thread overview: 7+ messages / expand[flat|nested] mbox.gz Atom feed top
1998-08-23 4:00 DU 4.0D/Fortran "failed to set heap start" srlnrow
1998-08-23 4:00 ` Stefan Schwarzer
1998-08-24 4:00 ` Richard M. Alderson III
1998-08-24 4:00 ` Jeffrey J. Potoff
1998-09-01 4:00 ` Matt Phelps
1998-09-03 4:00 ` Mark & Suzanne (gcs might work) [this message]
1998-09-04 4:00 ` Matt Phelps
read-only archive
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox