FreeNAS uses only 8 Gb ram

Dhy1

Explorer
Joined
Feb 6, 2019
Messages
81
Hi, my pc (fx 8370, 16 gb RAM, 4 TB hdd, 60 Gb ssd) has freenas and uses 8 GB of RAM (also using other ram the same thing happens). The bios is updated and sees 16 gb and also the memTest says that all is well. Do you know how it can manage to use all my 16 GB of ram?

[root@DhimmiServer ~]# dmesg | grep memory
real memory = 17179869184 (16384 MB)
avail memory = 8194711552 (7815 MB)

[root@DhimmiServer ~]# uname -a
FreeBSD DhimmiServer.local 11.2-STABLE FreeBSD 11.2-STABLE #0 r325575+9a3c7d8b53f(HEAD): Wed Mar 27 12:41:58 EDT 2019 root@mp20.tn.ixsystems.com:/freenas-releng/freenas/_BE/objs/freenas-releng/freenas/_BE/os/sys/FreeNAS.amd64 amd64
 
Joined
Oct 18, 2018
Messages
969
Hi. I don't have a solution for your issue but I do have a suggest to help you get better answers. First, please include the code in code blocks. It helps improve readability. Also, please take a look at the Forum Rules. It would help if you clearly state your specific hardware including exact model numbers. I suggest you edit your first post with as much information as you can include. Probably worth throwing in BIOS if you're having memory issues. Taking those steps above greatly increases the likelihood more folks will respond. Take a look at my signature for an example of specific hardware descriptions.
 

Apollo

Wizard
Joined
Jun 13, 2013
Messages
1,458
How do you use your system?
Do you use it to store files via SMB? If you have pictures or video, then play from the shared drive or copy from your Freenas box to your PC. As the data will get accessed by ZFS, it will slowly consume the available RAM up to almost the maximum.
 

wblock

Documentation Engineer
Joined
Nov 14, 2014
Messages
1,506
[root@DhimmiServer ~]# dmesg | grep memory
real memory = 17179869184 (16384 MB)
avail memory = 8194711552 (7815 MB)
That is not memory used, but detected memory at boot. It is common for some of the total memory installed to be used by motherboard resources. It is not common for over half to be used up that way. Could be a hardware configuration problem, or maybe even bad memory that is detected but then locked out. Hard to say with so little information.

Actual memory usage can be seen with Display System Processes from the menu, which is the output of top(1) from the command line.
 

sretalla

Powered by Neutrality
Moderator
Joined
Jan 1, 2016
Messages
9,703
Did you turn on autotune?

It's possible that you have set limits based on 8GB with autotune and it will not change those settings.
 

Redcoat

MVP
Joined
Feb 18, 2014
Messages
2,925

Redcoat

MVP
Joined
Feb 18, 2014
Messages
2,925
And nothing in System, Tunables?
 

Dhy1

Explorer
Joined
Feb 6, 2019
Messages
81
2e2e.JPG
 

Redcoat

MVP
Joined
Feb 18, 2014
Messages
2,925
No - in System, Tunables:

1555600995942.png
 

droeders

Contributor
Joined
Mar 21, 2016
Messages
179
It's probably worth booting a recent Linux distribution and see if it has the same problem.
 

HoneyBadger

actually does care
Administrator
Moderator
iXsystems
Joined
Feb 6, 2014
Messages
5,112
Your ARC is capped at 5GB which is way too low for a 16GB system.

Do you have a bunch of jails/plugins running? On a freshly booted 16GB system I have this:

Code:
root@freenas:~ # dmesg | grep memory
real memory  = 18253611008 (17408 MB)
avail memory = 16571641856 (15803 MB)
 

SweetAndLow

Sweet'NASty
Joined
Nov 6, 2013
Messages
6,421
sorry I did not understand . yes, I have many
Did you want those tunables? If you don't know what they are delete all of them. Most systems don't have any.
 

Dhy1

Explorer
Joined
Feb 6, 2019
Messages
81
Your ARC is capped at 5GB which is way too low for a 16GB system.

Do you have a bunch of jails/plugins running? On a freshly booted 16GB system I have this:

Code:
root@freenas:~ # dmesg | grep memory
real memory  = 18253611008 (17408 MB)
avail memory = 16571641856 (15803 MB)
I have 4 plugins active they don't seem to me much . how can i increase the ARC? so as to use all 16 gb
 

Dhy1

Explorer
Joined
Feb 6, 2019
Messages
81
Did you want those tunables? If you don't know what they are delete all of them. Most systems don't have any.

No I didn't want them. I didn't put them in. Yes they are put automatically, can I delete it? Will my problem be solved?
 

SweetAndLow

Sweet'NASty
Joined
Nov 6, 2013
Messages
6,421
No I didn't want them. I didn't put them in. Yes they are put automatically, can I delete it? Will my problem be solved?
Yeah delete them, they got put in when you enabled auto tune. You probably shouldn't have done that.
 
Top