- Community Home
- >
- Servers and Operating Systems
- >
- Legacy
- >
- Operating System - Tru64 Unix
- >
- Re: Swap Space alert 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
Discussions
Discussions
Forums
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
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-16-2006 04:04 AM
тАО08-16-2006 04:04 AM
The OS is OSF1 V4.0878 Alpha
The system is virtually untouched by human hands the DEC guy in our shop left a while ago, I am the HP/UX-Linux head and have been asked to look into the error to see if I can resolve it.
I don't know what utilities to use to look at it and fix it other then swapinfo.. Will a reboot clear the problem?
How does one group swap space on a OSF/DEC system?
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО08-16-2006 06:56 AM
тАО08-16-2006 06:56 AM
Re: Swap Space alert question
man -k swap should get you going.
To view swap usage typically one uses: swapinfo -s
The swap devices are defined in /etc/sysconfigtab (or /etc/fstab)
There may be a process with small memory leak which over months/years ate all swap space. Use some ps variant (or top if installed) to find out... or like you mention reboot to reset all.
hth,
Hein.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО08-16-2006 07:02 AM
тАО08-16-2006 07:02 AM
SolutionTo see the amount of free & allocated swap:
swapon -s
To create additional swap space you need an empty partition
swapon /dev/re3b
Then add the additional swap to /etc/fstab to make it permanen.
grep swap /etc/fstab
/dev/re2b swap1 ufs sw 0 2
/dev/re3b swap2 ufs sw 0 2
Note: to remove swap space you need to edit the /etc/fstab file and reboot Tru64.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО08-16-2006 07:07 AM
тАО08-16-2006 07:07 AM
Re: Swap Space alert question
we did a swapon /dev/rz## and mounted those in the /etc/fstab.. My question is why would it not read /etc/fstab?
/dev/rz2a / ufs rw 1 1
#/dev/rz2g /usr ufs rw 1 2
/dev/rz2b swap1 ufs sw 0 2
#/dev/rz2g swap2 ufs sw 0 2
/dev/rz8c /usr ufs rw 1 2
/dev/rz18c /dnx3 ufs rw 1 2
/dev/rz11c /dnx4 ufs rw 1 2
/dev/rz22c /usr/dnx1 ufs rw 1 2
/dev/rz14c swap3 ufs sw 0 2
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО08-16-2006 10:25 AM
тАО08-16-2006 10:25 AM
Re: Swap Space alert question
What does 'swapon -s' show?
'swapon -a' should read /etc/fstab
[on OSF 5.0 swap info is in /etc/sysconfig]
The /etc/fstab you shared shows that /dev/rz2g once was used to hold /usr, but /rz8c has that role now.
It looks as if rz2g is now ready to become more swap, but someone did not dare to go there just yes and commented that line.
So you should have just 2 swap files.
- swap1 - a small one on rz2b (500mb?)
- sawp3 - all of rz14 (4.3gb? 9gb?)
any errors in /var/adm/messages ?
if you decide to post swapon -s data, then maybe also show 'dk -k' and perhaps disklabel -r rz2
Silly question... rz2 _is_ still the boot disk is it? That /etc/fstab would not be stale info, where the real boot disk is rz0?
In that case swap1 would not work would it now?
Hein.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО08-17-2006 12:54 AM
тАО08-17-2006 12:54 AM
Re: Swap Space alert question
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО08-17-2006 12:55 AM
тАО08-17-2006 12:55 AM