- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- Re: Determining where my memory went
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
09-25-2003 04:31 AM
09-25-2003 04:31 AM
Determining where my memory went
Problem: RP7400 running 11.00 with 11 x Sybase 11.9.3 databases is using 100% of its 12GB of memory (and paging). The DBAs look into their tables and say they are only using ~6GB of space and want to know where the rest of the 12GB is going.
I have run a 'ps -eo vsz,pid,ppid,user,comm' and come up with ~800Mb. I have run ipcs -moab and come up with ~6GB. Glance shows:
Sys Mem = 555.3Mb
Buf Cache = 368Mb
User Mem = 11.1Gb
Free Mem = 44.0Mb
Total VM = 494.2Mb
Active VM = 330.0MB
Where else might I look for this 'missing' memory? I used 'lsof' and it showed quite a bit of space in the 'SIZE' column for VREG files, but I'm not sure if this relates entirely. An example line from my 'lsof' output file is:
COMMAND PID USER FD TYPE DEVICE SIZE NODE NAME
-----------------------------------------------
dataserve 12560 sybase 89uW VREG 64,0x190001 33554432000 4 /temparchive1 (/dev/vgtemparch/lvtemparch1)
Thanks,
David
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
09-25-2003 04:59 AM
09-25-2003 04:59 AM
Re: Determining where my memory went
With ps & ipcs u could only display the shared memory and it doesnt give u any inputs on memory mapped files & shared library.
Use the attached procsize.sh. procsize can display the memory mapped files , shared libary and account the shared memory regions only once for any number of processes using it.
-- Sundar.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
09-25-2003 05:11 AM
09-25-2003 05:11 AM
Re: Determining where my memory went
UNIX95= ps -e -o vsz=Kbytes -o pid,args=Command-Line | sort -rnk1
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
09-25-2003 06:13 AM
09-25-2003 06:13 AM
Re: Determining where my memory went
Thanks for the utility. I assume output sizes are in Kb. Using that tool I was able to account for ~8.13Gb of the memory (output attached). That is still ~3GB short of the 11GB user memory that Glance shows.
Ken,
If you notice in my original post, I had already used the 'ps -e -o vsz...".
Thanks,
David
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
09-25-2003 06:14 AM
09-25-2003 06:14 AM
Re: Determining where my memory went
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
09-25-2003 07:24 AM
09-25-2003 07:24 AM
Re: Determining where my memory went
Sorry I should have mentioned, you must display RSS using the procsize utility and not the VSS.By default the procsize displays VSS.
go through the attached doc. should make the things clear.
Thanks,
Sundar.