- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- Set Size vs Resident Size
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
10-17-2002 10:56 PM
10-17-2002 10:56 PM
Set Size vs Resident Size
size = 18492K
res = 117M
Why/how can the resident set size be significantly larger than the actual process size?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
10-17-2002 11:38 PM
10-17-2002 11:38 PM
Re: Set Size vs Resident Size
Interesting symptom. :) Just had a look at some systems here and I see lots of processes with RES > SIZE... so it seems not to be exotic.
top gets the metrics using the pstat() interface...
SIZE: test+data+stack
pp->pst_vtsize + pp->pst_vdsize + pp->pst_vssize
RES: provate resident pages
pp->pst_rssize
So if RES gets so huge there must be something private and resident which is not text/data/stack. Maybe file mmap()ed MAP_PRIVATE?
Regards...
Dietmar.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-19-2003 10:27 PM
11-19-2003 10:27 PM
Re: Set Size vs Resident Size
I 've read Dietmars message - but according the man pages SIZE is the total of the process' virtual address space. It includes already the mmap stuff (not only text/data/stack !)
The RES value is more or less guess work.
My experience is that in cases where
RES > SIZE both the RES and the SIZE are unreliable.
Guess this has something to do with swapping activity while top is computing its values per process (pseudo-swap is activated per default - see kernel parameter swapmem_on. The system prefers to use memory as a swap device instead of keeping currently inactive processes in memory)
Best Regards
Thomas
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-19-2003 10:31 PM
11-19-2003 10:31 PM
Re: Set Size vs Resident Size
http://www1.itrc.hp.com/service/patch/patchDetail.do?BC=patch.breadcrumb.main|patch.breadcrumb.search|&patchid=PHCO_26020&context=hpux:800:11:00
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-19-2003 10:32 PM
11-19-2003 10:32 PM
Re: Set Size vs Resident Size
http://www1.itrc.hp.com/service/patch/patchDetail.do?BC=patch.breadcrumb.main|patch.breadcrumb.search|&patchid=PHCO_25204&context=hpux:800:11:11.......