Advertisement

11.02.2005 at 09:43AM PST, ID: 21616873
[x]
Attachment Details
[x]
The Solution Rating System

With so many solutions, how can you tell which solutions are most likely to help you and which ones are not? To provide you with a tool to use, we rate our solutions based on various elements that most accurately determine if a solution is a quality solution. To explain what factors affect the solution rating, here are the elements we take into consideration when formulating our solution rating.

  • The Grade of the Solution
  • The Zone Rank of the Expert Providing the Solution
  • The Number of Author and Expert Comments
  • The Number of Experts Contributing
  • The Feedback of the Community

Your Input Matters
Because of the way the system is set up, the most important variable in this equation is you. As a member of Experts Exchange, you are able to cast your vote on the quality of the solutions in regard to how complete, accurate, helpful and easy to understand each solution is. When you provide your feedback, each rating is adjusted accordingly. So, if you see a solution that has a poor rating that you think is a good solution, let us know by rating it. As you do, the rating will be adjusted and will become more accurate for other members of our site.

If you have any suggestions that you would like to make for our rating system, please ask a question in the Suggestions Zone of Community Support.

Thank you!

Physical Memory usage  - AIX server
Zone: IBM AIX Unix
Tags: aix, memory, usage
Experts,
We have AIX 5.3 running on a standalone box with 4 GB RAM.
From past couple of weeks the physical memory has been shooting high, 100% many times and the system is paging highly.
There is nothing unusual running apart from regular applications which have been there for long.

here is svmon -G:
# svmon -G
               size      inuse       free        pin    virtual
memory      1048576    1048277        299     243096    1166071
pg space    3481600     547806

               work       pers       clnt      lpage
pin          243096          0          0          0
in use       997529          0      50748          0

also, topas command gives the top "what processes"? memory or cpu?

Please help me figure out the memory problems urgently.


Thank you
Max.
Start your free trial to view this solution
Question Stats
Zone: OS
Question Asked By: MaxAix
Solution Provided By: cpc2004
Participating Experts: 3
Solution Grade: A
Views: 556
Translate:
Loading Advertisement...
11.02.2005 at 01:42PM PST, ID: 15212322

Rank: Master

All comments and solutions are available to Premium Service Members only.

Start your 7 day free trial and see for yourself why Experts Exchange is the easiest and most proven technology resource in the world. Get Started

Already a member? Login to view this solution.

 
11.02.2005 at 10:11PM PST, ID: 15215028

Rank: Guru

All comments and solutions are available to Premium Service Members only.

Start your 7 day free trial and see for yourself why Experts Exchange is the easiest and most proven technology resource in the world. Get Started

Already a member? Login to view this solution.

 
11.02.2005 at 10:12PM PST, ID: 15215029

Rank: Guru

All comments and solutions are available to Premium Service Members only.

Start your 7 day free trial and see for yourself why Experts Exchange is the easiest and most proven technology resource in the world. Get Started

Already a member? Login to view this solution.

 
11.07.2005 at 09:16AM PST, ID: 15240569

All comments and solutions are available to Premium Service Members only.

Start your 7 day free trial and see for yourself why Experts Exchange is the easiest and most proven technology resource in the world. Get Started

Already a member? Login to view this solution.

 
11.15.2005 at 06:47AM PST, ID: 15295669

Rank: Master

All comments and solutions are available to Premium Service Members only.

Start your 7 day free trial and see for yourself why Experts Exchange is the easiest and most proven technology resource in the world. Get Started

Already a member? Login to view this solution.

 
11.16.2005 at 08:05AM PST, ID: 15304139

All comments and solutions are available to Premium Service Members only.

Start your 7 day free trial and see for yourself why Experts Exchange is the easiest and most proven technology resource in the world. Get Started

Already a member? Login to view this solution.

 
11.16.2005 at 10:10AM PST, ID: 15305267

Rank: Guru

All comments and solutions are available to Premium Service Members only.

Start your 7 day free trial and see for yourself why Experts Exchange is the easiest and most proven technology resource in the world. Get Started

Already a member? Login to view this solution.

 
 
Loading Advertisement...
Microsoft
  • Internet Protocols
  • Applications
  • Development
  • OS
  • Hardware
  • Windows Security
Apple
  • Operating Systems
  • Hardware
  • Programming
  • Networking
  • Software
Internet
  • Search Engines
  • File Sharing
  • WebTrends / Stats
  • Spy / Ad Blockers
  • Web Browsers
  • New Net Users
  • Web Development
  • Chat / IM
  • Anti Spam
  • Web Servers
  • Anti-Virus
  • Email Clients
