The UNIX and Linux Forums  

Go Back   The UNIX and Linux Forums > OS Specific Forums > AIX
Google UNIX.COM


AIX AIX is IBM's industry-leading UNIX operating system that meets the demands of applications that businesses rely upon in today's marketplace.

More UNIX and Linux Forum Topics You Might Find Helpful
Thread Thread Starter Forum Replies Last Post
man pages in AIX dlynch912 AIX 5 10-19-2005 05:04 AM
man pages Nisha UNIX for Dummies Questions & Answers 4 06-25-2002 06:53 PM
Man Pages For HP-UX kapilv News, Links, Events and Announcements 0 05-05-2002 11:56 AM
man pages bensky UNIX for Dummies Questions & Answers 3 03-01-2002 02:37 AM
Man pages DPAI UNIX for Dummies Questions & Answers 2 02-17-2002 05:08 PM

Reply
 
Submit Tools LinkBack Thread Tools Display Modes
  #1 (permalink)  
Old 04-25-2008
Registered User
 

Join Date: Jul 2004
Location: morocco
Posts: 32
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!Reddit! Stumble this Post!Spurl this Post!
AIX : 0 pages swappes

hi admin,

How to fix a problem of alerts of this type?:

"0 pages swapped"

thanks
Reply With Quote
Forum Sponsor
  #2 (permalink)  
Old 04-25-2008
Bughunter Extraordinaire
 

Join Date: May 2005
Location: In the leftmost byte of /dev/kmem
Posts: 932
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!Reddit! Stumble this Post!Spurl this Post!
What has issued this alert? Where did it appear?

Please post the output of "lsps -a" and "lsattr -El mem0" to further examine the problem.

bakunin
Reply With Quote
  #3 (permalink)  
Old 04-25-2008
Registered User
 

Join Date: Jul 2004
Location: morocco
Posts: 32
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!Reddit! Stumble this Post!Spurl this Post!
it's a patrol alert!

what can i do when i see with topas that i have faults of 7000 and 0 in PsgpIn and PsgpOut with some activity on PageIn and PageOut.
Is it normal situation?

thanks for reply
Reply With Quote
  #4 (permalink)  
Old 04-28-2008
Shrek's Avatar
Registered User
 

Join Date: Dec 2007
Location: India
Posts: 9
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!Reddit! Stumble this Post!Spurl this Post!
Hey hmaiida,

High paging faults is known as thrashing in UNIX enviroments and it's not a normal situation at all. In AIX there are some parameters you can set in order to prevent this behavior. Parameters like maxperm|minperm|maxclient in order to free real memory for specific use of file pages.
Before you go tuning anything, call IBM's AIX Support and talk to them regarding this.

Do post the output of below commands:-
Code:
#lsps -a 

#vmo -a | egrep "maxperm|minperm|maxclient"
And by the way whats your real memory size?
Reply With Quote
  #5 (permalink)  
Old 04-28-2008
Bughunter Extraordinaire
 

Join Date: May 2005
Location: In the leftmost byte of /dev/kmem
Posts: 932
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!Reddit! Stumble this Post!Spurl this Post!
Here is a quick-and-dirty first estimation of a possible memory shortage:

Issue "svmon -G" and compare the numbers marked bold in the following example:

Code:
               size      inuse       free        pin    virtual
memory      1572864    1557689      15175     389150    1311648
pg space    2097152     427109

               work       pers       clnt
pin          388839          0        311
in use       977383          0     580306

PageSize   PoolSize      inuse       pgsp        pin    virtual
s   4 KB          -    1448041     427109     318814    1202000
m  64 KB          -       6853          0       4396       6853
The memory is measured in 4k-pages here. The ~1.5 millions means 6GB real memory therefore. Then compare the "inuse" number with the "virtual" number and if the "virtual" number is significantly higher the difference is about the memory you are lacking. i.e 1.5 mio "inuse" versus 2 mio "virtual" means you need to add about 500k x 4k ~= 2GB memory.

Again, this is only a QUICK and ROUGH estimation, not an in-depth analysis. Such an analysis might well reveal a different number.

Another place to look is "vmstat -v", especially for machines with a high I/O-workload. Have a look at the lines marked bold in the following example:

Code:
              1572864 memory pages
              1487316 lruable pages
                15273 free pages
                    1 memory pools
               389150 pinned pages
                 80.0 maxpin percentage
                 20.0 minperm percentage
                 80.0 maxperm percentage
                 37.0 numperm percentage
               551288 file pages
                  0.0 compressed percentage
                    0 compressed pages
                 37.0 numclient percentage
                 80.0 maxclient percentage
               551288 client pages
                    0 remote pageouts scheduled
                17676 pending disk I/Os blocked with no pbuf
               151067 paging space I/Os blocked with no psbuf
                 2484 filesystem I/Os blocked with no fsbuf
                    0 client filesystem I/Os blocked with no fsbuf
               474712 external pager filesystem I/Os blocked with no fsbuf
                    0 Virtualized Partition Memory Page Faults
                 0.00 Time resolving virtualized partition memory page faults
These are totals therefore repeat that command every minute or so and observe the change in these numbers. If they grow at a very fast rate the system has not enough memory to spare for buffered disk-I/O. Probably you will notice a very bad filesystem performance because of this. Usually this is due to a very constrained memory situation and while you might somewhat deescalate the situation by some tuning you will probably need more memory to solve tis problem.

I hope this helps.

bakunin
Reply With Quote
Google UNIX.COM
Reply

Thread Tools
Display Modes


The 50 most popular UNIX and Linux searches.
Google Search Cloud for The UNIX and Linux Forums
421 service not available, remote server has closed connection ^m automate ftp autosys awk trim bash eval bash for loop boot: cannot open kernel/sparcv9/unix command copy/move folder in unix couldn't set locale correctly curses.h cut command in unix find grep find mtime find null character in a unix file grep multiple lines grep or grep recursive gzip password hp-ux ifconfig inaddr_any inappropriate ioctl for device lynx javascript mailx attachment mget mtime perl array length ping port remove first character from string in k shell replace space by comma , perl script scp recursive segmentation fault(coredump) sftp script snoop unix stale nfs file handle syn_sent tar exclude tar extract to folder test: argument expected unix unix .profile unix forum unix forums unix internals unix interview questions unix mtime unix simulator unix.com vi substitute while loop within while loop shell script


All times are GMT -7. The time now is 02:17 AM.


Powered by: vBulletin, Copyright ©2000 - 2006, Jelsoft Enterprises Limited.
The UNIX and Linux Forums Content Copyright ©1993-2008 The CEP Blog All Rights Reserved -Ad Management by RedTyger Visit The Global Fact Book

Content Relevant URLs by vBSEO 3.2.0

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101