Usenet comp.sys.dec (1990-2013)
 help / color / mirror / Atom feed
* how to increase stacksize hard limit?
@ 1999-10-23  4:00 Xiaogang Wang
  1999-10-26  4:00 ` Aaron Sawyer
  1999-10-26  4:00 ` Pit Linnartz
  0 siblings, 2 replies; 5+ messages in thread
From: Xiaogang Wang @ 1999-10-23  4:00 UTC (permalink / raw)


 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





^ permalink raw reply	[flat|nested] 5+ messages in thread

* Re: how to increase stacksize hard limit?
  1999-10-23  4:00 how to increase stacksize hard limit? Xiaogang Wang
  1999-10-26  4:00 ` Aaron Sawyer
@ 1999-10-26  4:00 ` Pit Linnartz
  1 sibling, 0 replies; 5+ messages in thread
From: Pit Linnartz @ 1999-10-26  4:00 UTC (permalink / raw)


/sbin/sysconfig -q proc | grep stack will show you the value
max-per-proc.....
Update it according the sysconfiog manual or /etc/sysconfigtab
This is the upper limit. to get this via the commands mentioned below
use limit stacksize unlimited.

Pit
Xiaogang Wang wrote in message <7usri2$cmr$1@news.ox.ac.uk>...
> 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
>
>





^ permalink raw reply	[flat|nested] 5+ messages in thread

* Re: how to increase stacksize hard limit?
  1999-10-23  4:00 how to increase stacksize hard limit? Xiaogang Wang
@ 1999-10-26  4:00 ` Aaron Sawyer
  1999-10-28  4:00   ` Jeff Donsbach
  1999-10-26  4:00 ` Pit Linnartz
  1 sibling, 1 reply; 5+ messages in thread
From: Aaron Sawyer @ 1999-10-26  4:00 UTC (permalink / raw)
  To: Xiaogang Wang

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   :
`==================================^=================================='




^ permalink raw reply	[flat|nested] 5+ messages in thread

* Re: how to increase stacksize hard limit?
  1999-10-26  4:00 ` Aaron Sawyer
@ 1999-10-28  4:00   ` Jeff Donsbach
  1999-10-29  4:00     ` Serguei Patchkovskii
  0 siblings, 1 reply; 5+ messages in thread
From: Jeff Donsbach @ 1999-10-28  4:00 UTC (permalink / raw)


Using the "dxkerneltuner" GUI tool is a lot easier than hand editing the
sysconfigtab file, but both methods work.

Regards,
Jeff Donsbach
Compaq Computer Corp

Aaron Sawyer <aaron@zk3.decSPAM.com> wrote in message
news:7v4v3q$im4$1@lead.zk3.dec.com...
>
> 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   :
> `==================================^=================================='
>




^ permalink raw reply	[flat|nested] 5+ messages in thread

* Re: how to increase stacksize hard limit?
  1999-10-28  4:00   ` Jeff Donsbach
@ 1999-10-29  4:00     ` Serguei Patchkovskii
  0 siblings, 0 replies; 5+ messages in thread
From: Serguei Patchkovskii @ 1999-10-29  4:00 UTC (permalink / raw)


Jeff Donsbach (jeff.donsbach@nospam.compaq.com) wrote:
: Using the "dxkerneltuner" GUI tool is a lot easier than hand editing the
: sysconfigtab file, but both methods work.

... except that the last time I tried to use dxkerneltuner (with the original
4.0D), it dumped core on me. Won't tried it since, and never will.

/Serge.P

--
home page: http://www.cobalt.chem.ucalgary.ca/ps/



^ permalink raw reply	[flat|nested] 5+ messages in thread

end of thread, other threads:[~1999-10-29  4:00 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
1999-10-23  4:00 how to increase stacksize hard limit? Xiaogang Wang
1999-10-26  4:00 ` Aaron Sawyer
1999-10-28  4:00   ` Jeff Donsbach
1999-10-29  4:00     ` Serguei Patchkovskii
1999-10-26  4:00 ` Pit Linnartz

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox