Operating System - HP-UX
1752749 Members
5144 Online
108789 Solutions
New Discussion юеВ

Re: Memory size read error

 
SOLVED
Go to solution
BAUKnight
Frequent Advisor

Memory size read error

hello,
we have a rp3410 server with 4 GB RAM read through the boot process, but using the OS command we see only 2 GB,

here what i am doing

# model
9000/800/L3000-5x
#
#
# uname -a
HP-UX prodx B.11.11 U 9000/800 127414621 unlimited-user license
#
#
# dmesg | tail -4
Memory Information:
physical page size = 4096 bytes, logical page size = 4096 bytes
Physical: 4194304 Kbytes, lockable: 3097172 Kbytes, available: 3568240 Kbytes
#
#
#top
System: prodx Mon Jul 26 10:33:22 2010
Load averages: 0.22, 0.24, 0.31
322 processes: 297 sleeping, 25 running
Cpu states:
CPU LOAD USER NICE SYS IDLE BLOCK SWAIT INTR SSYS
0 0.22 40.0% 0.0% 1.6% 58.4% 0.0% 0.0% 0.0% 0.0%
1 0.21 51.8% 0.0% 1.8% 46.4% 0.0% 0.0% 0.0% 0.0%
--- ---- ----- ----- ----- ----- ----- ----- ----- -----
avg 0.22 46.0% 0.0% 1.6% 52.4% 0.0% 0.0% 0.0% 0.0%

Memory: 2498724K (802088K) real, 4526712K (2060880K) virtual, 178336K free Page# 1/10

CPU TTY PID USERNAME PRI NI SIZE RES STATE TIME %WCPU %CPU COMMAND
0 ? 22561 oracle 199 20 1486M 6368K run 0:30 68.55 68.43 oracleprod
1 ? 3121 root 152 20 279M 37980K run 20:55 1.11 1.11 java
0 ? 5731 oracle 152 20 553M 146M run 73:00 0.75 0.75 java


the top command is showing that we have only 2 GB real, and 4 GB virtual, and as appearing a very low is free, somce times reachs till 20-30 M.

Memory: 2498724K (802088K) real, 4526712K (2060880K) virtual, 178336K free Page# 1/10


anyone can help how to tell if we have to reconfigure something in the OS to read the whole 4 GB, or any idea how to check if we have a hardware failure.


appreciating quick response.
7 REPLIES 7
Asif Sharif
Honored Contributor
Solution

Re: Memory size read error

Hi,

Check the physical memory from this command.

#echo "selclass qualifier memory;info;wait;infolog" | cstm

to check hardware failure, you have to see the syslog or from MP>SL>E (E - System Event)

Regards,
Asif Sharif

Regards,
Asif Sharif
Matti_Kurkela
Honored Contributor

Re: Memory size read error

Are you sure you're looking at the right server? The output of the "model" command does not match with the model you stated.

> 9000/800/L3000-5x

This is "L3000 (L-class)" in older nomenclature, also known as a rp5470 in the current model numbering scheme.

The output of the "model" command in a rp3410 should be:

9000/800/rp3410

Anyway, please run "swapinfo -tam" and "kmtune | grep swap" and post the outputs.

MK
MK
BAUKnight
Frequent Advisor

Re: Memory size read error

here are the output of the command requested


#
#
# echo "selclass qualifier memory;info;wait;infolog" | cstm
Running Command File (/usr/sbin/stm/ui/config/.stmrc).

-- Information --
Support Tools Manager


Version A.49.30

Product Number B4708AA

(C) Copyright Hewlett Packard Co. 1995-2005
All Rights Reserved

Use of this program is subject to the licensing restrictions described
in "Help-->On Version". HP shall not be liable for any damages resulting
from misuse or unauthorized use of this program.

cstm>selclass qualifier memory;info;wait;infolog
-- Updating Map --
Updating Map...
-- Converting a (1204) byte raw log file to text. --
Preparing the Information Tool Log for MEMORY on path 192 File ...

.... prodx : 10.1.1.50 ....

-- Information Tool Log for MEMORY on path 192 --

Log creation time: Mon Jul 26 12:56:31 2010

Hardware path: 192


Basic Memory Description

Module Type: MEMORY
Total Configured Memory : 4096 MB
Page Size: 4096 Bytes

Memory interleaving is supported on this machine and is ON.

Memory Board Inventory

Extender
Slot Num Configured and Slot label for each DIMM (MB)
-------- --------------------------------------------
0a 2a 1a 3a 3b 1b 2b 0b
---- ---- ---- ---- ---- ---- ---- ----

EXT 0 512 512 512 512 512 512 512 512
------------------------------------------------------
System Total (MB): 4096

Memory Error Log Summary

The memory error log is empty.

Page Deallocation Table (PDT)

PDT Entries Used: 0
PDT Entries Free: 256
PDT Total Size: 256
-- Information Tool Log for MEMORY on path 192 --
View - To View the file.
Print - To Print the file.
SaveAs - To Save the file.
Enter Done, Help, Print, SaveAs, or View: [Done]
#
#
# swapinfo -tam
Mb Mb Mb PCT START/ Mb
TYPE AVAIL USED FREE USED LIMIT RESERVE PRI NAME
dev 4096 307 3789 7% 0 - 1 /dev/vg00/lvol2
dev 10000 305 9695 3% 0 - 1 /dev/v10g/swap2
reserve - 3236 -3236
memory 3030 2202 828 73%
total 17126 6050 11076 35% - 0 -
#
#
# kmtune | grep swap
allocate_fs_swapmap 0 - 0
dmp_swapdev_is_vol 0 - 0
maxswapchunks 16384 - 16384
nswapdev 10 - 10
nswapfs 10 - 10
remote_nfs_swap 0 - 0
swapmem_on 1 - 1
#
#



it is clearly appearing that we have 4GB RAM, now the question is why the ( top ) command is showing only 2GB ????
Don Morris_1
Honored Contributor

Re: Memory size read error

top doesn't display all of physical memory, that first value is User Real memory in total (and active in the parenthesis).

User memory does not include Free memory or system memory -- so that's where the rest of your memory is.

And a low free is normal -- HP-UX prefers high memory utilization (better caching in RAM) so memory reclamation doesn't start getting serious until things dip below the memory paging threshold (lotsfree). See:
http://docs.hp.com/en/1218/mem_mgt.html?jumpid=reg_R1002_USEN#How%20Paging%20is%20Triggered
stephen peng
Valued Contributor

Re: Memory size read error

real at top is not the actual memory that the os could use. try swapinfo -atm, and there are other way to find out the amount of memory of the os. see:
Physical: 4194304 Kbytes, lockable: 3097172 Kbytes, available: 3568240 Kbytes
BAUKnight
Frequent Advisor

Re: Memory size read error

in another server, rx4640, we have also 4GB RAM, but currently it is showing 4GB using the top command, and free 2GB RAM.

this means that HPUX does not always prefer to high memory utilization.
BAUKnight
Frequent Advisor

Re: Memory size read error

no comments