From mboxrd@z Thu Jan 1 00:00:00 1970 X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: 1164f8,a6a5507142d6e60 X-Google-Attributes: gid1164f8,public From: aaron@zk3.decSPAM.com (Aaron Sawyer) Subject: Re: how to increase stacksize hard limit? Date: 1999/10/26 Message-ID: <7v4v3q$im4$1@lead.zk3.dec.com>#1/1 X-Deja-AN: 540979133 References: <7usri2$cmr$1@news.ox.ac.uk> To: "Xiaogang Wang" X-Complaints-To: iass@lead.zk3.dec.com X-Trace: lead.zk3.dec.com 940965818 19140 16.21.33.116 (26 Oct 1999 19:23:38 GMT) Organization: Compaq UNIX System Division Reply-To: aaron@zk3.decSPAM.com NNTP-Posting-Date: 26 Oct 1999 19:23:38 GMT Newsgroups: comp.sys.dec In article <7usri2$cmr$1@news.ox.ac.uk>, "Xiaogang Wang" 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 : `==================================^=================================='