The UNIX and Linux Forums  
Hello and Welcome from United States to the UNIX and Linux Forums! Thank You for Visiting and Joining Our Global Community.

Go Back   The UNIX and Linux Forums > Operating Systems > SUN Solaris
.
google unix.com



SUN Solaris The Solaris Operating System, usually known simply as Solaris, is a free Unix-based operating system introduced by Sun Microsystems .

More UNIX and Linux Forum Topics You Might Find Helpful
Thread Thread Starter Forum Replies Last Post
High-performance event-driven executable UML? iBot Complex Event Processing RSS News 0 06-20-2008 09:50 PM
lpr- how to print from page to page naamas03 Shell Programming and Scripting 4 12-26-2007 06:30 AM
Page Fault very high Ahmad SUN Solaris 2 05-06-2006 03:54 PM
High Page Faults daviguez AIX 1 08-09-2005 08:48 AM
PHP:page.php?id= ???? perleo Shell Programming and Scripting 1 10-01-2003 09:29 AM

Closed Thread
English Japanese Spanish French German Portuguese Italian Dutch Swedish Russian Norwegian Hungarian Hebrew Danish Powered by Powered by Google
 
LinkBack Thread Tools Search this Thread Rate Thread Display Modes
  #1 (permalink)  
Old 11-13-2008
srage srage is offline
Registered User
  
 

Join Date: Oct 2006
Posts: 33
High Page In and Executable page In

Hi,

Currently I'm experience very high page ins on my system running on solaris 10.

From vmstat, the page ins figure is very high, further drill down shows the page ins are from file system and occassional spike in executable page ins.

Details as follow:

Code:
oracle@perch:/files>> vmstat 5
 kthr      memory            page            disk          faults      cpu
 r b w   swap     free   re   mf     pi      po fr de sr m1 m1 m2 m2   in   sy   cs us sy id
 3 0 0 7268376 5110432 1041 2719 729590752414 753 753 0 0 6 0 6 0 7766 100603 12925 56 19 25
 5 0 0 11818608 9292016 451 918 13573290886586 3 3 0 0 2 0 1 0 10952 161811 14018 80 20 0
 2 0 0 11818432 9292960 385 792 13459633370179 2 2 0 0 1 0 2 0 10053 165300 13082 81 19 1
 5 0 0 11819720 9294472 322 623 12844506325972 0 0 0 0 1 0 1 0 11025 162384 14302 81 19 0
 3 0 0 11819400 9294664 468 1132 12864149119550 0 0 0 0 5 0 5 0 10555 163452 13193 78 21 1
 5 0 0 11818912 9295784 430 926 11488048016240 3 3 0 0 1 0 1 0 10935 158379 14086 80 20 0
 2 0 0 11819560 9296824 381 906 12037450017951 0 0 0 0 1 0 1 0 10671 165815 13422 81 19 0
 5 0 0 11819968 9298064 440 863 13209752927129 0 0 0 0 1 0 1 0 11219 158202 14557 80 20 0
 6 0 0 11819776 9297168 500 953 12490715053962 2 2 0 0 2 0 1 0 11777 157736 15521 80 20 0
Code:
oracle@perch:/files>> vmstat -p 5
     memory           page          executable      anonymous      filesystem
   swap  free  re  mf  fr  de  sr  epi  epo  epf  api  apo  apf  fpi  fpo  fpf
 7268296 5110360 1041 2719 753 0 0 11811407681 0 0  0    0    0 717270832025 753 753
 11820496 9292224 2055 2415 0 0 0    0    0    0    0    0    0 52087519922399 0 0
 11822032 9293648 2120 2163 5 0 0    0    0    0    0    0    0 55982485259240 5 5
 11824408 9296288 2414 2562 2 0 0    0    0    0    0    0    0 54414466418190 2 2
 11824328 9296576 2698 2719 0 0 0    0    0    0    0    0    0 52983811694559 0 0
 11822288 9293912 2332 1951 3 0 0    0    0    0    0    0    0 49271214261636 3 3
 11820448 9291312 2509 1115 0 0 0   18    0    0    0    0    0 48591187881736 0 0
 11817528 9294472 2480 871 2 0  0    0    0    0    0    0    0 54421309283685 2 2
 11820304 9304032 2429 860 8837 0 0 164187898623 0 0 0   0    0 47628172925439 8837 8837
 11814208 9413840 2067 860 29007 0 0 0    0    0    0    0    0 43272384005459 29009 29007
 11815744 9486424 2333 860 835 0 0   0    0    0    0    0    0 38585601084343 837 835
What area should we be looking into? Our swap space is being consumed steadily and reducing by the day. Not sure if it's because of runaway process.

Any opinion is appreciated.

Thanks in advance
ET.

Last edited by jim mcnamara; 11-15-2008 at 01:49 PM.. Reason: Moved to SUN forum
  #2 (permalink)  
Old 11-16-2008
Perderabo's Avatar
Perderabo Perderabo is offline Forum Staff  
Unix Daemon
  
 

Join Date: Aug 2001
Location: Ashburn, Virginia
Posts: 9,111
So, for example, you have 13,209,752,927,129 page-in's in a 5 second period? That's a little bit more powerful than the systems I work with. Please tell us about your system. It's gotta be ccNUMA, but how many cpu's?

Well, since you have enough disks to supply 2.6 quadrillion pages in a second, you can afford some more swap space. So just add a few TB more swap.
  #3 (permalink)  
Old 11-16-2008
srage srage is offline
Registered User
  
 

Join Date: Oct 2006
Posts: 33
OS: Solaris 10

