HPE 9000 and HPE e3000 Servers
cancel
Showing results for 
Search instead for 
Did you mean: 

rp3410 HPUX11i and memory problem

 
SOLVED
Go to solution
njia_1
Trusted Contributor

rp3410 HPUX11i and memory problem

Hi

We have a rp3410 with 6G RAM, but HPUX 11i only recongized 4G.

swapinfo
TYPE AVAIL USED FREE USED LIMIT
ev 4194304 1411772 2782532 34% 0

I also found that the following kernel parameter
voliomem_maxpool_sz 4194304 - (4*1024*1024)

you can see the numbers are the same, I will be suprised that if I have to change that kernel parameter to make HPUX recoginze all the physical memory.

any ideas ?
14 REPLIES 14
Ivajlo Yanakiev
Respected Contributor

Re: rp3410 HPUX11i and memory problem

I'm not sure but some server have limit number of slot you can use.
did you see all amount of memory in yor PDC ?
Mei Jiao
Respected Contributor

Re: rp3410 HPUX11i and memory problem

Hi Njia,

The swap space and the RAM space are different. To find out the RAM space, you can check from your STM tool.

For eg:
# echo "map;sall;wait;info;wait;il;view;done" | cstm > /tmp/cstm.txt

Otherwise, what's your OS version and OS kernel bit number?
# uname -a
# getconf KERNEL_BITS

However, although the rule of thumb for swap space is to have 2xtimes your RAM, but it must be at least the same size of your RAM. Hence please try to increase your swap space, add 2GB more into the system.

Hope it helps.

Best regards,
Mei
Robert-Jan Goossens
Honored Contributor

Re: rp3410 HPUX11i and memory problem

Hi njia,

Could you post the output of next command.

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

Regards,
Robert-Jan
Mahesh Kumar Malik
Honored Contributor

Re: rp3410 HPUX11i and memory problem

Hi njia

Try following command to get info on physical memory installed in server:

#dmesg |grep "Physical*"

Regards
Mahesh

Andrew Rutter
Honored Contributor

Re: rp3410 HPUX11i and memory problem

hi,

swap and ram are different items, so your not seeing the correct thing you expect in swapinfo.

you can view the full memory configuration in STM log files, how many dimms/size and installed where, or use the command robert gave above.

Also you can check the memory size in SAM.

Andy
DCE
Honored Contributor

Re: rp3410 HPUX11i and memory problem

swap is not physical memory. You can get the physical memory through dmesg, top, stm and/or glance.

In the HP world, you must have as much swap space as physical memory. This is done one of two ways - add enough physical swap to match memory, or ensure the swap_mem_on kernel parameter is set to one (this activates psudoswap)

Dave
timmy b.
Honored Contributor

Re: rp3410 HPUX11i and memory problem

The rp3410 does support up to 6g of ram, here's the INFO site.

http://www.hp.com/products1/servers/rackoptimized/rp3400_series/index.html

Hope it helps.

Good Luck - Tim
There are 10 kinds of people in this world: Those who understand Binary, and those who don't.
njia_1
Trusted Contributor

Re: rp3410 HPUX11i and memory problem

Hi All,

I do not think it is compulsory to make swap the same size of physical memory. Maybe I am wrong. There is a kernel parameter called swap_mem_on, by setting this to 1, you can have swap space less than physical memory. Just like what Dave said.

When I tried use dmesg command to find out how much physical memory is, I saw something strange.

Deferred swap reservation failure pid: 4054
Deferred swap reservation failure pid: 4054
Deferred swap reservation failure pid: 4054
Deferred swap reservation failure pid: 4054
Deferred swap reservation failure pid: 4054
Deferred swap reservation failure pid: 4054
Deferred swap reservation failure pid: 4175
Deferred swap reservation failure pid: 11950


I do see 12 x 512M DIMMs from SAM and cstm command. Here is how I can tell

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

Log creation time: Wed Sep 14 09:50:03 2005

Hardware path: 8

Basic Memory Description

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

Memory interleaving is supported on this machine and is ON.

Memory Board Inventory

DIMM Slot Size (MB)
--------- ---------
0A 512
0B 512
1A 512
1B 512
2A 512
2B 512
3A 512
3B 512
4A 512
4B 512
5A 512
5B 512
--------- ---------
System Total (MB): 6144

Memory Error Log Summary

The memory error log is empty.

Page Deallocation Table (PDT)

PDT Entries Used: 0
PDT Entries Free: 3000
PDT Total Size: 3000
-- Information Tool Log for MEMORY on path 8 --
View - To View the file.
Print - To Print the file.
SaveAs - To Save the file.
Enter Done, Help, Print, SaveAs, or View: [Done] #.
Patrick Wallek
Honored Contributor

Re: rp3410 HPUX11i and memory problem

It appears that you could be paging out rather badly. You do have 6GB of RAM. If you do have swapmem_on set to 1, then you have essentially 4GB device swap plus another 4GB or so of pseudo-swap for a total of about 8GB. The output of 'swapinfo -tam' would be helpful to confirm this though.

Now you do have some swap reservation failures which are not good. It means that a process was trying to reserve swap but couldn't. Which means you are out of swap reservation space.

So I see 2 potential solutions.
1) Add some more device or filesystem swap.
2) Add some more RAM.

I think short term you may want to add some more swap. Long term I would definitely look at adding some more RAM to this system.
njia_1
Trusted Contributor

Re: rp3410 HPUX11i and memory problem

Hi Patrick

Thanks for your advice here is the output, but my question is if I do have 6G RAM why HPUX only uses about 4G ?

swapinfo -tam
Mb Mb Mb PCT TART/ Mb
TYPE AVAIL USED FREE USED LIMIT RESERVE PRI NAME
dev 4096 614 3482 15% 0 - 1 /dev/vg00/lvol2
reserve - 3482 -3482
memory 4410 2972 1438 67%
total 8506 7068 1438 83% - 0 -
Patrick Wallek
Honored Contributor
Solution

Re: rp3410 HPUX11i and memory problem

swapinfo -tam
Mb Mb Mb PCT TART/ Mb
TYPE AVAIL USED FREE USED LIMIT RESERVE PRI NAME
dev 4096 614 3482 15% 0 - 1 /dev/vg00/lvol2
reserve - 3482 -3482
memory 4410 2972 1438 67%
total 8506 7068 1438 83% - 0 -

The amount of RAM that your machine has does not have anything to do with the 'dev' line in swapinfo. That is merely the amount of device swap space that you have configured.

How are you coming up with the conclusion that your system is only using 4GB of RAM?

Do you have Glance installed on the system? If so, what does it show for amount of memory used?

Your swapinfo command shows that there are about 3.5GB of swap space reserved by processes. That is not bad. The info also shows that you currently have about 614MB of your device swap space used. That does appear to be less than it was earlier.

njia_1
Trusted Contributor

Re: rp3410 HPUX11i and memory problem

Hi Patrick

memory 4410 2972 1438 67%

I think this tells me that HPUX only used 4410 MB of memory but actually I have 6G.
Patrick Wallek
Honored Contributor

Re: rp3410 HPUX11i and memory problem

No! What the memory line is telling you is that you are using 4410 MB of RAM for pseudo-swap since the swapmem_on kernel parameter is set to 1.

The memory line does NOT tell you how much of your total RAM you are using.
njia_1
Trusted Contributor

Re: rp3410 HPUX11i and memory problem

Hi Patrick,

thanks for clearifing it for me and I was confused by that number. top show the same number, I think that is the same thing.

So, that rp3410 just does not have enough memory.

thanks
Nan