*New 12.1 series Release:
2019-11-08: XigmaNAS 12.1.0.4.7091 - released!

*New 11.3 series Release:
2019-10-19: XigmaNAS 11.3.0.4.7014 - released


We really need "Your" help on XigmaNAS https://translations.launchpad.net/xigmanas translations. Please help today!

Producing and hosting XigmaNAS costs money. Please consider donating for our project so that we can continue to offer you the best.
We need your support! eg: PAYPAL

Growing Ram Usage

Green PC, UPS, Power saving, etc.
Forum rules
Set-Up GuideFAQsForum Rules
Post Reply
wbravin
Starter
Starter
Posts: 28
Joined: 06 Apr 2016 11:27
Status: Offline

Growing Ram Usage

#1

Post by wbravin » 06 Mar 2017 10:36

Hello Here is my Build

nas4free.local
Version 11.0.0.4 - Sayyadina (revision 3252)
Compiled Sunday November 20 21:58:54 CET 2016
Platform OS FreeBSD 11.0-RELEASE-p3 #0 r308871M: Sun Nov 20 02:21:03 CET 2016
Platform x64-embedded on AMD FX(tm)-6300 Six-Core Processor
System ASUSTeK COMPUTER INC. M5A97 EVO R2.0
System bios American Megatrends Inc. version: 2501 04/09/2014
System time Monday March 06 10:21:25 CET 2017
System uptime 2 day(s) 3 hour(s) 32 minute(s) 15 second(s)
System last config change Wednesday January 11 00:21:35 CET 2017
CPU temperature
°C Memory usage 54% of 16115 MB *RAM is 4X4 ECC
Swap usage 0% of 4GB
Device: /dev/da0p3 | Total: 4G | Used: 0B | Free: 4G

Load averages [Show Process Information]
Disk space usage Media 24% of 3.62TB
Total: 3.62T | Alloc: 904G | Free: 2.74T | State:
UPS Status ups1


I use this build to store and retrieve my media and personal files. When I boot the system |It shows memory usage of 9 % as I download to the NAs files the ram usage is quite stable however when I play the media on my htpc the usage of the ram increases by about 8 % every time I use it to a point at the end of the week memory usage reaches 97% and I then need to reboot the NAS. At this pint the NAS memory returns to 9 % .

I am running 4 X1 TB HD in ZFS

My HTPC is running Kodi 17

My NAS is connected to the router via an \\\\gb power line connector

I looks like the solution is not clearing the memory following usage. Watching videos leaves a greater residual than listening to music.


What am I doing wrong and what should I change in my configuration?


Thank you in advance for you assistance

B
Server = ASUS M5A97 MB 16GB ram 13TB of WD RED running Nas4free 11.2.0.4 to mange media and documents. And it works perfectly until i screw it up LOL :twisted:

User avatar
raulfg3
Site Admin
Site Admin
Posts: 4968
Joined: 22 Jun 2012 22:13
Location: Madrid (ESPAÑA)
Contact:
Status: Offline

Re: Growing Ram Usage

#2

Post by raulfg3 » 06 Mar 2017 11:32

revise arc.min and max in loader.conf and adjust to 1/2 of your physical RAM to avoid exaust it.

my config:
1.jpg
You do not have the required permissions to view the files attached to this post.
12.0.0.4 (revision 6766)+OBI on SUPERMICRO X8SIL-F 8GB of ECC RAM, 12x3TB disk in 3 vdev in RaidZ1 = 32TB Raw size only 22TB usable

Wiki
Last changes

wbravin
Starter
Starter
Posts: 28
Joined: 06 Apr 2016 11:27
Status: Offline

Re: Growing Ram Usage

#3

Post by wbravin » 06 Mar 2017 22:02

Thank you raulfg3 for your quick response. If I understand you correctly I should put the minimum and maximum to 8GB. It was currently at 1gb and 2 gb respectfully.

Once again Thank you

William
Server = ASUS M5A97 MB 16GB ram 13TB of WD RED running Nas4free 11.2.0.4 to mange media and documents. And it works perfectly until i screw it up LOL :twisted:

User avatar
raulfg3
Site Admin
Site Admin
Posts: 4968
Joined: 22 Jun 2012 22:13
Location: Madrid (ESPAÑA)
Contact:
Status: Offline

Re: Growing Ram Usage

#4

Post by raulfg3 » 06 Mar 2017 23:34

wbravin wrote:
06 Mar 2017 22:02
Thank you raulfg3 for your quick response. If I understand you correctly I should put the minimum and maximum to 8GB. It was currently at 1gb and 2 gb respectfully.

Once again Thank you

William
yes, but this is a test, you need to test 8GB and revise up or down acording to your experience (stability).

PD: What do you use to play in htpc?

minidlna or fuppes or other?

I use minidlna for years and never have RAM exhaust problems.
12.0.0.4 (revision 6766)+OBI on SUPERMICRO X8SIL-F 8GB of ECC RAM, 12x3TB disk in 3 vdev in RaidZ1 = 32TB Raw size only 22TB usable

Wiki
Last changes

wbravin
Starter
Starter
Posts: 28
Joined: 06 Apr 2016 11:27
Status: Offline

Re: Growing Ram Usage

#5

Post by wbravin » 07 Mar 2017 01:52

Hello Raulfg3.

mindlna is activated all with default values. However when I looked more closely I could not reach http://:8200/status.

I use my HTPV to play my music, my videos and watch my TV

Since I made the changes you mentioned, I watch 3 one hour shows and now listening to music, and my ram usage went from 6% to 24% . I will keep monitoring it as the days pass. Thank you
Server = ASUS M5A97 MB 16GB ram 13TB of WD RED running Nas4free 11.2.0.4 to mange media and documents. And it works perfectly until i screw it up LOL :twisted:

User avatar
raulfg3
Site Admin
Site Admin
Posts: 4968
Joined: 22 Jun 2012 22:13
Location: Madrid (ESPAÑA)
Contact:
Status: Offline

Re: Growing Ram Usage

#6

Post by raulfg3 » 07 Mar 2017 07:18

wbravin wrote:
07 Mar 2017 01:52
Hello Raulfg3.

mindlna is activated all with default values. However when I looked more closely I could not reach http://:8200/status.
somethin is badconfigured in your NAS.

you need to see http://YourIP:8200/status

eg: http://192.168.1.1:8200/status <- IP must be the IP or Hostname of your NAS in my case http://Nas4free:8200/status

Revise System | General | Hostname & DNS settings, and Network > LAN Management and post your config to revise, if use DHCP, can be your router that do not pass all the info to your NAS.
12.0.0.4 (revision 6766)+OBI on SUPERMICRO X8SIL-F 8GB of ECC RAM, 12x3TB disk in 3 vdev in RaidZ1 = 32TB Raw size only 22TB usable

Wiki
Last changes

hailthemelody
Starter
Starter
Posts: 39
Joined: 26 Feb 2017 15:03
Status: Offline

Re: Growing Ram Usage

#7

Post by hailthemelody » 10 Mar 2017 05:12

Unless I'm mistaken, I believe it's the nature of NAS4Free to grow RAM usage as much as possible so that "extra" RAM is being used as cache, which speeds up access rather than searching disks, which prevents some wear-and-tear and is exponentially faster. In your case if you need more RAM to be available for certain services than lowering the overhead might be wise (I'm not sure in this case), but overall it's a good thing that your RAM is being used.

Post Reply

Return to “Other hardware”