LinuxQuestions.org
Review your favorite Linux distribution.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Other *NIX Forums > Solaris / OpenSolaris
User Name
Password
Solaris / OpenSolaris This forum is for the discussion of Solaris, OpenSolaris, OpenIndiana, and illumos.
General Sun, SunOS and Sparc related questions also go here. Any Solaris fork or distribution is welcome.

Notices


Reply
  Search this Thread
Old 03-10-2010, 02:05 AM   #1
LinuxLover
Member
 
Registered: Feb 2004
Distribution: Centos 7 x86_64 , Rocky Linux 8 (aarch64)
Posts: 196

Rep: Reputation: 32
solaris with ZFS and informix DB memory issue.


Hi,

We are using Solaris 10 5/09 s10s_u7wos_08 SPARC

Patch level Generic_142900-02 (Dec 09 PatchCluster release)

Informix DB version 11.5FC6

OS File systems ZFS

System is connected with SAN wich is also configured with ZFS in OS.


Now Problem is Memory

Total memory in system Memory size: 32640 Megabytes

vmstat displays that only 4 GB is left

Code:
vmstat 1 3
 kthr      memory            page            disk          faults      cpu
 r b w   swap  free  re  mf pi po fr de sr s0 s4 sd --   in   sy   cs us sy id
 0 0 0 23060608 11491848 5 16 0 0  0  0  0  1 -0 27  0 1063 1777  901  0  0 100
 0 0 0 12122312 4326912 8 20 0  0  0  0  0  0  0  8  0 1163 3830  948  0  0 99
 0 0 0 12121992 4326656 0 1  0  0  0  0  0  0  0  7  0 1136 3308  787  0  0 100

While informix is using just 5 to 6 GB and no other process on the system is using significant memory.

On thoroughly investigating I found

Code:
mdb -k
Loading modules: [ unix genunix specfs dtrace zfs sd mpt px ldc ip hook neti sctp arp usba fcp fctl emlxs nca ssd lofs md cpc random crypto fcip logindmux ptm ufs sppp nfs ipc ]
> ::memstat
Page Summary                Pages                MB  %Tot
------------     ----------------  ----------------  ----
Kernel                     240843              1881    6%
ZFS File Data             3163768             24716   77%
Anon                        99395               776    2%
Exec and libs                5218                40    0%
Page cache                  33874               264    1%
Free (cachelist)           296163              2313    7%
Free (freelist)            262696              2052    6%

Total                     4101957             32046
Physical                  4070982             31804

ZFS File Data is using most of the memory.

Kindly help me what is that ? Is it normal behaviour ?
 
Old 03-10-2010, 05:37 AM   #2
jlliagre
Moderator
 
Registered: Feb 2004
Location: Outside Paris
Distribution: Solaris 11.4, Oracle Linux, Mint, Debian/WSL
Posts: 9,789

Rep: Reputation: 492Reputation: 492Reputation: 492Reputation: 492Reputation: 492
Yes. Unused memory is wasted memory anyway.
 
Old 03-10-2010, 11:49 PM   #3
LinuxLover
Member
 
Registered: Feb 2004
Distribution: Centos 7 x86_64 , Rocky Linux 8 (aarch64)
Posts: 196

Original Poster
Rep: Reputation: 32
Hi jlliagre,

Thanks for your reply.

Is the ZFS File Data memory is like the system cache memory.Which become available when required.


This is our main DB machine and memory is heavily demanded by databases on that.
 
Old 03-11-2010, 02:23 AM   #4
jlliagre
Moderator
 
Registered: Feb 2004
Location: Outside Paris
Distribution: Solaris 11.4, Oracle Linux, Mint, Debian/WSL
Posts: 9,789

Rep: Reputation: 492Reputation: 492Reputation: 492Reputation: 492Reputation: 492
That's it. Most of this memory is used by the ZFS ARC cache and this memory is made available to processes if demand occurs.

Note that you can limit the ARC cache size which make sense in some situations:

http://www.solarisinternals.com/wiki..._the_ARC_Cache
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
LXer: Solaris 10 5/08 Released: ZFS-Rooted Zones Getting Better! LXer Syndicated Linux News 0 10-16-2008 07:50 AM
Solaris variants and ZFS for file server madivad Solaris / OpenSolaris 28 03-18-2008 08:22 PM
Installing ZFS on an existing Solaris 10 installation custangro Solaris / OpenSolaris 7 09-10-2007 12:35 PM
Solaris Express ZFS vs Solaris 10 ZFS? kebabbert Solaris / OpenSolaris 8 06-29-2007 07:05 AM
ZFS Encryption in Solaris 10 06/06? as400 Solaris / OpenSolaris 16 04-03-2007 11:47 AM

LinuxQuestions.org > Forums > Other *NIX Forums > Solaris / OpenSolaris

All times are GMT -5. The time now is 09:50 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration