Operating System - HP-UX
1833997 Members
4995 Online
110063 Solutions
New Discussion

Re: Getting the following swap error in dmesg

 
SOLVED
Go to solution
John Goetz
Advisor

Getting the following swap error in dmesg

Deferred swap reservation failure pid: 17269

Swapinfo is at 100% but have 5GB available in memory. Number of processes is low
3 REPLIES 3
baiju_3
Esteemed Contributor
Solution

Re: Getting the following swap error in dmesg

Hi John ,

You need to add more swap devices ,irrespective of free available memeory .Swap spaces are reserved for each process when they start . The solution here is to add secondary swap devices , which you can do on fly .

Check manpages for swapon for details .

regards,
bl.
Good things Just Got better (Plz,not stolen from advertisement -:) )
James R. Ferguson
Acclaimed Contributor

Re: Getting the following swap error in dmesg

Hi John:

When a process is spawned, swap space must be reserved. I suspect that you don't have pseudoswap enabled. To do so you need to set 'swapmem_on' and regenerate the kernel. Doing so will cause 75% of memory to be counted for the purposes of swap reservation.

To determine if you have pseudoswap enabled, look for a line with the word "memory" in this output:

# swapinfo -tam

If you don't see something like:

memory 6334 1807 4527 29%

..then pseudoswap is *not* on.

Regards!

...JRF...
Deoncia Grayson_1
Honored Contributor

Re: Getting the following swap error in dmesg

Check this link for a possible explanation of your problem:

http://forums1.itrc.hp.com/service/forums/questionanswer.do?threadId=364811
If no one ever took risks, Michelangelo would have painted the Sistine floor. -Neil Simon