Visit Our UNIX and Linux User Community


Memory Missing ?


 
Thread Tools Search this Thread
Operating Systems Solaris Memory Missing ?
# 1  
Old 08-14-2009
Memory Missing ?

Hello All,

I have oracle running on Solaris 5.10 SPARC 64bit.
Physical memory is 16Gb.

Code:
 NPROC USERNAME  SWAP   RSS MEMORY      TIME  CPU
   114 oraprd     13G   13G    82% 513:25:53 0.4%
    46 root      180M  225M   1.4% 149:13:33 0.1%
     6 daemon     42M   45M   0.3%  14:01:59 0.0%

the above prstat -t shows the usage is 13g+225m+45m ~= 14g
So, there should be 2Gb left free isn't it ?

But top command says only 888m is free.

top
Code:
CPU states: 97.3% idle,  1.3% user,  1.4% kernel,  0.0% iowait,  0.0% swap
Memory: 16G phys mem, 888M free mem, 16G swap, 16G free swap

vmstat
Code:
 0 0 0 15267768 907448 389 1304 0 4 4 0  0  0  0  0  0 1791 6466 2342  1  1 98

Could someone help me figure out where the memory has gone ?
Are there some memory consuming processes which are not shown in prstat ?

TIA,
John
# 2  
Old 08-14-2009
Quote:
Originally Posted by JohnJacobChacko
Could someone help me figure out where the memory has gone ?
What says:
Code:
kstat -n system_pages

# 3  
Old 08-14-2009
Hi,

Code:
 kstat -n system_pages
module: unix                            instance: 0
name:   system_pages                    class:    pages
        availrmem                       461413
        crtime                          66.127922396
        desfree                         15917
        desscan                         25
        econtig                         71303168
        fastscan                        139873
        freemem                         113888
        kernelbase                      16777216
        lotsfree                        31834
        minfree                         7958
        nalloc                          35809032
        nalloc_calls                    14227
        nfree                           25497809
        nfree_calls                     9262
        nscan                           0
        pagesfree                       113888
        pageslocked                     1541317
        pagestotal                      2037418
        physmem                         2042666
        pp_kernel                       297263
        slowscan                        100
        snaptime                        11914951.224096

TIA,
John
# 4  
Old 08-14-2009
2.2 GB (pp_kernel =297263) is used by the kernel. Is isn't shown by prstat as the kernel isn't a process.
# 5  
Old 08-16-2009
Quote:
Originally Posted by jlliagre
2.2 GB (pp_kernel =297263) is used by the kernel. Is isn't shown by prstat as the kernel isn't a process.

Is pp_kernel in Kbytes ? How did you come to the conclusion that the kernel takes 2.2 Gb ?

TIA,
John
# 6  
Old 08-16-2009
These values represent a number of pages. On x86, page size is 4K while on SPARC, it is 8K.
# 7  
Old 08-19-2009
if you are using zfs then that is where its at. zfs caches the memory. download the arcstat.pl script from here if you are.

Previous Thread | Next Thread
Test Your Knowledge in Computers #816
Difficulty: Medium
In CSS, E#myid matches an E element with a 'myid' class name.
True or False?

9 More Discussions You Might Find Interesting

1. Red Hat

Yum - resolving missing dependencies that are not missing

I am trying to install VirtualBox on RHEL 5 but I need the 32 bit version for 32 bit Windows. When I run yum I get the following: sudo yum localinstall /auto/spvtg-it/spvss-migration/Software/VirtualBox-4.3-4.3.2_90405_el6-1.i686.rpm Loaded plugins: fastestmirror Setting up Local Package... (13 Replies)
Discussion started by: gw1500se
13 Replies

2. SuSE

How to resolve missing missing dependencies with opensuse 11.3 and 12.3?

Hello, This is a programming question as well as a suse question, so let me know if you think I should post this in programming. I have an application that I compiled under opensuse 12.2 using g77-3.3/g++3.3. The program compiles and runs just fine. I gave the application to a colleague who... (2 Replies)
Discussion started by: LMHmedchem
2 Replies

3. Solaris

[DOUBT] Memory high in idle process on Solaris 10 (Memory Utilization > 90%)

Hi Experts, Our servers running Solaris 10 with SAP Application. The memory utilization always >90%, but the process on SAP is too less even nothing. Why memory utilization on solaris always looks high? I have statement about memory on solaris, is this true: Memory in solaris is used for... (4 Replies)
Discussion started by: edydsuranta
4 Replies

4. UNIX for Advanced & Expert Users

Out of Memory error when free memory size is large

I was running a program and it stopped and showed "Out of Memory!". at that time, the RAM used by this process is around 4G and the free memory size of the machine is around 30G. Does anybody know what maybe the reason? this program is written with Perl. the OS of the machine is Solaris U8. And I... (1 Reply)
Discussion started by: lilili07
1 Replies

5. Solaris

restrcit physical memory with zone.max-locked-memory

Is it possible to restrict physical memory in solaris zone with zone.max-locked-memory just like we can do with rcapd ? I do not want to used rcapd (1 Reply)
Discussion started by: fugitive
1 Replies

6. Programming

How to deal with lots of data in memory in order not to run out of memory

Hi, I'm trying to learn how to manage memory when I have to deal with lots of data. Basically I'm indexing a huge file (5GB, but it can be bigger), by creating tables that holds offset <-> startOfSomeData information. Currently I'm mapping the whole file at once (yep!) but of course the... (1 Reply)
Discussion started by: emitrax
1 Replies

7. Solaris

How to find Total and Free Physical Memory and Logical Memory in SOLARIS 9

Hi, Im working on Solaris 9 on SPARC-32 bit running on an Ultra-80, and I have to find out the following:- 1. Total Physical Memory in the system(total RAM). 2. Available Physical Memory(i.e. RAM Usage) 3. Total (Logical) Memory in the system 4. Available (Logical) Memory. I know... (4 Replies)
Discussion started by: 0ktalmagik
4 Replies

8. AIX

ulimits max locked memory virtual memory

Hi, Would any one be so kind to explain me : are ulimits defined for each user seperately ? When ? Specialy what is the impact of : max locked memory and virtual memory on performance of applications for a user. Many thanks. PS : this is what I can see in MAN : ulimit ] ... (5 Replies)
Discussion started by: big123456
5 Replies

9. UNIX for Advanced & Expert Users

Shared memory shortage but lots of unused memory

I am running HP-UX B.11.11. I'm increasing a parameter for a database engine so that it uses more memory to buffer the disk drive (to speed up performance). I have over 5GB of memory not being used. But when I try to start the DB with the increased buffer parameter I get told. "Not... (1 Reply)
Discussion started by: cjcamaro
1 Replies

Featured Tech Videos