1834657 Members
2358 Online
110069 Solutions
New Discussion

No swap consum

 
Isaac_4
Frequent Advisor

No swap consum

Hi:
I have hpux 11.11 box, but the swapinfo -tam show the following:
TYPE AVAIL USED FREE USED LIMIT RESERVE PRI NAME
dev 4096 113 3983 3% 0 - 1 /dev/vg00/lvol2
reserve - 3983 -3983
memory 1532 1459 73 95%
total 5628 5555 73 99% - 0 -

The system doesnt consum swap space
some body get me the kernel parameter to change IT ?

thank you 1111
The time is gold
9 REPLIES 9
Jaime Bolanos Rojas.
Honored Contributor

Re: No swap consum

Isaac, who said that the system does not consume swap space?

You have a 99% of swap already reserved on the system according to swapinfo.

Please run this command:

vmstat 2 30

check for the po column, if you see any value other than 0 then you are swaping.

Regards,

jaime.
Work hard when the need comes out.
NMory
Respected Contributor

Re: No swap consum

Check this page under Memory Swap Subsystem

http://docs.hp.com/en/939/KCParms/KCparams.OverviewAll.html

LN
NMory
Respected Contributor

Re: No swap consum

Or this page:

http://docs.hp.com/en/1219/tuningwp.html#swap

If you need to change your swap space....

LN
Isaac_4
Frequent Advisor

Re: No swap consum

Jaime:

I get this using the command that you send

the value PO = 0

any idea?

than you !

The time is gold
Jaime Bolanos Rojas.
Honored Contributor

Re: No swap consum

Isaac, it means that the system was not swapping at the time of the command, and most of the time it does not, as you notice in the dev 4096 113 3983 3% 0 - 1 /dev/vg00/lvol2, the last time that the system swapped it did use just the 3% of your swap available. That means that you swap but just a little bit.
Having your 99 % of reserve swap reserved it means that most of your memory is used, remember that for memory being used swap space is reserved for it just in case a system crash or something like that.

Do you suspect that you are having any problems with your system, if you think you are lacking memory or having memory problems you can always check this doc:

ftp://eh:spear9@hprc.external.hp.com/memory.htm

Regards,

Jaime.
Work hard when the need comes out.
Patrick Wallek
Honored Contributor

Re: No swap consum

You system is actually using a bit of device swap. 3% according to your swapinfo output. That is really not bad.

Your po of 0 from vmstat is also a good sign. It means you system isn't paging out process to swap. That is a very good thing.

You really don't ever want your system to use your device swap to a significant extent. If it does, then your system performance will suffer greatly.

Everything looks fine. I really wouldn't worry too much.
Isaac_4
Frequent Advisor

Re: No swap consum

Ok, But i Having a problem when the

memory 1532 1459 73 95% reach at 98 % the system send a error HPUX 12, this messages is begining from oracle connection client

out of space

ANY IDEAL JAIME AND the other Friends

Thank you !!!
The time is gold
Patrick Wallek
Honored Contributor

Re: No swap consum

That means you are running out of swap space and need to add some more.
NMory
Respected Contributor

Re: No swap consum

You will need to add swap then.

SAM is one method for adding and configuring swap space. Swap configuration is under the Disks and File System area of SAM. For more information on configuring swap, please see the on-line Help section within SAM's Swap Configuration. If you wish to use the swapon command, review the man page, swapon(2).


LN