Operating System - Tru64 Unix
1748156 Members
3820 Online
108758 Solutions
New Discussion юеВ

Re: Tru 64 Memory

 
SOLVED
Go to solution
Paul Stanard
Regular Advisor

Tru 64 Memory

I am running an Alpha Server with Tru64 5.1B loaded on it. I have math simulation software loaded on it and when I go to set the memory in the software i get the message "refuses to provide memory".

The reason for this is that the software is looking to the swap space for memory. Any reason why that is? or How can I get the software to point to the right memory? Or is there a file that should be created or adjusted? Please feel free to request clarification.
29 REPLIES 29
Michael Schulte zur Sur
Honored Contributor

Re: Tru 64 Memory

Hi,

please post
swapon -s
sysconfig -q vm | grep eager

Michael
Paul Stanard
Regular Advisor

Re: Tru 64 Memory

swapon -s:

swap partition /dev/vol/rootdg/swapvol (default swap)
allocated space: 49152 pages (384MB)
In-use space: 1 (0%)
Free Space: 49151 pages (99%)

Total Swap allocation
allocated space: 49152 pages (384MB)
Reserved space 10117 pages (20%)
In-use space: 1 (0%)
Available space 39035 pages (79%)

sysconfig -q vm|grep eager
vm_swap_eager = 1
Johan Brusche
Honored Contributor

Re: Tru 64 Memory


How much memory is the program trying to allocated, and what is the output of

/sbin/sysconfig -q proc | grep per_proc ?

JB.

_JB_
Michael Schulte zur Sur
Honored Contributor

Re: Tru 64 Memory

Hi,

this is what I expected. How much memory do you have in that machine? 384mb swap is not enough, if you have more then 128mb memory, escpecially if you use eager swapping. Do you have an extra partition on hand, you can add to the swap. If not, you should at least set vm_swap_eager = 0.

Michael
Paul Stanard
Regular Advisor

Re: Tru 64 Memory

/sbin/sysconfig - q proc|grep per_proc

per_proc_stack_size = 8388608
max_per_proc_stack_size = 33554432
per_proc_data_size = 134217728
max_per_proc_data_size = 1073741824
max_per_proc_address_space = 4294967296
per_proc_address_space = 4294967296

How could I check the filesystems, lvols and the available space command line? Bdf doesnt work on tru64 like hpux?

We have gigs to burn for the swap
Paul Stanard
Regular Advisor

Re: Tru 64 Memory

I think what i want to do is to add another disk to the swap using swapon command. How can I display all the disks so that i can see which ones to add?
Michael Schulte zur Sur
Honored Contributor

Re: Tru 64 Memory

Hi,

hwmgr -show scsi. Then have a look at the partitions on these disks. The partition must be unused and not overlapping with another used one.

Michael
Paul Stanard
Regular Advisor

Re: Tru 64 Memory

hwmgr -show scsi

HWID Scsi ID Host Device driverowner
36 0 AlphaServer disk 2
37 1 AlphaServer cdrom 2
38 2 AlphaServer disk 2
39 3 AlphaServer disk 0
40 4 AlphaServer disk 0
41 5 AlphaServer disk 0
42 6 AlphaServer disk 0
43 7 AlphaServer disk 0
44 8 AlphaServer disk 0
45 9 AlphaServer disk 0

device file dsk0..cdrom0...dsk1..dsk2..dsk8
Michael Schulte zur Sur
Honored Contributor

Re: Tru 64 Memory

Now make a list with showfdmn -k of all your domains. Then you can see, which partitions are still free. Do you have databases which use raw devices? If not, this should be easy then. Calculate roughly swap=memory*2

can you post as attachment the output of showfdmn -k of your domains as well as disklabel -r dsk0 ... dsk8
and how much memory you have in your machine?

Michael