High CPU+Memory comsumption

 
Thread Tools Search this Thread
Homework and Emergencies Emergency UNIX and Linux Support High CPU+Memory comsumption
# 1  
Old 09-22-2011
High CPU+Memory comsumption

Hi All,

I have Solaris-9, Sun Fire V1280 with uptime of 501 Days. My Big brother monitoring showing me 90% + memory utilization on this box. Since this is production box, I can not reboot it. Is there way to know, what is consuming so much ? It is affecting my other environment on the box. Below are stats, which can help to understand my problem.
Code:
From prstat -a
 NPROC USERNAME  SIZE   RSS MEMORY      TIME  CPU
    34 autopp1  8577M 7133M    45% 175:31:28  19%
    54 root      647M  317M   1.9%   8:00:28 3.2%
     6 bb       6336K 5304K   0.0%   0:13:48 0.0%
     1 smmsp    4520K 1304K   0.0%   0:00:03 0.0%
:/var/tmp# /usr/local/bin/top
last pid: 24465;  load averages:  2.34,  2.55,  2.60                                                                 05:45:34
95 processes:  91 sleeping, 4 on cpu
CPU states: 43.7% idle, 40.8% user, 11.3% kernel,  4.2% iowait,  0.0% swap
Memory: 16G real, 1912M free, 6058M swap in use, 26G swap free
   PID USERNAME LWP PRI NICE  SIZE   RES STATE    TIME    CPU COMMAND
 17546 autopp1   15   0    0 1103M 1015M cpu/2   11:49  7.71% content.exe
 13595 autopp1   15   0    0 1965M 1794M cpu/0   44.6H  7.24% content.exe
 16162 autopp1   15  43    0 1309M 1194M cpu/8   15:21  6.46% content.exe
 26233 root       3  60    0   53M   28M sleep   26:59  4.22% clBackup
 13624 autopp1   15  59    0 1712M 1540M sleep   44.4H  4.16% content.exe
 26239 root       1  58    0   45M 6536K sleep    4:00  1.05% nwp
 
:/var/tmp/prustat -t5 5 (Dtrace thing)
  PID   %CPU   %Mem  %Disk   %Net  COMM
13595   8.77  11.43   0.00   0.00  content.exe
16162  10.11   7.69   0.00   0.00  content.exe
17546  10.63   6.54   0.00   0.00  content.exe
13624   4.87   9.81   0.00   0.00  content.exe
26233   3.60   0.18   0.00   0.00  clBackup
  PID   %CPU   %Mem  %Disk   %Net  COMM
13595   8.76  11.43   0.00   0.00  content.exe
16162  10.05   7.69   0.00   0.00  content.exe
17546  10.61   6.54   0.00   0.00  content.exe
13624   4.84   9.81   0.00   0.00  content.exe
26233   3.61   0.18   0.00   0.00  clBackup
:/var/tmp# ps -ef | cut -c42-100 | sort -nr | head
24290:33 fsflush
4996:25 ./dih-t3ext.exe
2682:48 /t3/data/autonomy/IDOLServer/IDOL-t3ext3/content/co
2669:46 /t3/data/autonomy/IDOLServer/IDOL-t3ext4/content/co
283:57 /etc/init -
57:15 /t3/data/autonomy/IDOLServer/IDOL-t3ext5/content/cont
55:32 /opt/galaxy/Base/cvd
49:42 ./AutonomyIDOLServer-t3ext5.exe
29:31 /opt/galaxy/iDataAgent/clBackup -child 23666 -j 20676
24:53 ./AutonomyIDOLServer-t3ext3.exe

Though application team has restarted content.exe, still it showing big. From stats if I calculate, I do not see if it is consuming 90%
# 2  
Old 09-22-2011
From top output for the Memory you see: Memory: 16G real, 1912M free... would look like almost 90%...
Since we dont know the configuration of your system it will be difficult to say more...
(e.g. is is /tmp swap? ...)
# 3  
Old 09-22-2011
Thanks vbe for replying. Here is the configuration of my system
Code:
:/# prtdiag -v | head -20
System Configuration: Sun Microsystems  sun4u Sun Fire V1280
System clock frequency: 150 MHZ
Memory size: 16384 Megabytes
======================================= CPUs =======================================
                   E$          CPU                  CPU    Temperature
