Usenet comp.sys.dec (1990-2013)
 help / color / mirror / Atom feed
* How does one raise limits in csh under OSF1?
@ 1995-04-06  4:00 P.C. Kilinskas
  1995-04-07  4:00 ` John McNulty
  0 siblings, 1 reply; 4+ messages in thread
From: P.C. Kilinskas @ 1995-04-06  4:00 UTC (permalink / raw)



When, running csh, I attempt to unlimit the stacksize for my process, it
is set to 32768 kbytes, and it seems impossible to raise it above this
value.  I've tried using 'unlimit -h' to no avail.  I'd really appreciate
any input anyone could give me on getting around this problem;  ideally,
I'd like to set the stacksize to 700000 kbytes.

Any posted or e-mail responses greatly appreciated.

Thanks,
Phil
--
pck@cs.buffalo.edu



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

* Re: How does one raise limits in csh under OSF1?
  1995-04-06  4:00 How does one raise limits in csh under OSF1? P.C. Kilinskas
@ 1995-04-07  4:00 ` John McNulty
  1995-04-09  4:00   ` cherkus
  0 siblings, 1 reply; 4+ messages in thread
From: John McNulty @ 1995-04-07  4:00 UTC (permalink / raw)


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




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

* Re: How does one raise limits in csh under OSF1?
  1995-04-09  4:00   ` cherkus
@ 1995-04-09  4:00     ` John McNulty
  0 siblings, 0 replies; 4+ messages in thread
From: John McNulty @ 1995-04-09  4:00 UTC (permalink / raw)


+ John McNulty <jm@uvo.dec.com> wrote in article <3m3srf$g7f@jac.zko.dec.com> :
+ >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.
+
+ Or just add it to /etc/sysconfigtab, so it will be more obvious
+ that the change has been made.

That's what sysconfigdb does, as well as updating the in-memory copy of the 
/etc/sysconfigtab database.

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




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

* Re: How does one raise limits in csh under OSF1?
  1995-04-07  4:00 ` John McNulty
@ 1995-04-09  4:00   ` cherkus
  1995-04-09  4:00     ` John McNulty
  0 siblings, 1 reply; 4+ messages in thread
From: cherkus @ 1995-04-09  4:00 UTC (permalink / raw)


John McNulty <jm@uvo.dec.com> wrote in article <3m3srf$g7f@jac.zko.dec.com> :
>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.

Or just add it to /etc/sysconfigtab, so it will be more obvious
that the change has been made.

--
Dave Cherkus ----- UniMaster, Inc. ----- Contract Software Development
Specialties: UNIX TCP/IP X OSF/1 AlphaAXP AIX RS/6000 Performance ISDN 
Email: cherkus@UniMaster.COM  Tel: (603) 888-8308  Fax: (603) 888-8308
if (cpu.type == PENTIUM && cpu.step < 8)   { panic("Intel Inside!"); }




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

end of thread, other threads:[~1995-04-09  4:00 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
1995-04-06  4:00 How does one raise limits in csh under OSF1? P.C. Kilinskas
1995-04-07  4:00 ` John McNulty
1995-04-09  4:00   ` cherkus
1995-04-09  4:00     ` John McNulty

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