From mboxrd@z Thu Jan 1 00:00:00 1970 Message-ID: <96075323306530.tru64-unix-managers.marc@archive.invalid> From: Monday Simon Date: Tue, 12 Sep 1995 06:03:00 +0000 To: tru64-unix-managers Subject: SUMMARY:Maximum Stack per Process X-MARC-Message: https://marc.info/?l=tru64-unix-managers&m=96075323306530 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@logica.com TEL +44 1372 227046 FAX +44 1372 227007