CPU      Freq      Size        Implementation       Mask    Die   Amb.  Status      Location
-------  --------  ----------  -------------------  -----   ----  ----  ------      --------
      0  1200 MHz  8MB         SUNW,UltraSPARC-III+  6.0     42C   24C  online      SB0/P0
      1  1200 MHz  8MB         SUNW,UltraSPARC-III+  6.0     43C   24C  online      SB0/P1
      2  1200 MHz  8MB         SUNW,UltraSPARC-III+  6.0     42C   23C  online      SB0/P2
      3  1200 MHz  8MB         SUNW,UltraSPARC-III+  6.0     41C   24C  online      SB0/P3
      8  1200 MHz  8MB         SUNW,UltraSPARC-III+  6.0     41C   24C  online      SB2/P0
      9  1200 MHz  8MB         SUNW,UltraSPARC-III+  6.0     41C   25C  online      SB2/P1
     10  1200 MHz  8MB         SUNW,UltraSPARC-III+  6.0     42C   24C  online      SB2/P2
     11  1200 MHz  8MB         SUNW,UltraSPARC-III+  6.0     41C   24C  online      SB2/P3
==================================== IO Devices ====================================
Bus   Freq      Slot +  Name +
Type  MHz       Status  Path                          Model
:/# swap -l
swapfile             dev  swaplo blocks   free
/dev/vx/dsk/bootdg/swapvol 273,96001     16 49160240 49152944
:/# df -h /tmp
Filesystem             size   used  avail capacity  Mounted on
swap                   5.0G     8K   5.0G     1%    /tmp
:/# vmstat 5 5
 kthr      memory            page            disk          faults      cpu
 r b w   swap  free  re  mf pi po fr de sr s0 s1 s3 sd   in   sy   cs us sy id
 0 0 0 30301712 2887176 378 334 2658 1 1 0 0 4 4  0  0  331  392  260 11  2 87
 0 0 0 27608800 1589808 552 47 11535 0 0 0 0 0 0  0  0 1128 5540 1643 66  4 30
 0 0 0 27608784 1589616 1162 80 14855 0 0 0 0 0 0 0  0 1097 4885 1332 57  5 38
 0 0 0 27608816 1589440 718 45 16133 0 0 0 0 9 9  0  0 1183 3962 1330 63  5 32
 0 0 0 27608768 1589704 221 66 5230 2 2 0 0 0  0  0  0  641 5210 1028 41  2 57
:/# mpstat 5 5
CPU minf mjf xcal  intr ithr  csw icsw migr smtx  srw syscl  usr sys  wt idl
  0   74   6   37    82   77   87    7   14   18    0    63   20   3   4  74
  1   41   3   41    30   23    5    5   15   17    0    75    8   2   2  88
  2   26   2   79     7    1   42    4   14   15    0    77    7   1   1  90
  3   24   1   21    77   65    3    2   20   18    0    15    7   2   1  90
  8   82   3   88    68   59   41    7   20   22    0    31   14   5   2  79
  9   39   3   92    54   47   14    5   12   20    0    19   12   2   2  84
 10   23   2   10     7    1   60    3   10   18    0    22   10   1   1  88
 11   24   1   34     6    1    8    2   16   15    0    90    8   1   1  90

# 4  
Old 09-22-2011
I don't know if it will show anything on Solaris 9, but check this:
Code:
echo "::memstat" | mdb -k

# 5  
Old 09-22-2011
Bartus11, here is the output
Code:
:/# echo "::memstat" | mdb -k
Page Summary                Pages                MB  %Tot
------------     ----------------  ----------------  ----
Kernel                     573081              4477   29%
Anon                       709639              5544   35%
Exec and libs               17818               139    1%
Page cache                 536933              4194   27%
Free (cachelist)           170492              1331    8%
Free (freelist)               329                 2    0%
Total                     2008292             15689

