- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- swapmem_on question
Categories
Company
Local Language
Forums
Discussions
Forums
- Data Protection and Retention
- Entry Storage Systems
- Legacy
- Midrange and Enterprise Storage
- Storage Networking
- HPE Nimble Storage
Discussions
Forums
Discussions
Discussions
Discussions
Forums
Discussions
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
- BladeSystem Infrastructure and Application Solutions
- Appliance Servers
- Alpha Servers
- BackOffice Products
- Internet Products
- HPE 9000 and HPE e3000 Servers
- Networking
- Netservers
- Secure OS Software for Linux
- Server Management (Insight Manager 7)
- Windows Server 2003
- Operating System - Tru64 Unix
- ProLiant Deployment and Provisioning
- Linux-Based Community / Regional
- Microsoft System Center Integration
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Community
Resources
Forums
Blogs
- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Printer Friendly Page
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-07-2002 06:44 AM
08-07-2002 06:44 AM
I know there are alot of posting on this, and I have been going through them the past several days, and I seem to be unsure now, cause I heare pros and cons on setting it.
I have an L2000 system, 2gig mem, 2 gig device swap, swapmem_on is OFF. This system is heavy oracle.
Now, I have been doing swapinfo -tm on and off for the past month and it seems that my PCT USED is always runnng 95 to 98, and device is always 0.
Yesteday I seen it go to 100 and still device 0.
At somepoint we started having some problems, and the oracle person tells me to increase maxusers from 200 to 250, cause its thought of nproc and nfile are to low, however in glance they are only at 17%.
From what I have read, is if using oracle on a server, it seems others have swapmem_on, to enable pseduo swaping, and I cam across one posting where it mentions if you have the device swap, the same size as your physical memory, it will never get used.
wew, with that said, I am thinking I need to enable swapmem_on from what I have read..
Can someone offer me some advice?
Thanks
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-07-2002 06:48 AM
08-07-2002 06:48 AM
Re: swapmem_on question
Yes, if device swap = physical RAM you dont need swapmem_on turned ON.
But, having said that, it still provides useful info in showing how much of your used RAM is locked (by shared mem/dataabses etc.) and it is useful as a safety net - which is all it is, so we leave it switched on on all our servers - its doesnt hurt at all to leave it on.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-07-2002 06:54 AM
08-07-2002 06:54 AM
Re: swapmem_on question
Hai
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-07-2002 06:56 AM
08-07-2002 06:56 AM
Re: swapmem_on question
I would not say that disabling pseudo-swap is a good practise. I strongly suggest you to trun it ON and thus give the system more flexibility. Even if you have enough device swap and memory, turning ON this property may help you at any time, there is a need for pseudo-swap, but turining it OFF doesn't give you anything.
HTH
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-07-2002 06:58 AM
08-07-2002 06:58 AM
Re: swapmem_on question
Mb Mb Mb PCT START/ Mb
TYPE AVAIL USED FREE USED LIMIT RESERVE PRI NAME
dev 2048 0 2048 0% 0 - 1 /dev/vg00/lvol2
reserve - 1748 -1748
total 2048 1748 300 85% - 0 -
it is now 85, usually it will be 95%.
thanks
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-07-2002 07:03 AM
08-07-2002 07:03 AM
SolutionYou need to check one another Kernel parameter - dbc_max_pct. If this is set to default 50%, then reduce it to a small value (10 or 15%?).
Also check these documents:
http://www.docs.hp.com/cgi-bin/otsearch/getfile?id=/hpux/onlinedocs/os/KCparam.SwapMemOn.html&searchterms=swapmem_on&queryid=20020807-075610
http://www.docs.hp.com/cgi-bin/fsearch/framedisplay?top=/hpux/onlinedocs/TKP-90202/TKP-90202_top.html&con=/hpux/onlinedocs/TKP-90202/00/01/160-con.html&toc=/hpux/onlinedocs/TKP-90202/00/01/160-toc.html&searchterms=swapmem_on&queryid=20020807-07561
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-07-2002 07:11 AM
08-07-2002 07:11 AM
Re: swapmem_on question
The important point to remember is that there is no swapping in memory; pseudoswap doesn't exist. The name pseudoswap has been confusing since it was first introduced.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-07-2002 07:16 AM
08-07-2002 07:16 AM
Re: swapmem_on question
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-07-2002 07:44 AM
08-07-2002 07:44 AM
Re: swapmem_on question
you will be able to find out the answer for the last question, if you have GlancePlus installed:
# gpm
Check the swap usage and check the process/memory usage. I would also check the system patch level and will update it if necessary.
hth
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-07-2002 07:51 AM
08-07-2002 07:51 AM
Re: swapmem_on question
the reserved is 1.7 gig.
I am going to turn it on, from the info you sent that read, which migth i add, is a good doc, I am going to have it on, and keep an eye on it. Cause of the mention of proccess not being able to fork, I think this is a close response to the error in the listener log.
thanks
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-07-2002 08:14 AM
08-07-2002 08:14 AM
Re: swapmem_on question
....
Mb Mb Mb PCT START/ Mb
TYPE AVAIL USED FREE USED LIMIT RESERVE PRI NAME
dev 2048 0 2048 0% 0 - 1 /dev/vg00/lvol2
reserve - 1748 -1748
total 2048 1748 300 85% - 0 -
....
Based on this output, your swap device has 300Mb left to accomodate new processes or existing ones which needs more swap space. The total line confirmed what I analyzed above. 85% of swap space is utilized in this case. Next time, you should watch the total line.
Hope this helps.
Hai
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-07-2002 08:18 AM
08-07-2002 08:18 AM
Re: swapmem_on question
If the system is unable to fork a new process, it is primarily due to the swap space shortage. If you are able to run "swapinfo -tam" at that time, the PCT USED in the total line should show (nearly) 100%.
Hai
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-07-2002 09:20 AM
08-07-2002 09:20 AM
Re: swapmem_on question
TYPE AVAIL USED FREE USED LIMIT RESERVE PRI NAME
dev 2048 0 2048 0% 0 - 1 /dev/vg00/lvol2
reserve - 1775 -1775
total 2048 1775 273 87% - 0 -
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-07-2002 09:21 AM
08-07-2002 09:21 AM
Re: swapmem_on question
here is the swapinfo after the swapmem_on is turned back on.
TYPE AVAIL USED FREE USED LIMIT RESERVE PRI NAME
dev 2048 0 2048 0% 0 - 1 /dev/vg00/lvol2
reserve - 896 -896
memory 1615 22 1593 1%
total 3663 918 2745 25% - 0 -
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-07-2002 09:24 AM
08-07-2002 09:24 AM
Re: swapmem_on question
nice improvements! Did you check the dbc_max_pct parameter ?
gl,
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-07-2002 09:43 AM
08-07-2002 09:43 AM
Re: swapmem_on question
I did check it, its set at 2 and so is the min pct.
I did not think to change it when I changed the swapmem_on, for some reason.
Thanks you for the help and inputs, as well as the others.