21.02.2013 Views

AIX 5L Problem Determination - IBM Redbooks

AIX 5L Problem Determination - IBM Redbooks

AIX 5L Problem Determination - IBM Redbooks

SHOW MORE
SHOW LESS

You also want an ePaper? Increase the reach of your titles

YUMPU automatically turns print PDFs into web optimized ePapers that Google loves.

Do not extend a paging space logical volume into multiple physical volumes. If a<br />

paging space logical volume is spread over multiple physical volumes, you will<br />

not be spreading paging activity across all the physical volumes. If you want to<br />

allocate space for paging on a physical volume that does not already have a<br />

paging space logical volume, create a new paging space logical volume on that<br />

physical volume.<br />

For best system performance, put paging space logical volumes on physical<br />

volumes that are each attached to a different disk controller.<br />

7.5.2 Determining if more paging space is needed<br />

Allocating more paging space than necessary results in unused paging space<br />

that is simply wasted disk space. If you allocate too little paging space, a variety<br />

of negative symptoms may occur on your system. To determine how much<br />

paging space is needed, use the following guidelines:<br />

► Enlarge paging space if any of the following messages appear on the console<br />

or in response to a command on any terminal:<br />

INIT: Paging space is low<br />

ksh: cannot fork no swap space<br />

Not enough memory<br />

Fork function failed<br />

fork () system call failed<br />

Unable to fork, too many processes<br />

Fork failure - not enough memory available<br />

Fork function not allowed. Not enough memory available.<br />

Cannot fork: Not enough space<br />

► Enlarge paging space if the %Used column of the lsps -s output is greater<br />

than 80.<br />

Use the iostat, vmstat, and lsps commands to determine if you need to make<br />

changes regarding paging space logical volumes:<br />

# iostat<br />

# vmstat<br />

# lsps<br />

If you wish to remove a paging space from the system or reduce the size of a<br />

paging space, this should be performed in two steps. The first step in either case<br />

is to change the paging space so that it is no longer automatically used when the<br />

system starts. This is done with the chps command. For example:<br />

# chps -a n paging00<br />

Chapter 7. LVM, file system, and disk problem determination 167

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!