This is the old XigmaNAS forum in read only mode,
it will taken offline by the end of march 2021!



I like to aks Users and Admins to rewrite/take over important post from here into the new fresh main forum!
Its not possible for us to export from here and import it to the main forum!

High RAM consumption - ZFS ?

Forum rules
Set-Up GuideFAQsForum Rules
Post Reply
drnicolas
Advanced User
Advanced User
Posts: 180
Joined: 15 Aug 2013 14:03
Location: Wiesbaden, Germany
Status: Offline

High RAM consumption - ZFS ?

Post by drnicolas »

I see, that my RAM consumption increases a few minutes after reboot to 82-83% and stays there.
I see this now for about 36h.

Who eats up my RAM? I have 12GB of ECC-RAM and newest build 1349

I am asking this, because I see reproducable Crashs/reboots by doing backups Jobs to a ZFS volume.
HP Proliant N54L - Bios Mod -16GB non-ECC-RAM - ZFS RAIDZ1 (3x3TB) - 1VM running XigmaNAS 11.2.0.4.6026

User avatar
b0ssman
Forum Moderator
Forum Moderator
Posts: 2438
Joined: 14 Feb 2013 08:34
Location: Munich, Germany
Status: Offline

Re: High RAM consumption - ZFS ?

Post by b0ssman »

what are your loader.conf settings.
Nas4Free 11.1.0.4.4517. Supermicro X10SLL-F, 16gb ECC, i3 4130, IBM M1015 with IT firmware. 4x 3tb WD Red, 4x 2TB Samsung F4, both GEOM AES 256 encrypted.

drnicolas
Advanced User
Advanced User
Posts: 180
Joined: 15 Aug 2013 14:03
Location: Wiesbaden, Germany
Status: Offline

Re: High RAM consumption - ZFS ?

Post by drnicolas »

System/Advanced/loader.conf

does not show ANYthing !!
HP Proliant N54L - Bios Mod -16GB non-ECC-RAM - ZFS RAIDZ1 (3x3TB) - 1VM running XigmaNAS 11.2.0.4.6026

User avatar
b0ssman
Forum Moderator
Forum Moderator
Posts: 2438
Joined: 14 Feb 2013 08:34
Location: Munich, Germany
Status: Offline

Re: High RAM consumption - ZFS ?

Post by b0ssman »

check /cf/boot/loader.conf
Nas4Free 11.1.0.4.4517. Supermicro X10SLL-F, 16gb ECC, i3 4130, IBM M1015 with IT firmware. 4x 3tb WD Red, 4x 2TB Samsung F4, both GEOM AES 256 encrypted.

User avatar
b0ssman
Forum Moderator
Forum Moderator
Posts: 2438
Joined: 14 Feb 2013 08:34
Location: Munich, Germany
Status: Offline

Re: High RAM consumption - ZFS ?

Post by b0ssman »

also please respond to the posts in threads you create.

viewtopic.php?f=66&t=8339&p=50610#p50610

do no create new threads for the same problem.
Nas4Free 11.1.0.4.4517. Supermicro X10SLL-F, 16gb ECC, i3 4130, IBM M1015 with IT firmware. 4x 3tb WD Red, 4x 2TB Samsung F4, both GEOM AES 256 encrypted.

drnicolas
Advanced User
Advanced User
Posts: 180
Joined: 15 Aug 2013 14:03
Location: Wiesbaden, Germany
Status: Offline

Re: High RAM consumption - ZFS ?

Post by drnicolas »

Okay. This is the content of /cf/boot/loder.conf:

Code: Select all

mfsroot_load="NO"
mfsroot_type="mfs_root"
mfsroot_name="/mfsroot"
hw.est.msr_info="0"
hw.hptrr.attach_generic="0"
kern.maxfiles="65536"
kern.maxfilesperproc="60000"
kern.cam.boot_delay="8000"
autoboot_delay="3"
isboot_load="YES"
zfs_load="YES"
xmfsroot_load="YES"
xmfsroot_type="xmd_root"
xmfsroot_name="/mfsroot.uzip"
geom_xmd_load="YES"
# ZFS kernel tune
vm.kmem_size="10752M"
vfs.zfs.arc_min="9216M"
vfs.zfs.arc_max="9216M"
vfs.zfs.prefetch_disable="1"
vfs.zfs.txg.timeout="5"
vfs.zfs.vdev.max_pending="10"
vfs.zfs.vdev.min_pending="4"
vfs.zfs.write_limit_override="0"
vfs.zfs.no_write_throttle="0"
In another posting there was a hint that - at least for 32bit - wrong values for some zfs-parameters can cause crashs.
At first, I thought that my problem has gone after changing the values according t the suggestions of ZFS Kernel tune. But this seems not to be true.

