- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- Re: Memory usage
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
06-19-2003 09:14 AM
06-19-2003 09:14 AM
Memory usage
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-19-2003 09:19 AM
06-19-2003 09:19 AM
Re: Memory usage
Glance - there is a 60 day trial version on the install cds.
Paula
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-19-2003 09:21 AM
06-19-2003 09:21 AM
Re: Memory usage
etc.
more data
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-19-2003 09:32 AM
06-19-2003 09:32 AM
Re: Memory usage
You can create a list of the virtual sizes of processes on the system with the following:
# UNIX95= ps -e -o "user,vsz,pid,ppid,args" | awk 'NR>1' | sort -rnk2
Note the blank (space) character after the equal sign and before the 'ps' command. This kimits the setting of UNIX95 to this command only.
Note, however, that the virtual size (vsz) is in kilobyte size pages (see the 'ps' man pages) and excludes buffer cache and other shared components such as shared libraries and shared memory regions.
Remember, too, that if a program calls free() to free memoary it has allocated, that memory is only freed for the program's use until such time as it terminates. This may account for your near 100% overall utilization.
Regards!
...JRF...
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-19-2003 09:35 AM
06-19-2003 09:35 AM
Re: Memory usage
Do you know the value of your kernel parameter dbc_max_pct is? If not, run the command below and post its output:
# kmtune -q dbc_max_pct
If your dbc_max_pct is 50 (default value), you should bring it down to around 8 (based on 4GB RAM).
Hai
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-19-2003 10:11 AM
06-19-2003 10:11 AM
Re: Memory usage
glance -adviser_only -syntax shmem.syntax -iterations 2 2>/dev/null
Cross reference with NATTCH in 'ipcs'.
Here's a good thread:
http://forums.itrc.hp.com/cm/QuestionAnswer/1,,0xc27046ff9277d511abcd0090277a778c,00.html
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-19-2003 11:23 AM
06-19-2003 11:23 AM
Re: Memory usage
just kidding, Glance is great at evaluation of problems like this. It will pinpoint where the problem is, as well as list the hogs. Many times, it is not one thing causing problems, but several.
Install the trial version from CD if you have not already. Then buy it from HP. Not a better tool I can think of for HP-UX.
Regards,
Shannon
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-19-2003 11:47 AM
06-19-2003 11:47 AM
Re: Memory usage
That is it will show you SGA,PGA and other memory metrics from Oracle's perspective.
From the system perspective as people said use Glance.I use perfView which is another excellent tool from HP.
hope this helps
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-19-2003 12:42 PM
06-19-2003 12:42 PM
Re: Memory usage
You must understand this that OS try to use
the RAM and when running processes could stay
in the RAM and not go to swap the OS leave
them in RAM so the time of write/read from swap
not exist so your process run faster.
It's not mater the OS do the work of swapping
so don't wory.
To see which process take what size use the
top or for more info use glance plus.
Caesar
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-19-2003 01:54 PM
06-19-2003 01:54 PM
Re: Memory usage
I also support as told by Hai. I think your dbc_max_pct is still at the default value (50%).
If that is the case change it as early as possible to 8%. By the way, what is the output of sar -b 5 10. If the %rcache is near 100% you can bring down to 7% also. What ever you do the %rcache should not go down below 90%.
Sandip
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-20-2003 07:56 AM
06-20-2003 07:56 AM
Re: Memory usage
sar -b 5 10 shows rcache at 100%
I will try changing dbc_max_pct to 8 and see how the system is then.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-20-2003 09:08 AM
06-20-2003 09:08 AM
Re: Memory usage
For sure, after you have set dbc_max_pct down to 8, you will notice the change (for better) in memory utilization. With the default setting, dbc_max_pct gradually eats up RAM until it reaches the maximum allowed (50% or 2GB in your case.) HP recommends dbc_max_pct be set up to 300MB on a system. In addition, your oracle DBs already have their own SGAs and do not depend on dynamic buffer cache.
Hai