HP-UX server showing high memory utilization


 
Thread Tools Search this Thread
Operating Systems HP-UX HP-UX server showing high memory utilization
# 1  
Old 11-04-2014
HP-UX server showing high memory utilization

Hi All,

I am using HP-UX 11i v1(B11.11) servers for my work and its memory (RAM) utilization is consistenly 80% for the last one year. Though I am not facing any issues with this high memory utilization I just want to know the below queries:

1) Is it the default behavior of HP-UX systems?
2) Is it the actual utilization value or else anything need to be subtracted to get actual value?
3) If it is a bottle neck what are the commands I need to run or else what are the stats I need to collect to know which is causing the bottleneck?

Thanks in advance.
# 2  
Old 11-04-2014
Its more a question of how much RAM you have and how disk space is mounted...
If you have little memory its quite normal all is used.. We need to know more about your system, commands you can type:
Code:
model
swapinfo -tam
bdf
sysdef
...

This User Gave Thanks to vbe For This Post:
# 3  
Old 11-04-2014
Please give the following:
Code:
kmtune -q dbc_max_pct -q dbc_min_pct
kmtune -q nbuf -q bufpages

This User Gave Thanks to MadeInGermany For This Post:
# 4  
Old 11-06-2014
Code:
model

9000/800/rp4440

swapinfo -tam

             Mb      Mb      Mb   PCT  START/      Mb
TYPE      AVAIL    USED    FREE  USED   LIMIT RESERVE  PRI  NAME
dev       16384       0   16384    0%       0       -    1  /dev/vx/dsk/rootdg/swapvol
reserve       -    2794   -2794
memory    18901   14469    4432   77%
total     35285   17263   18022   49%       -       0    -

bdf

Filesystem          kbytes    used   avail %used Mounted on
/dev/vx/dsk/rootdg/rootvol
                   16777216 4034148 12574020   24% /
/dev/vx/dsk/rootdg/standvol
                    320616   89880  198674   31% /stand
/dev/vx/dsk/rootdg/varvol
                   18874368 9290424 9434336   50% /var
/dev/vx/dsk/rootdg/usrvol
                   16777216 1643240 14897596   10% /usr
/dev/vx/dsk/rootdg/tmpvol
                   16777216 8749796 7902008   53% /tmp
/dev/vx/dsk/rootdg/quest_installvol
                   8388608 2341146 5669659   29% /quest_install
/dev/vx/dsk/rootdg/oracle_installvol
                   2097152  111808 1861268    6% /oracle_install
/dev/vx/dsk/rootdg/oracle_install_product_9.2.0vol
                   8388608 6048221 2194223   73% /oracle_install/product/9.2.0
/dev/vx/dsk/rootdg/oracle_adminvol
                   2097152  993457 1034777   49% /oracle_admin
/dev/vx/dsk/rootdg/oracle_admin_mnp1vol
                   2097152   90851 1881028    5% /oracle_admin/mnp1
/dev/vx/dsk/rootdg/optvol
                   16777216 4894496 11697172   29% /opt
/dev/vx/dsk/rootdg/homevol
                   10485760 7349952 3111432   70% /home
/dev/vx/dsk/rootdg/ecc600
                    524288  337076  175905   66% /ECC600
/dev/vx/dsk/mnpdg/mnpP_db01_vol
                   84671488 81370216 3270805   96% /mnp_db01
/dev/vx/dsk/mnpdg/orasrv_vol
                   1048576   16806  967291    2% /orasrv
/dev/vx/dsk/mnpdg/oracle_admin_mnpP_arch_vol
                   12582912   25037 11773206    0% /oracle_admin/mnp/arch
/dev/vx/dsk/mnpdg/oracle_admin_mnpP_backup_vol
                   95229952 10760121 79190536   12% /oracle_admin/mnp/backup
/dev/vx/dsk/mnpdg/mnpP_db02_vol
                   79932416 16676123 59302781   22% /mnp_db02
/dev/vx/dsk/mnpdg/mnpvol
                   2097152 1405247  649065   68% /data/weblogic/mnp1


kmtune -q dbc_max_pct -q dbc_min_pct

Parameter             Current Dyn Planned                    Module     Version
===============================================================================
dbc_max_pct                50  -  50
dbc_min_pct                 5  -  5
mnpp1:/->


sysdef