The crashs did not stop
HP Proliant N54L - Bios Mod -16GB non-ECC-RAM - ZFS RAIDZ1 (3x3TB) - 1VM running XigmaNAS 11.2.0.4.6026

drnicolas
Advanced User
Advanced User
Posts: 180
Joined: 15 Aug 2013 14:03
Location: Wiesbaden, Germany
Status: Offline

Re: High RAM consumption - ZFS ?

Post by drnicolas »

I just see that my ZFS volume has "synchronisation" set to disabled.
Can this cause my crashs ?
HP Proliant N54L - Bios Mod -16GB non-ECC-RAM - ZFS RAIDZ1 (3x3TB) - 1VM running XigmaNAS 11.2.0.4.6026

drnicolas
Advanced User
Advanced User
Posts: 180
Joined: 15 Aug 2013 14:03
Location: Wiesbaden, Germany
Status: Offline

Re: High RAM consumption - ZFS ?

Post by drnicolas »

Maybe the settings for vm.kmemsize and vfs.zfs.arc_min is the solution arc_min / kmem_size is about 0,85 which is close to the 82% mentioned.
HP Proliant N54L - Bios Mod -16GB non-ECC-RAM - ZFS RAIDZ1 (3x3TB) - 1VM running XigmaNAS 11.2.0.4.6026

User avatar
b0ssman
Forum Moderator
Forum Moderator
Posts: 2438
Joined: 14 Feb 2013 08:34
Location: Munich, Germany
Status: Offline

Re: High RAM consumption - ZFS ?

Post by b0ssman »

have you done the suggested work form the other thread?
Nas4Free 11.1.0.4.4517. Supermicro X10SLL-F, 16gb ECC, i3 4130, IBM M1015 with IT firmware. 4x 3tb WD Red, 4x 2TB Samsung F4, both GEOM AES 256 encrypted.

drnicolas
Advanced User
Advanced User
Posts: 180
Joined: 15 Aug 2013 14:03
Location: Wiesbaden, Germany
Status: Offline

Re: High RAM consumption - ZFS ?

Post by drnicolas »

I think, I have done the homework, if you think of tweaking the Settings:

Code: Select all

login as: root
root@hp-nas's password:
Last login: Sun Mar  1 12:21:36 2015
Welcome to NAS4Free!
hp-nas: ~ #  sysctl vm.kmem_size vfs.zfs.arc_min vfs.zfs.arc_max
vm.kmem_size: 11274289152
vfs.zfs.arc_min: 9663676416
vfs.zfs.arc_max: 9663676416
HP Proliant N54L - Bios Mod -16GB non-ECC-RAM - ZFS RAIDZ1 (3x3TB) - 1VM running XigmaNAS 11.2.0.4.6026

User avatar
b0ssman
Forum Moderator
Forum Moderator
Posts: 2438
Joined: 14 Feb 2013 08:34
Location: Munich, Germany
Status: Offline

High RAM consumption - ZFS ?

Post by b0ssman »

But you have not removed the 4gb memory stick.


Sent from my iPhone using Tapatalk

drnicolas
Advanced User
Advanced User
Posts: 180
Joined: 15 Aug 2013 14:03
Location: Wiesbaden, Germany
Status: Offline

Re: High RAM consumption - ZFS ?

Post by drnicolas »

Yes, I hav a 4GB Stick. But I think NAS4Free is installed there and the stick is needed for boot
HP Proliant N54L - Bios Mod -16GB non-ECC-RAM - ZFS RAIDZ1 (3x3TB) - 1VM running XigmaNAS 11.2.0.4.6026

User avatar
b0ssman
Forum Moderator
Forum Moderator
Posts: 2438
Joined: 14 Feb 2013 08:34
Location: Munich, Germany
Status: Offline

Re: High RAM consumption - ZFS ?

Post by b0ssman »

memory as in ram

do you even read the posts in your other threads

viewtopic.php?f=66&t=8339&p=50610#p50615
Nas4Free 11.1.0.4.4517. Supermicro X10SLL-F, 16gb ECC, i3 4130, IBM M1015 with IT firmware. 4x 3tb WD Red, 4x 2TB Samsung F4, both GEOM AES 256 encrypted.

Post Reply

Return to “ZFS (only!)”