- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- Probably easy swapinfo 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
12-08-2003 12:40 AM
12-08-2003 12:40 AM
Probably easy swapinfo question
Mb Mb Mb PCT START/ Mb
TYPE AVAIL USED FREE USED LIMIT RESERVE PRI NAME
dev 4096 1635 2461 40% 0 - 1 /dev/vg00/lvol2
reserve - 2461 -2461
memory 3126 2715 411 87%
total 7222 6811 411 94% - 0 -
at the time of the problem, memory and total were 100%, and dev was 42%
So in terms of "virtual memory", I have 4Gb device, plus 3Gb (75% of RAM) as pseudo-swap, so should be able to allocate 7Gb (as the total suggests).
So why, even though there's still nearly 60% free device is it allocating no more? Shouldn't the reserve take up the dev space available? And will adding more dev swap help here (obviously more RAM is better, but not currently possible...)
Ta,
Sy
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
12-08-2003 12:53 AM
12-08-2003 12:53 AM
Re: Probably easy swapinfo question
In the kernel there is a counter set which is basically the total from your device and psuedo swap areas. Any further requests will be checked against this counter and will fail if your total free count is not sufficient to allocate it. Just think if all the memory referenced in the reserved column needed to be swapped out to your device - this would leave no device swap and the total count would be the same. It needs to gaurantee there is sufficient device swap there before allocating it.
Cheers,
James.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
12-08-2003 01:39 AM
12-08-2003 01:39 AM
Re: Probably easy swapinfo question
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
12-08-2003 01:46 AM
12-08-2003 01:46 AM
Re: Probably easy swapinfo question
The reserve area is like booking a table at a restaurant that you really don't want to go to but just *may* have to in case the wife burns the supper. You'd have to eat something & in this case the reservation is mandatory. So if you can't make the reservation, you can't eat at all.
Solution would be to add more swap - secondary is fine - you just need more & then *hope* you don't start paging out, because if you do the system is going to slow *way* down.
May be that you also should consider a memory upgrade or kernel parameter tuning to free memory for the apps.
Rgds,
Jeff
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
12-08-2003 01:46 AM
12-08-2003 01:46 AM
Re: Probably easy swapinfo question
Adding some dev swap will definitely help in your case.
Thanks
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
12-08-2003 02:08 AM
12-08-2003 02:08 AM
Re: Probably easy swapinfo question
Those extra seats may have been booked by large parties (processes), but only some of them have turned up. Some may arrive later (process actually starts using the memory it's malloced), others may be forever laying dormant.
So I take it you'll rarely ever be using all swap before exhausting memory, as processes reserve large amounts of memory they think they may need at the start, but don't necessarily use it all?
Have I got this right?
Clearly the solution is to add more seats - preferably non-smoking, but smoking will do ;)
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
12-08-2003 02:18 AM
12-08-2003 02:18 AM
Re: Probably easy swapinfo question
You have to have enough seats for ALL parties that will and/or *may* show up.
Can't give the seat to anybody else until they have consumed their meal i.e. the process has ended - even if they never showed up.
Options include:
1) Add more secondary swap - easiest
2) Decrease RAM demand of the apps - harder
I also suggested that you need to increase free RAM because your swapinfo IS showing usage - 40% in this case. You could reduce the need by reducing the RAM demand OR increase free RAM. Have you checked kernel parms (dbc_max_pct, etc) for wasted resources?
Rgds,
Jeff