1837007 Members
1961 Online
110111 Solutions
New Discussion

Swap problem

 
karthiknarayan
Advisor

Swap problem


Hi-

i have a peculiar problem, In my machine the swap
memory is not being used the load is always on the system memory. what may be the porblem, my swap piority is 1

# swapinfo
Mb Mb Mb PCT START/ Mb
TYPE AVAIL USED FREE USED LIMIT RESERVE PRI NAME
dev 8192 0 4096 0% 0 - 1 /dev/vg00/lvol2
reserve - 177 -177
memory 12971 1377 96594 13%
total 21163 554 16513 13% - 0 -
In Love with Life
5 REPLIES 5
Miguel Hernández
Frequent Advisor

Re: Swap problem

Hi:

It's because you have the kernel parameter swapmem_on = 1

You are using pseudo-swap. Look this thread:

http://forums1.itrc.hp.com/service/forums/bizsupport/questionanswer.do?threadId=483127

greetings
Jaime Bolanos Rojas.
Honored Contributor

Re: Swap problem

Karthiknarayn,

If you ain't swapping that much, that is a good thing, becuase nowdays the systems are not supposed to swap.
Probably like Miguel said, somebody enabled pseudo-swap on the machine, or you added more memory, or a heavy load app is not running on that box anymore.

Regards,

Jaime.
Work hard when the need comes out.
Steven E. Protter
Exalted Contributor

Re: Swap problem

Shalom,

SEP wisdom ( this just came to me today ).

Most swap problems are really memory problems.

Get the system some more memory or decrease the demand for memory.

SEP
Steven E Protter
Owner of ISN Corporation
http://isnamerica.com
http://hpuxconsulting.com
Sponsor: http://hpux.ws
Twitter: http://twitter.com/hpuxlinux
Founder http://newdatacloud.com
James R. Ferguson
Acclaimed Contributor

Re: Swap problem

Hi:

"SEP wisdom ...Most swap problems are really memory problems"

Gee Whiz, SEP, that's really amazing!

...JRF...

/* no points please */
Borislav Perkov
Respected Contributor

Re: Swap problem

Can you send the output of
vmstat 5 10
command?

Regards,
Borislav