Page 1 of 1

swap usage + 32 GB ram...

Posted: 02 Mar 2018 19:52
by Keyko
Hello!

I have a NAS with 32GB ECC RAM. i use ZFS raid z2 (8 disk * 4TB). At first I used SSD, but then I switched to flash. I have the embedded version on 8 GB flash, swap 2 GB.

The consumption of RAM is 97% almost all the time, so the use of swap ~ 100-300 mb begins.

How can I prevent swap from being used?

Regards !

Re: swap usage + 32 GB ram...

Posted: 02 Mar 2018 20:25
by b0ssman
what services or addons are you using?

Re: swap usage + 32 GB ram...

Posted: 02 Mar 2018 20:42
by Keyko
samba + 1 vm + dlna

Re: swap usage + 32 GB ram...

Posted: 03 Mar 2018 09:15
by raulfg3
check this post , perhaps can help: https://www.nas4free.org/forums/viewtop ... 57&t=13458

Re: swap usage + 32 GB ram...

Posted: 03 May 2018 21:02
by 1denizci
Keyko wrote:Hello!

I have a NAS with 32GB ECC RAM. i use ZFS raid z2 (8 disk * 4TB). At first I used SSD, but then I switched to flash. I have the embedded version on 8 GB flash, swap 2 GB.

The consumption of RAM is 97% almost all the time, so the use of swap ~ 100-300 mb begins.

How can I prevent swap from being used?

Regards !
From console you can type swapoff command. But there is something strange in your system. Consider reviewing process list using ps command and terminate unnecessary ones.


Vestel_5530 cihazımdan Tapatalk kullanılarak gönderildi


Re: swap usage + 32 GB ram...

Posted: 06 May 2018 09:06
by rocket
I've done some tuning on my system to try to get smbd to play nice. not always successful due to a memory leak.