- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- Re: Process utilizing More 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
07-21-2010 09:25 PM
07-21-2010 09:25 PM
Process utilizing More SWAP
If my swap space is 100% utilized , how do i find out which process is consuming more swap space .What parameters needs to be monitored for swap deadlock using glance.
Thanks in advance
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-22-2010 12:37 AM
07-22-2010 12:37 AM
Re: Process utilizing More SWAP
Look at the SIZE value for top(1).
>What parameters needs to be monitored for swap deadlock using glance.
This isn't deadlock, just running out.
You can look at "swapinfo -tam".
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-22-2010 07:53 AM
07-22-2010 07:53 AM
Re: Process utilizing More SWAP
Please check with top command it will show you which process is consuming more space.
Regards,
Rahul
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-22-2010 03:41 PM
07-22-2010 03:41 PM
Re: Process utilizing More SWAP
UNIX95=1 ps -e -o vsz,pid,args | sort -rn | head -20
The biggest processes are at the top of the list. NOTE: you may have processes that have allocated shared memory -- this area is not counted for any process since it is, well, shared. Use this command to look for a large amount of shared memory:
ipcs -bmp
Glance tells you all you need top know. The memory bar will be at 100% and the memory screen (type m to see the numbers) will show page out. If this number is 2 digits or more, than you need more RAM for the processes you are running. If you're running a database, the DBA may have asked for a massive amount of RAM without consulting the HP-UX system administrators.
Bill Hassell, sysadmin
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-22-2010 08:54 PM
07-22-2010 08:54 PM
Re: Process utilizing More SWAP
Find out which of the processes in your system is consuming more of the memory (physical and virtual memory) and analyze the reason.
You can use the attached glance advisor script to find out the process that is consuming highest virtual and physical memory.
Download the script to /tmp and execute
/opt/perf/bin/glance -aos /tmp/myadviser.txt
You might arrive at one of the following:
(1) Your system memory could be too small for the applications hosted on the system. Find out the recommended memory mandated for the applications running in your system and upgrade the memory.
(2) Your swap memory could be too small. Use swapinfo command to find out the swap memory configuration. It is recommended to configure swap of size at least 50% of physical memory. Preferrable is twice of physical memory.
(3) The processes running in your system might be over loaded unreasonably.
(4) The application process might simply be leaking the memory in which case the system physical memory utilization will also be very high. You can check with the application vendor about the behavior.
HTH
Muru