My Oracle Support Banner

How to Create an Auxiliary SWAP File Without Reinstalling OS (Doc ID 832747.1)

Last updated on OCTOBER 10, 2018

Applies to:

Oracle Fusion Middleware - Version 9.0.4.0.0 to 10.1.3.0.0 [Release AS10g to AS10gR3]
Linux x86-64
Generic Linux
Linux x86
Linux x86-64Generic Linux

Goal

You've installed and configured your Linux system, possibly have a few installs working and configured just the way you like it. At least you think so, until you start your new install of Oracle Application Server, and find you don't have or should have specified a larger swap partition during your Operating System (OS) install. The prerequisite checks performed by the installer shows for example:

Checking operating system version: must be redhat-2.1, redhat-3, redhat-4, SuSE-8, SuSE-9 or UnitedLinux-1.0
Passed

All installer requirements met.

Checking Temp space: must be greater than 400 MB. Actual 15245 MB Passed
Checking swap space: must be greater than 1536 MB. Actual 512MB Failed
Checking monitor: must be configured to display at least 256 colors. Actual 16777216 Passed
Checking if CPU speed is above 450 MHz. Actual 3191 MHz Passed
Environment Variables

 

It should be noted this can happen with any install and just not Oracle Application Server. After checking installation guide and running:

prompt> grep SwapTotal /proc/meminfo



You find that you are short of the required swap space. In this example, we are required to have 1.5 GB of available swap space, but only have 512 MB.

At this point you could reinstall the OS and during the install increase the swap space, or we can create some extra swap space on one of your existing partitions.

Solution

To view full details, sign in with your My Oracle Support account.

Don't have a My Oracle Support account? Click to get started!


In this Document
Goal
Solution

My Oracle Support provides customers with access to over a million knowledge articles and a vibrant support community of peers and Oracle experts.