- — HOW-TO: Make Windows 7 Boot Faster
- — TWEAK: Filter Unread Emails in Gmail
- — TIP: Linux Virtual Machine Performance Tweaks
- — HOW-TO: Automated TV Series Downloads Using Raspberry-PI
- — FAQ: Mouse Randomly Freezing in Windows 7
- — TWEAK: Make Torrents Download Faster
FAQ: Cannot Fork: No Swap Space
"There’s No Such Thing As A Silly Question" -- does the cliche sound familiar? In this part of pimp-my-rig reloaded, technical questions are answered. Mail them to me and I will post the answers here. If you have a better answer, by all means share it with us.
There are times when you run into uncharted territory, when you least expect it. A host was failing to execute commands, giving a no swap space error even though swap space was only 9% used. Commands fails to execute but work intermitently.
This happened on an IBM server running AIX 5.3.
All of our efforts to resolve this issue failed, so we called the vendor -- IBM. The error manifests itself as:
ksh: cannot fork: no swap space
user@host# lsps -s
Total Paging Space Percent Used
Here is a solution to the problem as provided from IBM. It is a known issue from APAR IY89941 fixed at 5.3 TL5 (bos.mp 22.214.171.124) and above. The root cause is that you are running out of 64K pages in the VMM and there is code bug when this type of scenario occurs.
The work around is to disable 64K page size support (until upgrade to higher levels of AIX). To disable run command:
root@host# vmo -r -o vmm_mpsize_support=0
This change is not dynamic. A reboot is required after making this change.