Gamers
  • Tips
  • Online / MMORPG
  • Puzzle
  • Emulators
  • Action / Adventure
  • Role Playing
  • Consoles
  • Game Programming
  • Strategy
  • Sports
  • Misc
  • Computer Games
Digital Living
  • Hardware
  • New Net Users
  • New Users
  • Software
  • Digital Music
  • Gaming World
  • Home Security
  • Apple
  • Networking Hardware
Virus & Spyware
  • Vulnerabilities
  • IDS
  • Encryption
  • Anti-Virus
  • Operating Systems Security
  • Software Firewalls
  • WebApplications
  • Cell Phones
  • Operating Systems
  • Internet
  • Hardware Firewalls
Hardware
  • Handhelds / PDAs
  • Displays / Monitors
  • Components
  • Networking Hardware
  • Peripherals
  • Laptops/Notebooks
  • Storage
  • Servers
  • Desktops
  • New Users
  • Misc
  • Apple
Software
  • System Utilities
  • Industry Specific
  • Network Management
  • Photos / Graphics
  • Page Layout
  • VMWare
  • Misc
  • Web Development
  • OS
  • CYGWIN
  • Voice Recognition
  • Message Queue
  • Quality Assurance
  • Security
  • Firewalls
  • MultiMedia Applications
  • Development
  • Database
  • Office / Productivity
  • Business Management
  • OS/2 Apps
  • Server Software
  • Internet / Email
ITPro
  • OS
  • Storage
  • Encryption
  • Operating Systems Security
  • Apple Hardware
  • Laptops & Notebooks
  • Servers
  • Networking Hardware
  • Peripherals
  • Devices
  • Displays / Monitors
  • WebTrends / Stats
  • Search Engines
  • Firewalls
  • WebApplications
  • IDS
  • Vulnerabilities
  • Email Clients
  • File Sharing
  • Spy / Ad Blockers
  • Web Browsers
  • Web Servers
  • Networking
  • Anti-Virus
  • Chat / IM
  • Anti Spam
Developer
  • Web Servers
  • Web Browsers
  • Game Programming
  • Dev Tools
  • Industry Specific
  • Office / Productivity
  • Database
  • CYGWIN
  • Web Development
  • Search Engines
  • File Sharing
  • WebTrends / Stats
  • Programming
  • Content Management
  • Application Servers
  • Protocols
Storage
  • Removable Backup Media
  • Storage Technology
  • Servers
  • Grid
  • Remote Access
  • Backup / Restore
  • Misc
  • Hard Drives
OS
  • Miscellaneous
  • Security
  • Development
  • Linux
  • VMWare
  • MainFrame OS
  • Unix
  • Apple
  • OS / 2
  • AS / 400
  • BeOS
  • Microsoft
  • VMS / OpenVMS
Database
  • Oracle
  • Miscellaneous
  • MySQL
  • Software
  • Sybase
  • Contact Management
  • PostgreSQL
  • Data Manipulation
  • Clarion
  • InterSystems Cache
  • Siebel
  • MUMPS
  • OLAP
  • SQLBase
  • SAS
  • GIS & GPS
  • 4GL
  • Berkeley DB
  • DB2
  • Informix
  • Interbase / Firebird
  • FoxPro
  • Reporting
  • LDAP
  • Filemaker Pro
  • MS SQL Server
  • dBase
  • MS Access
Security
  • Misc
  • Web Browsers
  • Software Firewalls
  • Operating Systems Security
  • File Sharing
  • Spy / Ad Blockers
  • Vulnerabilities
  • WebApplications
  • IDS
  • Anti-Virus
  • Encryption
  • Anti Spam
  • Email Clients
  • VPN
  • Chat / IM
Programming
  • Editors IDEs
  • Installation
  • Handhelds / PDAs
  • Multimedia Programming
  • System / Kernel
  • Algorithms
  • Game
  • Signal Processing
  • Project Management
  • Open Source
  • Database
  • Misc
  • Languages
  • Processor Platforms
  • Theory
Web Development
  • Scripting
  • Blogs
  • Web Servers
  • Software
  • Search Engines
  • Web Graphics
  • Images
  • Internet Marketing
  • Images and Photos
  • Components
  • Document Imaging
  • Web Languages/Standards
  • Illustration
  • WebApplications
  • Fonts
  • WebTrends / Stats
  • Authoring
  • Digital Camera Software
  • Miscellaneous
Networking
  • Protocols
  • Apple Networking
  • Network Management
  • Message Queue
  • Application Servers
  • Content Management
  • File Servers
  • Email Servers
  • Misc
  • Java Editors & IDEs
  • Wireless
  • Networking Hardware
  • Backup / Restore
  • System Utilities
  • ISPs & Hosting
  • Web Servers
  • Storage Technology
  • Removable Backup Media
  • Servers
  • Broadband
  • Grid
  • OS / 2
  • Novell Netware
  • Unix Networking
  • Windows Networking
  • Security
  • Telecommunications
  • Operating Systems
  • Linux Networking
