- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- swap space
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-09-2004 07:05 AM
08-09-2004 07:05 AM
output from swap info is below:
Mb Mb Mb PCT START/ Mb
TYPE AVAIL USED FREE USED LIMIT RESERVE PRI NAME
dev 4096 0 4096 0% 0 - 1 /dev/vx/dsk/rootdg/swapvol
reserve - 4096 -4096
memory 18954 17726 1228 94%
total 23050 21822 1228 95% - 0 -
can anyone provide commands that show which process' are using the swap, also when I run glance this show's only 41% of memory is being utilised.
also is there anyway to clear the amount of swap that has been utilised?
Thamks in advance
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-09-2004 07:12 AM
08-09-2004 07:12 AM
Solution2) ALL processes reserve swap space in HP-UX when they start. So the easy answer is EVERYTHING uses swap.
3) The memory line indicates that the kernel parameter "swapmem_on" is set to 1 so when processes start the will use RAM to reserve some swap space. This does NOT decrease your available RAM, however.
4) No, there is no way to clear used swap without killing applications or processes that are running.
How much RAM do you have in this machine?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-09-2004 07:13 AM
08-09-2004 07:13 AM
Re: swap space
1.Use "vmstat" to determine the utilisation of SWAP memory.
2. For clearing the amount of swap space i see the only way which is reducing the no. of process running in the Memory.
regards,
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-09-2004 07:18 AM
08-09-2004 07:18 AM
Re: swap space
Based on what you are showing I'm not expecting a lot of data cncerning swap. Seems your machine isn't being worked very hard.
SEP
Owner of ISN Corporation
http://isnamerica.com
http://hpuxconsulting.com
Sponsor: http://hpux.ws
Twitter: http://twitter.com/hpuxlinux
Founder http://newdatacloud.com
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-09-2004 07:35 AM
08-09-2004 07:35 AM
Re: swap space
Keep in mind that except for very large memory systems, you generally still want to configure enough DEVICE swap to equal 2 x RAM on your system.
In some cases where Oracle is the main component, I've actually seen some customers need to configure almost 3 x RAM to get solid performance from the box.
Best regards,
Kent M. Ostby
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-09-2004 07:36 AM
08-09-2004 07:36 AM
Re: swap space
we had a report from a user reporting that he got an error when running a sas application
# out of swap space
I checked syslog.log at the time the issue was reported and saw the follwoing error:
Aug 9 19:04:07 spbe903a sshd2[14772]: WARNING: Forking a server for a new connection failed.
Aug 9 19:04:07 spbe903a sshd2[14772]: Forking a server for a new connection failed.
Thanks again for your help
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-09-2004 07:45 AM
08-09-2004 07:45 AM
Re: swap space
You currently have 4GB of device swap plus 18.5 of pseudo swap which equals 22.5GB total. That leaves you about 1.5GB short of your 24GB RAM.
pseudo-swap uses about 75% of RAM for swap reservation, which is close to your 18954 MB number, so you need to make up the difference between that number and your total amount of RAM with some other type of swap space.
If you add another 2GB or so of device swap, or even filesystem swap, then you shouldn't see that error anymore.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-09-2004 07:46 AM
08-09-2004 07:46 AM
Re: swap space
If you have a pair of 36 or 73 Giggers.. allocate ALL of them -- prefereably at a higher priority that your OS disk swap slice. Today's apps - Oracle based ones ie. SAP.. require large swap "RESERVATIONS" -- which are not actually used.
Here's my biggest server's swap config:
Mb Mb Mb PCT START/ Mb
TYPE AVAIL USED FREE USED LIMIT RESERVE PRI NAME
dev 4096 0 4096 0% 0 - 1 /dev/vg00/swap
dev 34688 0 34688 0% 0 - 0 /dev/swap1/swap
dev 34688 0 34688 0% 0 - 0 /dev/swap2/swap
reserve - 51451 -51451
memory 49410 9136 40274 18%
total 122882 60587 62295 49% - 0 -
and we are still thinking of adding more!
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-09-2004 08:37 AM
08-09-2004 08:37 AM