How much *unallocated* space is there? The "Free PPs" line in "lsvg rootvg" (or another VG if you have more than rootvg - see plain "lsvg"). If there's no unallocated space you can't add more paging space. If that's true, but you DO have allocated-but-unused space on a partition (free space according to "df") AND the partition's filesystem is JFS2 (which I believe is default in AIX 5.3), you CAN shrink a partition with "chfs -a size=-1G /partition", Then you can try adding 1GB swap again.
If this is an LPAR, log in to the HMC (or IVM console) and see if the physical machine has RAM available to add to the LPAR, and if so, add it then shut down and re-boot the LPAR.
Adding swap space is like a Hello Kitty band-aid on a broken heart: may help a little, but is attacking the symptoms and not the cause. Swapping to disk is tons slower than RAM, so when you run out of RAM your performance slows to a crawl, and adding more *may* prevent it from running out of memory, but more swap will probably only prolong its demise. I would try to reduce the memory usage on this system, starting with whatever its users are doing to use so much RAM (AIX doesn't use that much by itself!)
Last edited by AlucardZero; 11-25-2010 at 06:39 AM.
|