Quote:
oracle@perch:/u01/usr/lss/mdw>> prtdiag |more
System Configuration: Sun Microsystems sun4u Sun Fire 6800
System clock frequency: 150 MHz
Memory size: 16384 Megabytes

========================= CPUs ===============================================

CPU Run E$ CPU CPU
FRU Name ID MHz MB Impl. Mask
---------- ------- ---- ---- ------- ----
/N0/SB2/P0 8 1200 8.0 US-III+ 11.0
/N0/SB2/P1 9 1200 8.0 US-III+ 11.0
/N0/SB2/P2 10 1200 8.0 US-III+ 11.0
/N0/SB2/P3 11 1200 8.0 US-III+ 11.0
/N0/SB5/P0 20 1200 8.0 US-III+ 11.0
/N0/SB5/P1 21 1200 8.0 US-III+ 11.0
/N0/SB5/P2 22 1200 8.0 US-III+ 11.0
/N0/SB5/P3 23 1200 8.0 US-III+ 11.0

========================= Memory Configuration ===============================

Logical Logical Logical
Port Bank Bank Bank DIMM Interleave Interlea
ve
FRU Name ID Num Size Status Size Factor Segment
------------- ---- ---- ------ ----------- ------ ---------- --------
--
/N0/SB2/P0/B0 8 0 1024MB pass 512MB 8-way 0
/N0/SB2/P0/B0 8 2 1024MB pass 512MB 8-way 0
/N0/SB2/P1/B0 9 0 1024MB pass 512MB 8-way 0
/N0/SB2/P1/B0 9 2 1024MB pass 512MB 8-way 0
/N0/SB2/P2/B0 10 0 1024MB pass 512MB 8-way 0
/N0/SB2/P2/B0 10 2 1024MB pass 512MB 8-way 0
/N0/SB2/P3/B0 11 0 1024MB pass 512MB 8-way 0
/N0/SB2/P3/B0 11 2 1024MB pass 512MB 8-way 0
/N0/SB5/P0/B0 20 0 1024MB pass 512MB 8-way 1
/N0/SB5/P0/B0 20 2 1024MB pass 512MB 8-way 1
/N0/SB5/P1/B0 21 0 1024MB pass 512MB 8-way 1
/N0/SB5/P1/B0 21 2 1024MB pass 512MB 8-way 1
/N0/SB5/P2/B0 22 0 1024MB pass 512MB 8-way 1
/N0/SB5/P2/B0 22 2 1024MB pass 512MB 8-way 1
/N0/SB5/P3/B0 23 0 1024MB pass 512MB 8-way 1
/N0/SB5/P3/B0 23 2 1024MB pass 512MB 8-way 1
I'm trying to look at why the swap space is being consumed consistently, and it isn't released back to the system. At this rate, it's just a matter of time the swap goes out again. Our bomb just exploded just week, and bring our oracle instance down due to out of /tmp forcing a restart of the instance which releases the memory.
  #4 (permalink)  
Old 11-16-2008
reborg's Avatar
reborg reborg is offline Forum Staff  
Administrator
  
 

Join Date: Mar 2005
Location: Ireland
Posts: 4,206
Are you using ZFS?
  #5 (permalink)  
Old 11-16-2008
Perderabo's Avatar
Perderabo Perderabo is offline Forum Staff  
Unix Daemon
  
 

Join Date: Aug 2001
Location: Ashburn, Virginia
Posts: 9,111
Actually I was trying to be facetious. Numbers like that make me think that vmstat must be broken. If I ignore the pi and assume that the rest of the numbers are valid, I don't really see any problem. You have swap and free physical memory. Page-outs are low and so is the scan rate. So pi is impossible and everything else looks good. I guess I would look for a vmstat patch though.

But if swap is disappearing, do a "df -k". /tmp uses swap for sure and I think maybe /var/run or something like that does as well. Could /tmp be eating your swap area? If it's a program, the size as reported by ps would be growing over time. Also I often see people over-allocate shared memory to Oracle. So when Oracle is running I do a "ipcs -mb" to look at that.
  #6 (permalink)  
Old 11-16-2008
jlliagre jlliagre is offline Forum Advisor  
ɹǝsn sıɹɐlosuǝdo
  
 

Join Date: Dec 2007
Location: Paris
Posts: 1,382
Yes, these pi and fpi numbers can't be but bogus. 20000 TeraBytes per second is simply unrealistic.

Is your system up to date with patches ?

Especially one that fix a Veritas bug:

Huge PI in vmstat

Last edited by jlliagre; 11-16-2008 at 10:30 PM..
  #7 (permalink)  
Old 11-17-2008
srage srage is offline
Registered User
  
 

Join Date: Oct 2006
Posts: 33
Quote:
Originally Posted by jlliagre View Post
Yes, these pi and fpi numbers can't be but bogus. 20000 TeraBytes per second is simply unrealistic.

Is your system up to date with patches ?

Especially one that fix a Veritas bug:

Huge PI in vmstat
yea, that's what I'm looking at currently too. Vxfs 4.1 bug.

@reborg, it's running on vxfs. which may trigger the the high pi bogus numbers.

I have another concern is the disappearing swap space. I can see clearly that the free swap space is dropping by the day, but unable to nail down the culprit. any suggestion how should I approach it?

thanks for the views all.
Sponsored Links
Closed Thread

Bookmarks

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On




All times are GMT -4. The time now is 06:06 AM.


Powered by: vBulletin, Copyright ©2000 - 2006, Jelsoft Enterprises Limited. Language Translations Powered by .
vBCredits v1.4 Copyright ©2007 - 2008, PixelFX Studios
The UNIX and Linux Forums Content Copyright ©1993-2009. All Rights Reserved.Ad Management by RedTyger

Content Relevant URLs by vBSEO 3.2.0