* Memory! More and more memory ... please!
@ 1995-03-31 5:00 Daniel F. Johnston (Dan)
1995-04-01 5:00 ` Dan Pop
` (2 more replies)
0 siblings, 3 replies; 4+ messages in thread
From: Daniel F. Johnston (Dan) @ 1995-03-31 5:00 UTC (permalink / raw)
I have a user with an Alpha 3000/900, 256 meg. of memory,
200 meg swap on system disk, 300 meg swap on user disk, and
a very LARGE array to model (FEA analysis). We have installed
the latest OSF/1 (3.2).
The problem is that the OS seems to have been configured (by
default) for 128 meg per user. I need to allow him to use as
much of the above virtual space as possible, and we can add more
memory and an another swap disk if necessary. We need at least
500 meg of virtual space for that user (to start).
OK ... so how do I change that limit on OSF/1. I found 'ulimit'
but I cannot find any information on it except for the man page
on th eprogram call. I have all the documentation on CD, tell
me were to look. How do I balance the max physical memory and
max virtual memory parameters to give the user his 0.5-1 gig
virtual space?
Thanks for any help.
Dan.Johnston@nrc.ca
^ permalink raw reply [flat|nested] 4+ messages in thread* Re: Memory! More and more memory ... please!
1995-03-31 5:00 Memory! More and more memory ... please! Daniel F. Johnston (Dan)
@ 1995-04-01 5:00 ` Dan Pop
1995-04-01 5:00 ` cherkus
1995-04-04 4:00 ` George Chaltas
2 siblings, 0 replies; 4+ messages in thread
From: Dan Pop @ 1995-04-01 5:00 UTC (permalink / raw)
In <3lgv2s$s2f@nrcnet0.nrc.ca> johnston@nrc.ca (Daniel F. Johnston (Dan)) writes:
>The problem is that the OS seems to have been configured (by
>default) for 128 meg per user. I need to allow him to use as
>much of the above virtual space as possible, and we can add more
>memory and an another swap disk if necessary. We need at least
>500 meg of virtual space for that user (to start).
>
>OK ... so how do I change that limit on OSF/1. I found 'ulimit'
>but I cannot find any information on it except for the man page
>on th eprogram call. I have all the documentation on CD, tell
>me were to look. How do I balance the max physical memory and
>max virtual memory parameters to give the user his 0.5-1 gig
>virtual space?
In a csh compatible shell, you can fix the problem with a single
command:
ues5:~ 165> limit
cputime unlimited
filesize unlimited
datasize 131072 kbytes
^^^^^^
stacksize 2048 kbytes
coredumpsize unlimited
memoryuse 58776 kbytes
descriptors 4096
ues5:~ 166> limit datasize unlimited
ues5:~ 167> limit
cputime unlimited
filesize unlimited
datasize 1048576 kbytes
^^^^^^^
stacksize 2048 kbytes
coredumpsize unlimited
memoryuse 58776 kbytes
descriptors 4096
If you want more than 1GB of virtual memory for a single process, you'll
have to reconfigure your kernel.
Other shells might have similar commands for dealing with the limits.
Check the man page of your shell.
Dan
--
Dan Pop
CERN, CN Division
Email: danpop@afsmail.cern.ch
Mail: CERN - PPE, Bat. 31 R-004, CH-1211 Geneve 23, Switzerland
^ permalink raw reply [flat|nested] 4+ messages in thread* Re: Memory! More and more memory ... please!
1995-03-31 5:00 Memory! More and more memory ... please! Daniel F. Johnston (Dan)
1995-04-01 5:00 ` Dan Pop
@ 1995-04-01 5:00 ` cherkus
1995-04-04 4:00 ` George Chaltas
2 siblings, 0 replies; 4+ messages in thread
From: cherkus @ 1995-04-01 5:00 UTC (permalink / raw)
If you read your kernel config file (/sys/conf/HOSTNAME) you will
see lines that look like:
#
# Special options (see configuring the kernel chapter
# in the Guide to System Administration)
#
timezone 0 dst 0
dfldsiz 134217728
maxdsiz 1073741824
You should take the hint about reading the sysadmin guide,
where it tells you what these do and how to change them.
--
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* Re: Memory! More and more memory ... please!
1995-03-31 5:00 Memory! More and more memory ... please! Daniel F. Johnston (Dan)
1995-04-01 5:00 ` Dan Pop
1995-04-01 5:00 ` cherkus
@ 1995-04-04 4:00 ` George Chaltas
2 siblings, 0 replies; 4+ messages in thread
From: George Chaltas @ 1995-04-04 4:00 UTC (permalink / raw)
johnston@nrc.ca (Daniel F. Johnston (Dan)) wrote:
>
> I have a user with an Alpha 3000/900, 256 meg. of memory,
> 200 meg swap on system disk, 300 meg swap on user disk, and
> a very LARGE array to model (FEA analysis). We have installed
> the latest OSF/1 (3.2).
>
> The problem is that the OS seems to have been configured (by
> default) for 128 meg per user. I need to allow him to use as
> much of the above virtual space as possible, and we can add more
> memory and an another swap disk if necessary. We need at least
> 500 meg of virtual space for that user (to start).
>
> OK ... so how do I change that limit on OSF/1. I found 'ulimit'
> but I cannot find any information on it except for the man page
> on th eprogram call. I have all the documentation on CD, tell
> me were to look. How do I balance the max physical memory and
> max virtual memory parameters to give the user his 0.5-1 gig
> virtual space?
>
> Thanks for any help.
> Dan.Johnston@nrc.ca
>
>
The right command to change this depends on what shell you are using.
The default user limits look like this (displayed by the C-shell
"limit" command.
cputime unlimited
filesize unlimited
datasize 131072 kbytes
stacksize 2048 kbytes
coredumpsize unlimited
memoryuse 507904 kbytes
descriptors 4096 files
addressspace 1048576 kbytes
In C-shell, the "unlimit" command will set all these values to
the maximum allowed by the system:
cputime unlimited
filesize unlimited
datasize 1048576 kbytes
stacksize 32768 kbytes
coredumpsize unlimited
memoryuse 507904 kbytes
descriptors 4096 files
addressspace 1048576 kbytes
In the Bourne and Korn shells, use the "ulimit" command, with a specific
number. To set the datasize to 1Gb, for example, do this:
ulimit -d 1048576
It is possible to change both the initial default values and
the maximum allowable values, but not on a per-user basis.
The default and maximum values may be set by putting entries
in /etc/sysconfigtab -- this is described in appendix A
of the "System Tuning and Performance Management" manual, which
is on your Operating System CD. Note that if you increase
datasize above 1GB, you must also increase addressspace.
George Chaltas
^ permalink raw reply [flat|nested] 4+ messages in thread
end of thread, other threads:[~1995-04-04 4:00 UTC | newest]
Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
1995-03-31 5:00 Memory! More and more memory ... please! Daniel F. Johnston (Dan)
1995-04-01 5:00 ` Dan Pop
1995-04-01 5:00 ` cherkus
1995-04-04 4:00 ` George Chaltas
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox