1831670 Members
2871 Online
110029 Solutions
New Discussion

Problem on swap (maybe)

 
Patrick Chim
Trusted Contributor

Problem on swap (maybe)

Hi,

My HP System are running Java 1.2 with HP-UX 11.0. Recently the system encounter two failure which cannot telnet to it. At that time, two users are running the java engine on the server. After one of them kill his java process the system resume normal. When check dmesg it show "Deferred swap reservation failure pid: xxxxx". Would anyone help solving this problem ? Is there any tuning on the kernel parameters ??

Thank you for your great help !

Patrick
2 REPLIES 2
James R. Ferguson
Acclaimed Contributor

Re: Problem on swap (maybe)

Hi Patrick:

Check your swap utilization with 'swapinfo -ta'. You may indeed have insufficient swap space. Look particularly at the "reserve" amounts. The kernel allocates and deallocates swap memory every time a process is created or terminated. This reservation protects the process in the event it needs to be paged-out.

...JRF...
Bruce Regittko_1
Esteemed Contributor

Re: Problem on swap (maybe)

Hi,

In addition to James' suggestions, you may want to see if the swapmem_on kernel parameter is indeed "on". If not, you could easily run out of "reservable" swap memory without even using any, especially if the amount of swap memory is significantly smaller than the amount of physical memory.

For more information on swapmem_on and other kernel parameters, see http://docs.hp.com/hpux/onlinedocs/os/KCparams.OverviewAll.html.

--Bruce
www.stratech.com/training