Unable to find 8 gb of memory

Thread Tools Search this Thread
Operating Systems Solaris Unable to find 8 gb of memory
# 8  
Old 08-15-2009
Yes i 'm using ZFS, And can u plz tell how did u calculate the memory i was not able to get that .. but yes the stats u gave were correct as per top.

The same thing is happening with my Ldoms too they start with 3.5 gb free mem and end up with 1.5G free though nothing is running in them.
# 9  
Old 08-15-2009
If you are running ZFS and LDOMs, what is the problem you are trying to fix ? Having 8 GB free isn't a problem per se.

About calculating, the numbers reported by kstat are in pages, and pages are 8 KB on SPARC.
# 10  
Old 08-15-2009
In the SunOS/Solaris environment, main memory/physical memory should really be called the page cache. Think of it as cache of storage rather than program/data memory. To Solaris, any empty page is wasted faster-than-disk storage. Over time, the amount of free memory will settle at some value bigger than lotsfree (google it). If half your memory is free, then you don't have any pressure on the page cache. So you are chasing numbers rather than fixing an issue.....
# 11  
Old 08-16-2009
Thanx for info Jlliagre , its quite helpful just to add we can find how much memory zfs is using with following command

kstat zfs:0:arcstats:size which give above 5G in my server. But isn't there any way to tune zfs not to use that much memory ? or put its cache somewhere else
# 12  
Old 08-16-2009
Originally Posted by fugitive
But isn't there any way to tune zfs not to use that much memory ?
Yes but what's the point to tune for poorer performance when you have plenty of RAM available ?
This ZFS memory is actually available should demand arrive from applications.
Unlike the ZFS one, UFS file cache is reported it as free memory so it doesn't trigger this kind of questions.
or put its cache somewhere else
Like what ?
# 13  
Old 08-16-2009
you can cap the memory ZFS uses. also you can buy some ssd disks and use them as cache... but why would you do this if you've 8gig of free memory?
# 14  
Old 08-19-2009
It is ZFS

if you are using zfs that is where your memory goes. By design zfs caches memory. It is called the arc cache. It will release memory based on system needs but is going to take as much as there is avaliable for its cache. It is recommended not to modify this and let zfs manage it for you, however you can adjust it by modifying your /etc/system file to minimize the amount of memory that zfs can reserve for its arc. If you want to see how much zfs is using go to this site and get arcstat.pl and run it on your system Monitoring ZFS Statistic - Roman Ivanov

the output will look like so:

# ./arcstat.pl
Time read miss miss% dmis dm% pmis pm% mmis mm% arcsz c
14:20:55 343M 36M 10 34M 10 2M 10 1M 0 10G 10G
14:20:56 11 0 0 0 0 0 0 0 0 10G 10G
14:20:57 3 0 0 0 0 0 0 0 0 10G 10G
14:20:58 6 0 0 0 0 0 0 0 0 10G 10G
14:20:59 26 0 0 0 0 0 0 0 0 10G 10G
14:21:00 6 0 0 0 0 0 0 0 0 10G 10G

This shows me that zfs on my system is cacheing 10g of physical memory. I would be willing to bet you will find your 8g there.
Login or Register to Ask a Question

Previous Thread | Next Thread

10 More Discussions You Might Find Interesting

1. UNIX for Beginners Questions & Answers

Unable to find package

Hi there. I'm putting together a small cluster of Raspberry pis running Raspbian. They've all been setup identically from the same sd image. They all update and install perfectly except one node which refuses to install anything. It has exactly the same login, network, user details etc,... (3 Replies)
Discussion started by: MuntyScrunt
3 Replies

2. AIX

Unable to change memory

Hello All, So it goes like this... I logged in to the HMC console , trying to change the memory of LPAR from 20 to 25 GB . It says that "your profile is configured to use maximum of only 20 GB" and not able to increase the memory. I created a new profile and filled "maximum memory " field... (4 Replies)
Discussion started by: gull05
4 Replies

3. HP-UX

How to find the used memory in HP-UX?

Hi all, Can any please provide how to calculate the cpu and memory usage of HP-UX server. Thanks in advance. (6 Replies)
Discussion started by: ssk250
6 Replies

4. Red Hat

Unable to view output of Sar File for memory

Hi I am unable to view the output of sar file using below command sar -f sar07, it is showing below error. Invalid system activity file: sar07 (0x920) above file is in location /var/log/sa wheather for memory it is creating the file at different location? (1 Reply)
Discussion started by: manoj.solaris
1 Replies

5. Solaris

unable to allocate enough memory

On SunOS 10 get an error when starting a large Java process with over 2Gb memory. Error occurred during initialization of VM Could not reserve enough space for object heap i have 32G memory !! , swap = 31G Please any advice !!! (3 Replies)
Discussion started by: moata_u
3 Replies

6. Red Hat

Unable to remove shared memory in Redhat Linux

unable to remove shared memory using ipcrm -m in linux $ ipcs -m ------ Shared Memory Segments -------- key shmid owner perms bytes nattch status 0x00000000 32768 root 644 80 2 0x00000000 65537 root ... (4 Replies)
Discussion started by: LinuxLearner
4 Replies

7. Solaris

unable to detect new cpu/memory module

Hi all, I just add in new cpu/memory module into SFV480 and unable to see new module on slot B. I already try many way like only 1 new module and swap the both module and boot up but still unable to see it. If I only install the module into slot B, then the server is unbootable at all. I... (1 Reply)
Discussion started by: mailbox80
1 Replies

8. 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

9. HP-UX

WAS 6.1 ND/Lawson ERP/HP-UX 11.23 PA-RISC - unable to attach shared memory segment

I'm not an HP-UX Admin professional, but rather a Lawson ERP installer. I'm looking for clues on how to troubleshoot this issue. I have WAS 6.1 ND running on HP-UX 11.23 PA-RISC with the Lawson ERP application . When I start the Lawson application, no errors arise. When I start WAS app server, an... (4 Replies)
Discussion started by: mrvitas
4 Replies

10. UNIX for Advanced & Expert Users

unable to allocate enough memory

On SunOS 5.8 I get an error when starting a large Java process with over 2Gb memory. Error occurred during initialization of VM Could not reserve enough space for object heap When stopping several other Java processes we can start this process. This seems to indicate that we don't have... (11 Replies)
Discussion started by: rein
11 Replies
Login or Register to Ask a Question