- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- swapon (File System Paging)
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
04-09-2010 11:20 PM
04-09-2010 11:20 PM
swapon (File System Paging)
OS:HP-UX 11.11
Oracle Application Server ver 10.
Need an expert advice upon this issue.
Find below details about my swapinfo -tam , swapinfo and bdf info.
app1:/#swapinfo
Kb Kb Kb PCT START/ Kb
TYPE AVAIL USED FREE USED LIMIT RESERVE PRI NAME
dev 4194304 562972 3631332 13% 0 - 1 /dev/vg00/lvol2
localfs 819200 0 819200 0% 819200 0 1 /logs/paging
reserve - 4450532 -4450532
memory 6452500 5559992 892508 86%
app1:/#swapinfo -tam
Mb Mb Mb PCT START/ Mb
TYPE AVAIL USED FREE USED LIMIT RESERVE PRI NAME
dev 4096 550 3546 13% 0 - 1 /dev/vg00/lvol2
localfs 800 0 800 0% 800 0 1 /logs/paging
reserve - 4346 -4346
memory 6301 5425 876 86%
total 11197 10321 876 92% - 0 -
app1:#bdf
Filesystem kbytes used avail %used Mounted on
/dev/vg00/lvol9 3588096 1384647 2071036 40% /logs
/dev/vg00/lvol10 5120000 109150 4697704 2% /app
My Question is:
===============
During peak hours iam running out of memory
var/adm/syslog/syslog.log (output)
Apr 6 10:43:04 app1 vmunix: Deferred swap reservation failure pid: 19145
Apr 6 10:43:10 app1 vmunix: Deferred swap reservation failure pid: 18453
#Now i would like to add and active File system swap /logs/paging which is 0% used.
#Is this solve the problem or need to look other areas.
# Does this build new kernel and reboot required or online possible without disturbing production environment.
I appreciate all for their support.
Regard's
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-10-2010 03:01 AM
04-10-2010 03:01 AM
Re: swapon (File System Paging)
just add more swap space. This can be done online. device swap preferred (vs fs swap).
Create a logical volume and activate with swapon
http://docs.hp.com/en/B2355-90672/ch06s03.html?btnNext=next%A0%BB
see thread http://docs.hp.com/en/B2355-60105/swapon.1M.html (many other threads on very same subject).
Regards
Jean-Luc
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-10-2010 03:31 AM
04-10-2010 03:31 AM
Re: swapon (File System Paging)
Please add more swap,,like swap=1.5% RAM size=10GB.
create a lv and add as swap,this can be done online.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-10-2010 03:32 AM
04-10-2010 03:32 AM
Re: swapon (File System Paging)
>>system swap /logs/paging which is 0% used.
It is already active and in use.
The error you posted means that you need to add even more swap space.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-10-2010 03:51 AM
04-10-2010 03:51 AM
Re: swapon (File System Paging)
Apr 10, 2010 11:32:54 GMT points for answer:
>>Now i would like to add and active File
>>system swap /logs/paging which is 0% used.
It is already active and in use.
#If it is active why not 100% usage where is swapinfo -tam show only 0% used by file system swap /logs/paging
#The /logs is consists of 3.5GB where as i used it 800MB for swap ,Now how can i increase the limit of 800 MB to 2GB. (Does it require reboot or no need).
Thanks All for their kind cooperation
The error you posted means that you need to add even more swap space.
#Need to know about increment of swap from 800 to 2GB
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-10-2010 12:44 PM
04-10-2010 12:44 PM
Re: swapon (File System Paging)
You have only reserved it and because you still have some pseudo swap available.
But not enough during peak hours.
>Now how can I increase the limit of 800 MB to 2GB. (Does it require reboot?)
You should be able to add more file system swap without a reboot. You may have to reboot to remove that too small 800 Mb swap.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-12-2010 09:52 PM
04-12-2010 09:52 PM
Re: swapon (File System Paging)
You should be able to add more file system swap without a reboot. You may have to reboot to remove that too small 800 Mb swap.
# I have enough space in /logs/paging LV which can be increased by 1GB without any problem.
Iam worried about the reboot does this create a new kernel and if yes does it harm my production.
If it is building new kernel what precautions i need to take before clicking "OK"" to build new kernel.
Regard's
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-12-2010 10:09 PM
04-12-2010 10:09 PM
Re: swapon (File System Paging)
I'm not sure if you can change filesystem swap without a reboot. It appears you can just use a different directory.
>If it is building new kernel what precautions I need to take before clicking "OK" to build new kernel.
As in all kernel changes, it is highly recommended you take an ignite backup.
You might be able to use the swapon(1m) command directly:
swapon [-m min] [-l limit] [-r reserve] [-p priority] directory ...
I'm not sure if this will last on the next reboot by adding it to /etc/fstab? Or that is something you have to do.
If you use SAM, it doesn't appear you can select the name of the directory, just the filesystem. SAM may be smart enough to increase FS swap without a reboot? Just try it and if it asks to reboot, just abort it.