- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- Re: problem with swap
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
06-06-2000 09:27 AM
06-06-2000 09:27 AM
problem with swap
i have a problem with a swap partition on vg00/lvol2 i want to increase size....but i can't do it with sam....it doesn't work. how can i increase it ?? also in swapinfo, i can see that all the capacity of my swap partition is reserved ! what is the parameter i have to change ? i'm on version 10.20.....tx a lot
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-06-2000 10:37 AM
06-06-2000 10:37 AM
Re: problem with swap
Brian
<*(((>< er
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-06-2000 12:57 PM
06-06-2000 12:57 PM
Re: problem with swap
First: swap space must be contiguous. That is why it is not generally possible to increase the size of your primary swap partition without a full system rebuild. The general solution is to create a new logical volume and activate it as swap. This volume must be created contiguous and without bad block relocation. (lvcreate -C Y -r n). You can activate it manually with the swapon command, or set it to activate automatically by including it in /etc/fstab. (man fstab will show you the appropriate flags.)
HP-UX reserves space to page out a process as soon as the process begins. What you are seeing in swapinfo is a reflection of this. Reserved space is not "in use", but it cannot be allocated to another process. It is "reserved". This can cause a problem if your swap space is low, because new processes will not be able to fork unless the system can reserve space to page them as needed. (This is called early paging, which increases performance but also increases reuired swap space. To the best of my knowledge, it is not possible to tell HP-UX to adopt a late paging strategy.)
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-06-2000 01:08 PM
06-06-2000 01:08 PM
Re: problem with swap
Hope this helped, Good Luck!
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-06-2000 07:46 PM
06-06-2000 07:46 PM
Re: problem with swap
I've published an article "Breaking Out Root" in the October issue of Interex. I think it may help you with your swap problem. Ignite-UX is a wonderful tool to help resize root partitions. Feel free to follows the steps outlined in the attached document to resize lvol2.
Hope this helps,
Bernie
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-06-2000 08:13 PM
06-06-2000 08:13 PM
Re: problem with swap
leoni
I can define swap of four ways
1> Primary
2> secondary
3> device
4> file system
where Primary you can define at the time of installation and that is also other than root parttion but on the same disk
secondary you can define afterwords and on the second disk.
device is nothing but a total disk or a logical volume
file system is create a file system and used total to be as swap.
Now what you have dfined is device swap.
If you seen the priority then you can define swap from 0 to 9 and that is called highest to lowest priority.
you can define other swap system in your hp and give the priority so that it will not affect on your processes.
regards
Nikhil
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-07-2000 12:54 AM
06-07-2000 12:54 AM
Re: problem with swap
To the 2nd question modify the kernel parameters as follows:
allocate_fs_swapmap=0
swapmem_on=1
This will give you upto 2.75Gb or shared memory for a 10.20.