# 6  
Old 09-22-2011
As you can see in the output 4GB of physical memory are allocated to page cache. You don't have to worry about your applications running out of memory. If available RAM runs short, Solaris will give back some of that page cache for use for applications.
This User Gave Thanks to bartus11 For This Post:
# 7  
Old 09-22-2011
Thanks Bartus.
But can we know, what is consuming so much memory ? Though Solaris will give page cache, but still Big Brother keeps complaining about high physical memory usage and once it crosses threshold value of 90%, it keep generating ticket.
Regards
Login or Register to Ask a Question

Previous Thread | Next Thread

10 More Discussions You Might Find Interesting

1. Shell Programming and Scripting

High cpu usage

I have created one script and i have added it into cron to run after 10 mins. However I have noted that whenever that script runs, It causes CPU utilization of server to increase about 10-20 % I have rechecked script and there is no way i can make changes, Script contain only 2-3 commands. So... (4 Replies)
Discussion started by: Nakul_sh
4 Replies

2. Red Hat

CPU is high

Hi , We found CPU is high due to python process .Is this something that Oracle team should look on or Unix team has to work on it ?Could you please advise use of python process ? top - 12:03:03 up 43 days, 15:11, 5 users, load average: 1.53, 1.33, 1.23 Tasks: 126 total, 3 running, 123... (12 Replies)
Discussion started by: Maddy123
12 Replies

3. Red Hat

High CPU Utilization

Hi Experts, I need to understand few basic things regarding top command result from one of the node i have collected: Cpu0 : 4.6%us, 2.0%sy, 0.0%ni, 91.4%id, 1.3%wa, 0.3%hi, 0.3%si, 0.0%st Cpu1 : 0.0%us, 0.3%sy, 0.0%ni, 99.7%id, 0.0%wa, 0.0%hi, 0.0%si, 0.0%st Cpu2 : ... (5 Replies)
Discussion started by: mackjack87
5 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. Shell Programming and Scripting

what would a script include to find CPU's %system time high and user time high?

Hi , I am trying to :wall: my head while scripting ..I am really new to this stuff , never did it before :( . how to find cpu's system high time and user time high in a script?? thanks , help would be appreciated ! :) (9 Replies)
Discussion started by: sushwey
9 Replies

6. AIX

High Runqueue (R) LOW CPU LOW I/O Low Network Low memory usage

Hello All I have a system running AIX 61 shared uncapped partition (with 11 physical processors, 24 Virtual 72GB of Memory) . The output from NMON, vmstat show a high run queue (60+) for continous periods of time intervals, but NO paging, relatively low I/o (6000) , CPU % is 40, Low network.... (9 Replies)
Discussion started by: IL-Malti
9 Replies

7. Red Hat

apache high cpu load on high traffic

i have a Intel Quad Core Xeon X3440 (4 x 2.53GHz, 8MB Cache, Hyper Threaded) with 16gig and 1tb harddrive with a 1gb port and my apache is causing my cpu to go up to 100% on all four cores heres my http.config <IfModule prefork.c> StartServers 10 MinSpareServers 10 MaxSpareServers 15... (4 Replies)
Discussion started by: awww
4 Replies

8. UNIX for Advanced & Expert Users

high cpu utilization

good morning. just wanted to ask if there's a way to check what causes the high cpu utilization of a server for the past 2 months? My jffnms report resulted to high utilization for a specific server last month. is there a way to check via a command line? thanks (9 Replies)
Discussion started by: lhareigh890
9 Replies

9. UNIX for Dummies Questions & Answers

cpu, memory and virtual memory usage

Hi All, Does anyone know what the best commands in the UNIX command line are for obtaining this info: current CPU usage memory usage virtual memory usage preferably with date and time parameters too? thanks ocelot (4 Replies)
Discussion started by: ocelot
4 Replies

10. Solaris

High CPU Utilization

Good morning, I need some help figuring out what's eating up my cpu. My application can't get enough cpu to do its job. this is a sunfire V440 2CPU's at 1/593 GHZ with 8GB of memory. In the morning hours the box is at less than 3%. I can't figure out what else is using the CPU. We use foglight and... (2 Replies)
Discussion started by: bbouhaik
2 Replies
Login or Register to Ask a Question