Memory & Swap utilization


 
Thread Tools Search this Thread
Top Forums UNIX for Dummies Questions & Answers Memory & Swap utilization
# 1  
Old 07-24-2014
Memory & Swap utilization

Hi All,

We have a sparc server for which we always recieve memory utilization alerts. (97.01% available memory used by the partition (/MEMORY/MEMORY/MEMUsedMemPerc)).
But when we check the server using prstat and vmstat the meory utilization is normal and swap space utilization is also normal.
This alert occurs almost around 30 times in a day.
I had been trying to identify the root cause why we have been getting these many alerts but unable to identlify.
There might be something i might be missing to look at.

Could you please help me in understanding the memory and swap space utilization and the parameter i might be missing to look at which is causing these alerts.

Code:
 NPROC USERNAME  SWAP   RSS MEMORY      TIME  CPU
    87 root      736M  634M   1.9% 531:30:47 1.7%
   127 oracle     23G   18G    55%  54:35:55 1.3%
     9 patrol    217M  235M   0.7%  33:04:18 0.2%
     1 noaccess   99M  107M   0.3%   3:03:36 0.0%
     2 se3361   1652K 6668K   0.0%   0:00:00 0.0%
     2 entdev    320K 1772K   0.0%   0:00:00 0.0%
     2 se3265   1320K 5900K   0.0%   0:00:00 0.0%
     1 smmsp    1740K 5168K   0.0%   0:00:30 0.0%
     6 daemon     11M 8592K   0.0%   0:12:41 0.0%
Total: 237 processes, 2895 lwps, load averages: 0.34, 0.39, 0.40

 kthr      memory            page            disk          faults      cpu
 r b w   swap  free  re  mf pi po fr de sr s0 s1 s2 s3   in   sy   cs us sy id
 0 0 0 20768024 7068788 161 847 58 0 0 0 0  2 14 221 221 4599 6023 4167 4 7 90
 0 0 0 14178468 921156 11 63 0  0  0  0  0  0  2  1  1 1679 1701 1536  0  0 99
 1 0 0 14172552 918112 451 3456 0 0 0 0  0  0  2  2  3 3476 17904 7643 3  3 93
 0 0 0 14166380 914708 0 84  0  0  0  0  0  0  9  9 13 2130 3580 2105  0  1 99

Memory size: 32758 Megabytes

Page Summary                Pages                MB  %Tot
------------     ----------------  ----------------  ----
Kernel                    1113149              4348   13%
ZFS File Data             1943760              7592   23%
Anon                      4765418             18614   57%
Exec and libs               76466               298    1%
Page cache                  27860               108    0%
Free (cachelist)             2766                10    0%
Free (freelist)            454486              1775    5%
Total                     8383905             32749
Physical                  8175081             31933


Regards,
Rocky
Moderator's Comments:
Mod Comment Note that due to repeated ignored requests to properly format posts, this user will be unable to submit any new posts for two weeks.

Last edited by Don Cragun; 07-24-2014 at 05:38 AM.. Reason: Add CODE tags.
# 2  
Old 07-31-2014
Preventative measures:
If you have not yet done so, limit ZFS ARC cache to RAM/4 in /etc/system:
Code:
set zfs:zfs_arc_max = 8192000000

Also watch /tmp; have a cleanup routine, and limit it to RAM/3 in /etc/vfstab:
Code:
swap    -       /tmp    tmpfs   -       yes     size=10240m

--
Separate measurement of RAM and swap can be done for statistics - but rarely for alert thresholds.
Instead you should measure the virtual memory, as given by "vmstat" or "swap -s". It is roughly the sum of RAM and swap.
 
Login or Register to Ask a Question

Previous Thread | Next Thread

10 More Discussions You Might Find Interesting

1. 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

2. AIX

AIX swap space, physical memory & cache

Hi, I am new to AIX, Can someone please help me how to know the swap space, total physical memory and system cache? We are using AIX 5.3. Thanks! (3 Replies)
Discussion started by: Phaneendra G
3 Replies

3. Solaris

Solaris 10 : how to find swap utilization ?

hi, I want to find swap utilization on a solaris 10 box. can someone please help. Thanks, Priyank (4 Replies)
Discussion started by: arorap
4 Replies

4. 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

5. UNIX for Advanced & Expert Users

Memory Utilization swap and page scan

Hi, on AIX 6 , how to see : Memory Utilization Memory Page Scan Rate Swap Utilization Thank you. (2 Replies)
Discussion started by: big123456
2 Replies

6. Shell Programming and Scripting

Calculating Swap percentage utilization

Hello All, I am trying to create a script that will give me the processes that consume swap in %. i am using the below line to get it done. virtual=`echo "$virtual/$swp*100"|bc -l|sed -e "s/\(\.\).*/\1/g"` but getting the following output after running it. .039 .110 I want the... (3 Replies)
Discussion started by: ajaincv
3 Replies

7. AIX

Memory Utilization

Hi friends i have a query. we have two p-series machine(p550 & p570) with HACMP 5.3 and AIX 5.3 hosting SAP. Now i need to now is there a way or a command to check the memory utilization on these machines on daily basis. I have tried vmstat and iostat but still it's not clear. We have... (3 Replies)
Discussion started by: nathandrake13
3 Replies

8. HP-UX

Checking server swap utilization

Hey guys which is accurate in checking the servers swap utilization is it swapinfo or memdetail?:confused: (1 Reply)
Discussion started by: sbn
1 Replies

9. AIX

Memory Utilization

All, The (fre) coloumn of the (vmstat) command, does it report the size of the free list including the swap space or it only report on the RAM (physical memory). BR, (1 Reply)
Discussion started by: Negm
1 Replies

10. Filesystems, Disks and Memory

Total Memory/Swap Memory

I need to put a program together to determine the total, available memory and total and available swap on unix machines. I have been searching for weeks and I seem to run into dead ends. Every unix platform I look at has a different way to determine memory info. Any sugggestions or new... (4 Replies)
Discussion started by: ghe1
4 Replies
Login or Register to Ask a Question