Skip Navigation Links | |
Exit Print View | |
Oracle Solaris 11.1 Administration: Devices and File Systems Oracle Solaris 11.1 Information Library |
1. Managing Removable Media (Tasks)
2. Writing CDs and DVDs (Tasks)
4. Dynamically Configuring Devices (Tasks)
5. Managing USB Devices (Tasks)
6. Using InfiniBand Devices (Overview/Tasks)
9. Administering Disks (Tasks)
11. Configuring Storage Devices With COMSTAR (Tasks)
12. Configuring and Managing the Oracle Solaris Internet Storage Name Service (iSNS)
13. The format Utility (Reference)
14. Managing File Systems (Overview)
15. Creating and Mounting File Systems (Tasks)
16. Configuring Additional Swap Space (Tasks)
Swap Space and the TMPFS File System
Swap Space and Dump Device Configuration
Swap Space and Dynamic Reconfiguration
Configuring Swap Space in a SAN Environment
Swap Areas and the /etc/vfstab File
Allocating Swap Space for ZFS-Based Systems
Adding or Changing Swap Space in an Oracle Solaris ZFS Root Environment
How to Add Swap Space in an Oracle Solaris ZFS Root Environment
17. Copying Files and File Systems (Tasks)
Use the swap -l command to determine if your system needs more swap space.
For example, the following swap -l output shows that this system's swap space is almost entirely consumed or at 100% allocation.
$ swap -l swap -l swapfile dev swaplo blocks free /dev/zvol/dsk/rpool/swap 182,2 16 67108848 67102992
When a system's swap space is at 100% allocation, an application's memory pages become temporarily locked. Application errors might not occur, but system performance will likely suffer.
These messages indicate that an application was trying to get more anonymous memory. However, no swap space was left to back it.
application is out of memory malloc error O messages.1:Sep 21 20:52:11 mars genunix: [ID 470503 kern.warning] WARNING: Sorry, no swap space to grow stack for pid 100295 (myprog)
The following message is displayed if a page could not be allocated when a file was being written. This problem can occur when TMPFS tries to write more than it is allowed or if currently executed programs are using a lot of memory.
directory: File system full, swap space limit exceeded
The following message means that TMPFS ran out of physical memory while attempting to create a new file or directory:
directory: File system full, memory allocation failed
For information on recovering from the TMPFS-related error messages, see tmpfs(7FS).