* stacksize and/or datasize limits too small
@ 2001-06-19 7:19 Fernando Nogueira
2001-06-19 21:39 ` Alan Rollow - Dr. File System's Home for Wayward Inodes.
2001-06-25 12:26 ` Nick Hill
0 siblings, 2 replies; 3+ messages in thread
From: Fernando Nogueira @ 2001-06-19 7:19 UTC (permalink / raw)
Hi.
I am having troubles running some of my fortran codes on Tru64 Unix 5.0 on a
XP1000 workstation (and on a PW500au too). The message I get is that the
datasize is too low. However I cannot increase it beyond 1GByte. I used to
do it in Digital Unix 4.0d, before upgrading to the newer OS. Someone
suggested me I should try linux, and that solved this 1 GByte limitation.
But now I have a stacksize problem - it is only 8 kBytes and only root can
increase it... and I don't want to run my codes as root :-)).
Did anyone have these problems? How can I solve them?
Thanks,
Fernando
^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: stacksize and/or datasize limits too small
2001-06-19 7:19 stacksize and/or datasize limits too small Fernando Nogueira
@ 2001-06-19 21:39 ` Alan Rollow - Dr. File System's Home for Wayward Inodes.
2001-06-25 12:26 ` Nick Hill
1 sibling, 0 replies; 3+ messages in thread
From: Alan Rollow - Dr. File System's Home for Wayward Inodes. @ 2001-06-19 21:39 UTC (permalink / raw)
In article <9gmunj$bok$1@venus.telepac.pt>, "Fernando Nogueira" <fnog@teor.fis.uc.pt> writes:
>I am having troubles running some of my fortran codes on Tru64 Unix 5.0 on a
>XP1000 workstation (and on a PW500au too). The message I get is that the
>datasize is too low. However I cannot increase it beyond 1GByte. I used to
>do it in Digital Unix 4.0d, before upgrading to the newer OS. Someone
>suggested me I should try linux, and that solved this 1 GByte limitation.
>But now I have a stacksize problem - it is only 8 kBytes and only root can
>increase it... and I don't want to run my codes as root :-)).
The maximum and default stack and data size limits are system
configuration parameters. Read the manual page for the sysconfig
command to see the various ways of changing these values. The
limits come in two values, the system maximum and the default.
Many shells allow raising these limits from the default to the
maximum. A good shell will have the command it uses to change
these limits documented somewhere.
On my V4.0D system, I can raise the stack size to 32 MB using the
command:
% limit stack unlimited
I happen to be using csh(1). If you can't raise the limit for the
stack on your system, first see what the default and maximum are.
If your system manager set them to the same value, then it makes
sense that it can't be raise. If you're already at the maximum
and need more, go back to my text on sysconfig(8).
>
>Fernando
--
Alan Rollow alan@nabeth.cxo.dec.com
^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: stacksize and/or datasize limits too small
2001-06-19 7:19 stacksize and/or datasize limits too small Fernando Nogueira
2001-06-19 21:39 ` Alan Rollow - Dr. File System's Home for Wayward Inodes.
@ 2001-06-25 12:26 ` Nick Hill
1 sibling, 0 replies; 3+ messages in thread
From: Nick Hill @ 2001-06-25 12:26 UTC (permalink / raw)
Fernando Nogueira wrote:
>
> Hi.
>
> I am having troubles running some of my fortran codes on Tru64 Unix 5.0 on a
> XP1000 workstation (and on a PW500au too). The message I get is that the
> datasize is too low. However I cannot increase it beyond 1GByte. I used to
> do it in Digital Unix 4.0d, before upgrading to the newer OS. Someone
> suggested me I should try linux, and that solved this 1 GByte limitation.
> But now I have a stacksize problem - it is only 8 kBytes and only root can
> increase it... and I don't want to run my codes as root :-)).
>
> Did anyone have these problems? How can I solve them?
>
> Thanks,
>
> Fernando
The 1Gbyte limit for max datasize is not a limitation of the OS, just
the way the O/S has been configured. Tru64 has settings for default and
max sizes for process limits. There are values built in at kernel build
time but these can be changed by values read from /etc/sysconfigtab at
boot time. The simplest way to adjust them on a workstation is use
dxkerneltuner. Run this under root and select the proc subsystem which
display the current values and give you a box where you can set the boot
values you want. The ones you are interested in are:
max-per-proc-address-space
per-proc-address-space
max-per-proc-data-size
per-proc-data-size
max-per-proc-stack-size
per-proc-stack-size
Which set the max and default values for a process. You probably need to
change vm-maxvas in the vm subsystem as well to increase the max virtual
size.
Having done this then following a reboot you should get the new higher
values you entered.
Nick Hill
ITD SCS Group
^ permalink raw reply [flat|nested] 3+ messages in thread
end of thread, other threads:[~2001-06-25 12:26 UTC | newest]
Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2001-06-19 7:19 stacksize and/or datasize limits too small Fernando Nogueira
2001-06-19 21:39 ` Alan Rollow - Dr. File System's Home for Wayward Inodes.
2001-06-25 12:26 ` Nick Hill
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox