Operating System - HP-UX
1833777 Members
2283 Online
110063 Solutions
New Discussion

Deferred swap reservation failure pid: xxxxx

 
Cleber Zorzi
Valued Contributor

Deferred swap reservation failure pid: xxxxx

Hi,

I´m with problems in HP-UX/Oracle. I have the following message:

Deferred swap reservation failure pid: 28255

I verified the following variables:
maxdsiz
maxdsiz_64
shmmax
swapmem_on

and is all configured in the limit. The memory RAM is with used 97% and the memory of swap is with used 4%.

Thanks,

Cleber






cleberzorzi
4 REPLIES 4
Prashant Zanwar_4
Respected Contributor

Re: Deferred swap reservation failure pid: xxxxx

is the vhand process started, which will tell that you are doing lot of paging..
do swapinfo -mt/fmt etc.. check if swap space is still available..
use UNIX95 command line to find bigger memory processes.. see if anything has been changed recently..
I would guess you did a kernel rebuild and rebooted host !

Prashant
"Intellect distinguishes between the possible and the impossible; reason distinguishes between the sensible and the senseless. Even the possible can be senseless."
Cleber Zorzi
Valued Contributor

Re: Deferred swap reservation failure pid: xxxxx

Hi Prashant,

I have the following messages:

########
31-MAR-2006 11:04:46 * (CONNECT_DATA=(SERVER=DEDICATED)(SERVICE_NAME=CORP)(CID=(PROGRAM=D:\Mosaico75\UMsmnRq.exe)(HOST=SERVERMF1)(USER=rjzsup1))) * (ADDRESS=(PROTOCOL=tcp)(HOST=192.169.0.16)(PORT=3863)) * establish * CORP * 12518
TNS-12518: TNS:listener could not hand off client connection
TNS-12549: TNS:operating system resource quota exceeded
: TNS:protocol adapter error
TNS-00519: Operating system resource quota exceeded
HPUX Error: 12: Not enough space
#######
# swapinfo -tam
Mb Mb Mb PCT START/ Mb
TYPE AVAIL USED FREE USED LIMIT RESERVE PRI NAME
dev 4096 163 3933 4% 0 - 1 /dev/vg00/lvol2
reserve - 3933 -3933
memory 6133 5864 269 96%
total 10229 9960 269 97% - 0 -
#######
Deferred swap reservation failure pid: 28255
Deferred swap reservation failure pid: 28249
Deferred swap reservation failure pid: 28255
#######

Thanks,

Cleber
cleberzorzi
Jeff Schussele
Honored Contributor

Re: Deferred swap reservation failure pid: xxxxx

Hi Cleber,

You need *enough* swap space for all the processes you intend to spawn.
IF you don't have swap = memory you can still fudge it by setting swapmem=1 in the kernel parms.

HTH,
Jeff
PERSEVERANCE -- Remember, whatever does not kill you only makes you stronger!
A. Clay Stephenson
Acclaimed Contributor

Re: Deferred swap reservation failure pid: xxxxx

This is a result of "lazy swapping" meaning the swap reservation is postponed until the memory is actually used. This saves swap space (and time) at start up but if later the swap is exhausted then the kernel has no other choice than killing processes that try to use their memory which still needs reservation. Bottom line is that you need more swapspace or you need to reduce the memory footprint of some of your processes. e.g. if this is Oracle then reduce the size of the SGA. Remember pseudoswap is a tool that says you know what you are doing; in this case, you don't. You can use chatr on the executable to disable lazy swap.
If it ain't broke, I can fix that.