Usenet comp.sys.dec (1990-2013)
 help / color / mirror / Atom feed
From: aaron@zk3.decSPAM.com (Aaron Sawyer)
To: "Xiaogang Wang" <xgwang@emu.thchem.ox.ac.uk>
Subject: Re: how to increase stacksize hard limit?
Date: 1999/10/26	[thread overview]
Message-ID: <7v4v3q$im4$1@lead.zk3.dec.com> (raw)
In-Reply-To: 7usri2$cmr$1@news.ox.ac.uk

In article <7usri2$cmr$1@news.ox.ac.uk>, "Xiaogang Wang" <xgwang@emu.thchem.ox.ac.uk> writes:
|>  On the DS20 alphaserver running Digital Unix 4.0F,
|> I want to increase the stacksize hard limit up to, say, 100M bytes
|> for every user.
|> Logging as a superuser, I tried
|> ulimit -s 100000
|> or
|> limit -h stacksize 100M
|>  But none of them work.
|> 
|> thanks
|> Xiaogang
|> 

The sysconfig(8) man page may help, as well as the sysconfigtab(4) man
page.  The subsystem name is 'proc'.

# sysconfig -q proc | sort		# I like sorted output   8-)
[...]
max-per-proc-address-space = 1073741824
max-per-proc-data-size = 1073741824
max-per-proc-stack-size = 33554432
[...]
#

You will want to add a 'proc' stanza to the file /etc/sysconfigtab (or
add to the one already present):

proc:
	max-per-proc-stack-size = 104857600

and reboot the system.  Some subsystems' attributes allow 'change on
the fly'; this is not one of them:

# sysconfig -r proc max-per-proc-stack-size=104857600  
max-per-proc-stack-size: attribute does not allow this operation
# 

I hope this helps,
=Aaron
.==================================v==================================.
: D. Aaron Sawyer       ZKO1-3/J33 : My opinion(s) only; not Compaq's :
: UNIX Software Division           : Voice:           +1.603.884.2918 :
: Compaq Computer Corporation      : (Just the) Fax:  +1.603.884.2257 :
: 110 Spitbrook Road               : Internet: aaron@zk3.decSPAM.com  :
: Nashua, NH  03062-2642           :   Remove the SPAM to e-mail me   :
`==================================^=================================='




  reply	other threads:[~1999-10-26  4:00 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
1999-10-23  4:00 how to increase stacksize hard limit? Xiaogang Wang
1999-10-26  4:00 ` Aaron Sawyer [this message]
1999-10-28  4:00   ` Jeff Donsbach
1999-10-29  4:00     ` Serguei Patchkovskii
1999-10-26  4:00 ` Pit Linnartz
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