Other
  • Community Advisor
  • Lounge
  • Community Support
  • New Net Users
  • Philosophy / Religion
  • Math / Science
  • Miscellaneous
  • URLs
  • Expert Lounge
  • Politics
  • Puzzles / Riddles
Community Support
  • Suggestions
  • New to EE
  • New Topics
  • Community Advisor
  • CleanUp
  • Announcements
  • General
  • Feedback
  • Input
  • EE Bugs
 
11.02.2005 at 01:42PM PST, ID: 15212322

Rank: Master

svmon -Pu
Assisted Solution
 
11.02.2005 at 10:11PM PST, ID: 15215028

Rank: Guru

AIX manages memory this way - it pre-pages readonly pages to swap, so it can allocate huge amounts of RAM without touching disk.
run vmtune and rise (e.g. ten times ) minfree/maxfree (and add into /etc/inittab for permanent result)
Other way is allocating and touching huge amount of RAM so everything needed pages out and system gets back stable.
Other to do is spreading swap spaces around disks using "smitty lvm"
And now dig into "smitty lvm" and fix your system for good.
 
11.02.2005 at 10:12PM PST, ID: 15215029

Rank: Guru

Like
/usr/samples/kernel/vmtune -f 1200 -F1280
 
11.07.2005 at 09:16AM PST, ID: 15240569
# svmon -G
               size           inuse            free        pin       virtual
memory   1048576    1048277        299     243096    1166071
pg space  3481600     547806
               work       pers       clnt      lpage
pin          243096          0          0          0
in use      997529          0   50748          0

Your system behaves  somewhat strangely. I doubt it has been running the same apps with the same environment and apps parameters as before.
Without further system information it is difficult to give a solid diagnosis, but your svmon -G has told some interesting story:
1. The pinned pages is 243096 -- about 1G RAM is pinned. 1G of memory out of 4G is "taken away" from most processes.
2. When lots memory is used, you expect to see high number of pers and/or clnt pages for file caching, but the pers is 0 and clnt is only 50748 pages or 202M. i.e. No JFS is using the memory. You do have JFS2  (or NFS, CDROM) files but it  is quite small.
3. Now there is 997529 pages of working segment memory.  997529/104856 = 95%. The "computational memory" accounts for 95% of the 4G total memory ... this is very unusual. I would say that the system is using too much memory for working segments.
4. The paging space has 547806 pages in use, that is another 2G of virtual memory (this number may not be exact, as some pages may exist in RAM *and* PS).

Things to check :
1. Who has pinned all those memory? Is it by design or is it a program problem?
    do "ps aux" to catch the big memory user, and then "svmon -P pid" to see all details of the memory usage.
2. The system may have a bad memory leak? Not only unfreed mallocs can cause memory leak. You can have a memory leak (sort of) because of a process stays there and never issues or causes a memory disclaim.
    run "svmon -P pid" every so often to check it out
3. Do you by any chance have the paging space allocation mode changed to early? This could cause increased use of PS.
4. As always, make sure you have installed the latest patches for your OS level. This should have been the #1 suggestion.
5. If you need further assistance, run "svmon -P pid", also run "vmstat -I 2 10" when system is paging heavily, and post the output here.
6. Also do "vmo -a"  and "ioo -a" and attach the output. Please note that "vmtune" is no longer supported on AIX 5.3.


Assisted Solution
 
11.15.2005 at 06:47AM PST, ID: 15295669

Rank: Master

This question help you to understand the storage utlization of an AIX process
http://www.experts-exchange.com/Operating_Systems/AIX_IBMs_UNIX_OS/Q_21431873.html
Accepted Solution
 
11.16.2005 at 08:05AM PST, ID: 15304139
Hey Ghiest and everyone,
you gave me /usr/samples/kernel/vmtune -f 1200 -F1280       two weeks ago.
I correction here, I mentioned we are using AIX 5.3, but actually its 5.2.  Does the vmtune settings and minfree and maxfree settings change.  Right now they are at 120 and 128 respectively.

Does changing minfree/maxfree help?

Thanks,
Max.
 
11.16.2005 at 10:10AM PST, ID: 15305267

Rank: Guru

When there are 120 pages free it cleans 8 pages - 16k  to reach 128 pages
You need to clean more at once to make disk transfers efficient ( at least 64k - 16pages at once )
 
 
20080236-EE-VQP-29