NAME                      VALUE       BOOT        MIN-MAX        UNITS   FLAGS
acctresume                    4          -       -100-100                -
acctsuspend                   2          -       -100-100                -
allocate_fs_swapmap           0          -           -                   -
bufpages                3145472          -          0-           Pages   -
create_fastlinks              0          -           -                   -
dbc_max_pct                  50          -           -                   -
dbc_min_pct                   5          -           -                   -
default_disk_ir               0          -           -                   -
dskless_node                  0          -          0-1                  -
eisa_io_estimate            768          -           -                   -
eqmemsize                   110          -           -                   -
file_pad                     10          -          0-                   -
fs_async                      0          -          0-1                  -
hpux_aes_override             0          -           -                   -
maxdsiz                   65536          -          0-503866     Pages   -
maxdsiz_64bit            524288          -       1024-1073479679 Pages   -
maxfiles                   2048          -         30-2048               -
maxfiles_lim               2048          -         30-2048               -
maxssiz                    2048          -          0-98048      Pages   -
maxssiz_64bit            262144          -          4-262144     Pages   -
maxswapchunks             16384          -          1-16384              -
maxtsiz                   16384          -          0-503859     Pages   -
maxtsiz_64bit            262144          -       1024-1073741823 Pages   -
maxuprc                    3704          -          3-                   -
maxvgs                       10          -           -                   -
msgmap                     4115          -          3-                   -
nbuf                    1933206          -          0-                   -
ncallout                   8544          -          6-                   -
ncdnode                     150          -           -                   -
ndilbuffers                  30          -          1-                   -
netisr_priority              -1          -         -1-127                -
netmemmax                     0          -           -                   -
nfile                     63798          -         14-                   -
nflocks                    4096          -          2-                   -
ninode                    34976          -         14-                   -
no_lvm_disks                  0          -           -                   -
nproc                      4864          -         10-                   -
npty                         60          -          1-                   -
nstrpty                      60          -           -                   -
nswapdev                     10          -          1-25                 -
nswapfs                      10          -          1-25                 -
public_shlibs                 1          -           -                   -
remote_nfs_swap               0          -           -                   -
rtsched_numpri               32          -           -                   -
sema                          0          -          0-1                  -
semmap                     4095          -          4-                   -
shmem                         0          -          0-1                  -
shmmni                      512          -          3-1024               -
streampipes                   0          -          0-                   -
swapmem_on                    1          -           -                   -
swchunk                    2048          -       2048-16384      kBytes  -
timeslice                    10          -         -1-2147483648 Ticks   -
unlockable_mem            98304          -          0-           Pages   -


kmtune -q nbuf -q bufpages
Parameter             Current Dyn Planned                    Module     Version
===============================================================================
nbuf                        0  -  0
bufpages                    0  -  (NBUF*2)


top

Memory: 2562392K (1772224K) real, 3541284K (2585332K) virtual, 5244952K free

# 5  
Old 11-06-2014
If you have cstm installed:
Code:
 echo "selclass qualifier memory;info;wait;infolog" | /usr/sbin/cstm

or possibly
Code:
grep hysical /var/adm/syslog/syslog.log

From what we see I assume its quite normal with the way the server is configured... to say if that is optimum is another thing... but to say more we need to know how much effective RAM you have ( the 2 snippets above... )
As I see you have some oracle structure, so if you are running some RDBMS instances then the shared memory stanza from :
ipcs -b or if you know the siz of SGA, will help see more clear...
Ah...
And what disks you use! (SAN?...)

Last edited by vbe; 11-06-2014 at 12:06 PM.. Reason: typo + ipcs
# 6  
Old 11-06-2014
Yes, everything is normal,
I bat on Oracle shared memory, too.
Maybe also reflected by the VSZ value in
Code:
env UNIX95=1 ps -eo user,pid,sz,vsz,comm

This User Gave Thanks to MadeInGermany For This Post:
# 7  
Old 11-06-2014
I would not worry about real memory being shown as used. The OS will retains data (including code) that have been used in case another process wants them as it is more efficient that reading from disk again. Memory is overwritten when there is a request for some and none is available. Either the oldest referenced section is overwritten or if it is still valid (i.e. owned by a process) it will be copied to the swap area and then overwritten. Consequently, memory appears full pretty much all the time.

