Operating System - HP-UX
1838240 Members
3362 Online
110125 Solutions
New Discussion

Re: Help:Deferred swap reservation failure pid: 6477

 
SOLVED
Go to solution
Ian lee
Advisor

Help:Deferred swap reservation failure pid: 6477

Recently,my system reports a message:"Deferred swap reservation failure pid: 6477",I don't know what happened.can somebody tell me that?

thanks.

david lee
4 REPLIES 4
Michael Tully
Honored Contributor

Re: Help:Deferred swap reservation failure pid: 6477

Hi,

Looks like you have a shortage on swap space. You can increase it of course, but you should also check for application memory leaks.

UNIX95= ps -e -o ruser,vsz,pid,args | sort -rnk2 | more

The second column displayed is the process's virtual size in kilobytes.

If you need to create additional swap, here is how. Make sure that you using the right disk. Please note that this is an example only.

# pvcreate /dev/rdsk/cxytdz (change to your disk)
# vgcreate /dev/vg01 /dev/dsk/cxtydz
# lvcreate -n swaplv2 /dev/vg01
# lvextend -L 2048 /dev/vg01/swaplv (change to your size)
# swapon /dev/vg01/swaplv2

Of course all of this can be done via 'sam'

HTH
Michael
Anyone for a Mutiny ?
Ian lee
Advisor

Re: Help:Deferred swap reservation failure pid: 6477

Hi Michael Tully

I used swapinfo command to chedk how many swap to be used,following is the infomation of swap:
# swapinfo
Kb Kb Kb PCT START/ Kb
TYPE AVAIL USED FREE USED LIMIT RESERVE PRI NAME
dev 1048576 0 1048576 0% 0 - 1 /dev/vg00/lvol2
reserve - 545672 -545672
#
It seems that there is no swap to be used.

But thanks anyway!

david lee
T G Manikandan
Honored Contributor
Solution

Re: Help:Deferred swap reservation failure pid: 6477

A processes reserves space in swap before using it.

the ouput of your swapinfo command has a line for reserve which tells that already 500MB is reserved by the processes.
You have extra 500MB space left out unreserved.

So if you have a process that is reserving more than the value you receive these messages.

I would like you to check the memory utilization of processes using

UNIX95= ps -e -o vsz=Kbytes -o ruser -o pid|sort -nrk1|more to find out the list of processes and their memory usage.

Just check whether the mib2agt process is running on your machine without your knowledge.

After examining this you could go ahead in creating a new secondary swap for usage.
By creating extra swap space these messages can be avoided.


Thanks

Patrick Wallek
Honored Contributor

Re: Help:Deferred swap reservation failure pid: 6477

OK, you've got 1GB of swap space configured on the machine. How much RAM do you have? If you have more than 1GB of RAM, then you WILL have problems UNLESS the kernel parameter SWAPMEM_ON is set to 1.

If SWAPMEM_ON is set to 1, then RAM will be used as swap reserve space. Note though that it will NOT actually effect the amount of RAM that is usable.