Usenet comp.sys.dec (1990-2013)
 help / color / mirror / Atom feed
From: John McNulty <jm@uvo.dec.com>
Subject: Re: How does one raise limits in csh under OSF1?
Date: 1995/04/07	[thread overview]
Message-ID: <3m3srf$g7f@jac.zko.dec.com> (raw)
In-Reply-To: 3m1hl8$as4@azure.acsu.buffalo.edu

This is how I'd do it.

        # mkdir /usr/adm/stanza
        # cd /usr/adm/stanza
        # sysconfig -q proc > proc.stanza

Edit proc.stanza and add a "proc:" label.  Indent the rest so it looks like
this:

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 = 844
        round-robin-switch-rate = 0
        round_robin_switch_rate = 0
        sched-min-idle = 0
        sched_min_idle = 0
        give-boost = 1
        give_boost = 1


Change the value of max-per-proc-stack-size to what you want (it's in bytes).
Then load the stanza file into the subsystem configuration database.

        # sysconfigdb -a -f proc.stanza proc

Now reboot the system (no kernel build required).

You can keep proc.stanza for future reference, and if you need to make further
changes to proc.stanza, use -u to update the subsystem configuration database,
instead of -a to add.

-- 
John McNulty		      
Digital Equipment Corporation 
CSC/UK Unix Support Group




  reply	other threads:[~1995-04-07  4:00 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
1995-04-06  4:00 How does one raise limits in csh under OSF1? P.C. Kilinskas
1995-04-07  4:00 ` John McNulty [this message]
1995-04-09  4:00   ` cherkus
1995-04-09  4:00     ` John McNulty
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