Can you tell us:-
  • How much real memory you have
  • How much paging or swap space you have
  • How much paging or swap is currently in use. The command swapinfo -a is useful here. Read the manual page for information about the output.
  • How busy is your swap, i.e. is it being written/read back from a lot. The command vmstat 5 will give you this. Look at columns pi & po for the values.
If we see something horrible, then maybe it's time to try tuning, but let's not panic yet.



Regards,
Robin
This User Gave Thanks to rbatte1 For This Post:
Login or Register to Ask a Question

Previous Thread | Next Thread

10 More Discussions You Might Find Interesting

1. UNIX for Advanced & Expert Users

Server showing high Sys% CPU usage

Hi Fellas, Not sure how I can dig in even further but we notice that one of our DB servers is showing high Sys% CPU usage even though when I execute the following command : I can see that postgres is the only one using the CPU. So if anyone can advise me what would be the best way to... (3 Replies)
Discussion started by: arizah
3 Replies

2. Red Hat

CPU Utilization and Memory Utilization of Services and Applications

Hi, i am new to linux/RHEL 6.0 and i have two questions. 1) How to get the CPU utilization and Memory Utilization of all Services running currently? 2) How to get the CPU utilization and Memory Utilization of all Applications running currently? Please help me to find the script. ... (2 Replies)
Discussion started by: nossam
2 Replies

3. Red Hat

Java process showing high virtual memory

Hi All, I have a java process which is showing high virtual memory utilization in client server. But the same process is showing comparitively lesser virtual memory consumption. I understand that virtual memory shown is not of much importance for the general user in normal condition, my client... (2 Replies)
Discussion started by: mritusmoi
2 Replies

4. Solaris

High Memory Utilization

Hello Guys, I have one Solaris server with high memory utilization >90%. As per checking, below is the output for memory usage. bash-3.00# ps -efo pmem,uid,pid,ppid,pcpu,comm | sort -r %MEM UID PID PPID %CPU COMMAND 1.7 29496 20668 1 0.0 /opt/app/iw-home/tools/java/bin/java 1.5... (1 Reply)
Discussion started by: myrpthidesis
1 Replies

5. Solaris

[DOUBT] Memory high in idle process on Solaris 10 (Memory Utilization > 90%)

Hi Experts, Our servers running Solaris 10 with SAP Application. The memory utilization always >90%, but the process on SAP is too less even nothing. Why memory utilization on solaris always looks high? I have statement about memory on solaris, is this true: Memory in solaris is used for... (4 Replies)
Discussion started by: edydsuranta
4 Replies

6. Red Hat

Memory conmsumption by Java server is very high on Linux compared to Soalris

Hello All, We have a jave server running on both linux and Solaris environments. On solaris,it consumes only 600-700MB whereas it goes upto 21G in Linux. I am monitoring the memory consumption through top command. Is this high memory consumption expected in Linux? (1 Reply)
Discussion started by: prasperl
1 Replies

7. AIX

Find Memory Utilization in AIX Server

How to find the memory utilization of AIX server using svmon -G output. Sample output for svmon -G command from my AIX test server, size inuse free pin virtual memory 4014080 3995443 18637 575916 1876393 pg space 1179648 ... (3 Replies)
Discussion started by: maruthu
3 Replies

8. AIX

Memory utilization of my Server

Hi, i have two oracle instances running on my server with 7.5G RAM but it is showing almost 99% memory is full as you can see bellow. # svmon size inuse free pin virtual memory 1974272 1954270 20002 336595 1800652 pg space 4194304 ... (7 Replies)
Discussion started by: salmanucit
7 Replies

9. Shell Programming and Scripting

Unix Script to find and kill a process with high memory utilization

Hi Unix Gurus i am somewhat new to unix scripting so need your help to create a script as below. # This script would find the process consuming memory beyond a certain #limit. if the meemory consumption is more than 100% for a period of 1 # minute for the specific process. the script would... (0 Replies)
Discussion started by: robinforlinux
0 Replies

10. AIX

High CPU utilization

Hi am facing high cpu utilization on my sybase server. I have P550 Number Of Processors: 4 Processor Clock Speed: 1656 MHz CPU Type: 64-bit Kernel Type: 32-bit LPAR Info: 1 65-D837E Memory Size: 7840 MB in topas it shows Name PID CPU% PgSp Owner dataserv 565264 ... (1 Reply)
Discussion started by: vjm
1 Replies
Login or Register to Ask a Question