SUMMARY:Maximum Stack per Process

From: Monday Simon <MondayS_at_logica.com>
Date: Tue, 12 Sep 95 06:03:00 bst

Once again this list has come up tops with replies starting from 2 hours
after I sent the original post.

Thanks are due to:
Bernoit Maillard - Digital France
Bill Marco Digital Switzerland
Andy Phillips Mullard Space Science Lab (University Col London)
Paul E Rockwell - Digital USA
Knut Helleboe - Norsk Hydro
Kristian Koehntopp

Next My question

> I'm running Digital UNIX version 3.2 on Alpha 2100's But need to know
what
> the maximum size of memory which can be allocated to an individual
process.

> I'm guessing it may be one of the parameters which can be configured in
the
> kernel configuration file but I've yet to find were (if anywhere) the
> various options are listed in the documentation.

And A Summary of the replies

The parameters could be tuned in two places, firstly by using the sysconfig
 -q proc command I could check what the parameters are currently set to.
 e.g.
# sysconfig -q proc
max-proc-per-user = 64
max-threads-per-user = 256
per-proc-stack-size = 2097152
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
open-max-soft = 4096
open-max-hard = 4096
ncallout = 12364
round-robin-switch-rate = 0
round_robin_switch_rate = 0
sched-min-idle = 0
sched_min_idle = 0
give-boost = 1
give_boost = 1

And these could be altered in the /etc/sysconfigtab file with only a reboot
to get it working. I believe from reading the man page that on the fly
tuning may be possible too.

The Second way to tune the parameters is in the /sys/conf/"HOSTNAME" file
where
dfldsiz 134217728 datasize per process
maxdsiz 1073741824 max datasize

dflssiz 2097152 stacksize per process
maxssiz 33554432 max stacksize

are the parameters to tune.

All these parameters and more are in the Guide to System Management document
and Guide to System Administration

A full copy of all the replies is available on appellation

Simon Monday
Logica UK Ltd
mondays_at_logica.com
TEL +44 1372 227046
FAX +44 1372 227007
Received on Tue Sep 12 1995 - 07:43:07 NZST

This archive was generated by hypermail 2.4.0 : Wed Nov 08 2023 - 11:53:45 NZDT