Aix 5.2 increasing the paging space - How to?

Hi all  - I'm having some memory issues where I'm running out of paging space.  I'm not sure if I need to add more ram to the server.  Or if I can get by, by increasing the paging space. I'm hoping I can increase the paging space.   I know I can do this using SMIT.  But I'm not sure if I need to add allocate some space to a logical volume group first.  I have a lot of unallocated free space that can be added if need be. Or if I can simply plug in a number using smitty mkps.  I have a 1 gb ram module in the system,  but it looks like the system only recognizes 900 mb based on the number the bootinfo -r command returns. And it looks like I've got 1.5 gb of paging space.  I have a pair of 72 gb drives that are mirrored.

Based on the output of the commands I've ran below,  what can I safely increase my paging space to, and what number do I need to plug in via smitty mkps?
Or do I need to add ram the system and then increase the paging space?


# lsvg -l rootvg
LV NAME             TYPE       LPs   PPs   PVs  LV STATE      MOUNT POINT
hd5                 boot       1     2     2    closed/syncd  N/A
hd6                 paging     12    24    2    open/syncd    N/A
hd8                 jfslog     1     2     2    open/syncd    N/A
hd4                 jfs        2     4     2    open/syncd    /
hd2                 jfs        29    58    2    open/syncd    /usr
hd9var              jfs        4     8     2    open/syncd    /var
hd3                 jfs        13    26    2    open/syncd    /tmp
hd1                 jfs        10    20    2    open/syncd    /home
hd10opt             jfs        6     12    2    open/syncd    /opt
fwdump              jfs        2     4     2    open/syncd    /var/adm/ras/platf
exportlv            jfs2       80    80    1    open/syncd    /export
lv00                jfs        42    42    1    closed/syncd  N/A
loglv00             jfs2log    1     1     1    open/syncd    N/A

# lsvg rootvg
VOLUME GROUP:   rootvg                   VG IDENTIFIER:  00c011fa00004c000000010
VG STATE:       active                   PP SIZE:        128 megabyte(s)
VG PERMISSION:  read/write               TOTAL PPs:      1092 (139776 megabytes)
MAX LVs:        256                      FREE PPs:       809 (103552 megabytes)
LVs:            13                       USED PPs:       283 (36224 megabytes)
OPEN LVs:       11                       QUORUM:         1
TOTAL PVs:      2                        VG DESCRIPTORS: 3
STALE PVs:      0                        STALE PPs:      0
ACTIVE PVs:     2                        AUTO ON:        yes
MAX PPs per PV: 1016                     MAX PVs:        32
LTG size:       128 kilobyte(s)          AUTO SYNC:      no
HOT SPARE:      no                       BB POLICY:      relocatable

# bootinfo -r

# lsattr -El sys0 | grep realmem
realmem         901120             Amount of usable physical memory in Kbytes

# lsps -a
Page Space      Physical Volume   Volume Group    Size %Used Active  Auto  Type
hd6             hdisk3            rootvg        1536MB    86     yes   yes    lv

# lsps -s
Total Paging Space   Percent Used
      1536MB              86%
Who is Participating?
1) It seems that you really need some more RAM.
2) Independently from the above, you should increase the paging space also. A rule of thumb says that one should have three to four times the amount of memory as paging space.
3) There is way enough room in the rootvg to increase the paging space. And there is no need to create a new paging volume. Just enlarge hd6. I would recommend using 4 GB, which would mean having 32 logical partitions instead of now 12. Keep in mind that your rootvg volumes (including the page space) are mirrored, so the increase will cost you 40 additional physical partitions. That's no problem, however, as your rootvg is big enough.
4) To accomplish this, either do
smitty chps -> hd6 -> NUMBER of additional logical partitions -> 20 -> <Enter>       OR
chps -s 20 hd6
smitty or chps will do all what's needed, so you don't have to do anything more.
5) As for the "realmem         901120"  - this sounds a bit strange, indeed.
Run diagnostics on your RAM by doing the following -
smitty diag -> Current Shell Diagnostics -> <Enter> -> Diagnostic Routines -> System Verification -->
Move the cursor to mem0 -> <Enter> -> <F7>
If the result is a message other than "No trouble was found." you should contact your hardware support people to perform additional checks.
Good luck!
mobotAuthor Commented:
Thanks a bunch wmp.  chps -s 20 hd6  worked like a charm.  I ran diags against the mem as you suggested and it did report back that "No Trouble was found."   I'll be contacting our hardware support people.
Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

All Courses

From novice to tech pro — start learning today.