s_falahati
Cadet
- Joined
- Mar 13, 2018
- Messages
- 7
Hey,
I just started using FreeNAS since Saturday on a hardware I salvaged from my older PC with brand new hard drives. Following is the spec of the device:
Main Board: Asrock P67 Extreme 6
CPU: Intel Core i5 2500k
RAM: 16GB (4x4GB 2133)
GPU: Asus GTX 730 (Mainboard doesn't support Intel Graphics)
Boot Device: 60GB SP SSD on Intel SATA3 6G Slot 0
SSD Storage: 250GB Samsung 850Evo SSD (used for jails) on Intel SATA3 6G Slot 1
HDD Storage: ~16TiB (4x6TB WD RED in 'Media' configuration - RAIDZ1) on Intel SATA2 3G Slots 2 to 5
Now, on my first install, I had some problems with swap size and the famous `getswapspace` error. So after playing with it for a while, I tried reinstalling freeNAS to use it for real this time.
However, on an empty device, after selecting `ownCloud` plugin for installation I got this error again and therefore installation failed, leaving me with a lot of problems including but not limited to network interface disappearing and losing the ability to install any other plugin (or reinstall ownCloud).
Therefore I decided to reset the configuration via the terminal and give it another shot. I also skipped installing `ownCloud` as I suspected it might have some memory leak of a sort and used another similar plugin named `nextCloud`. I also have `Plex Server` installed but it has no library as of now as I am still in the process of moving my files to the new device and I am limited to 100Mbps connection of the Seagate Personal Cloud. So far so good.
However, I just double checked the device an hour ago and figured the RAM is almost full, here are the details of `top` sorted by size:
As you can see around 3GB of ram is used by the `httpd` processes and ultimately I have around 1.5GB (including cache) that can be free if needed, and already swap is filling up. So considering the fact that there is no VM, no active plugin (running, but not active in any sense) and the only thing the server did up until now was to transfer files via `smb`, is this normal? (Also what is the 14G used by `wired`? Is it arc? And if it is, should I be worry that it takes almost 80% of the ram?)
As you can see the swap size is 4GB and I have read somewhere on this forum that the swap size should be automatically set to 1x or 2x of memory size, is this somehow a bug? Can I increase the swap size just to be sure?
That being said, I already tried increasing the swap size with a swap file, however, `fstab` resets after each reboot maybe by the `freeNAS` itself, so unless I write a script to add it on each restart, I might be out of luck. But should I even try that and do I really need it?
This is also my first experience with FreeBSD or any other Linux distro for that matter except CentOS and RH.
I just started using FreeNAS since Saturday on a hardware I salvaged from my older PC with brand new hard drives. Following is the spec of the device:
Main Board: Asrock P67 Extreme 6
CPU: Intel Core i5 2500k
RAM: 16GB (4x4GB 2133)
GPU: Asus GTX 730 (Mainboard doesn't support Intel Graphics)
Boot Device: 60GB SP SSD on Intel SATA3 6G Slot 0
SSD Storage: 250GB Samsung 850Evo SSD (used for jails) on Intel SATA3 6G Slot 1
HDD Storage: ~16TiB (4x6TB WD RED in 'Media' configuration - RAIDZ1) on Intel SATA2 3G Slots 2 to 5
Now, on my first install, I had some problems with swap size and the famous `getswapspace` error. So after playing with it for a while, I tried reinstalling freeNAS to use it for real this time.
However, on an empty device, after selecting `ownCloud` plugin for installation I got this error again and therefore installation failed, leaving me with a lot of problems including but not limited to network interface disappearing and losing the ability to install any other plugin (or reinstall ownCloud).
Therefore I decided to reset the configuration via the terminal and give it another shot. I also skipped installing `ownCloud` as I suspected it might have some memory leak of a sort and used another similar plugin named `nextCloud`. I also have `Plex Server` installed but it has no library as of now as I am still in the process of moving my files to the new device and I am limited to 100Mbps connection of the Seagate Personal Cloud. So far so good.
However, I just double checked the device an hour ago and figured the RAM is almost full, here are the details of `top` sorted by size:
Code:
last pid: 84632; load averages: 0.28, 0.25, 0.23 up 0+14:08:14 15:14:36 83 processes: 1 running, 80 sleeping, 2 zombie CPU: 0.0% user, 0.0% nice, 0.0% system, 0.0% interrupt, 100% idle Mem: 88M Active, 248M Inact, 939M Laundry, 14G Wired, 303M Free ARC: 12G Total, 117M MFU, 12G MRU, 1637K Anon, 36M Header, 435M Other 12G Compressed, 17G Uncompressed, 1.46:1 Ratio Swap: 4096M Total, 22M Used, 4074M Free PID USERNAME THR PRI NICE SIZE RES STATE C TIME WCPU COMMAND 6857 www 1 21 0 460M 45992K lockf 2 0:00 0.00% httpd 63354 www 1 20 0 456M 26928K lockf 0 0:00 0.00% httpd 6859 www 1 20 0 456M 26912K kqread 2 0:00 0.00% httpd 6855 www 1 52 0 456M 26912K lockf 2 0:00 0.00% httpd 6856 www 1 52 0 456M 26912K lockf 2 0:00 0.00% httpd 6858 www 1 52 0 456M 26912K lockf 2 0:00 0.00% httpd 6802 root 1 20 0 456M 26896K select 2 0:01 0.00% httpd 6860 root 15 52 0 281M 219M umtxn 2 1:52 0.00% uwsgi 6742 88 16 20 0 235M 57540K select 1 0:12 0.02% mysqld 37307 root 1 20 0 235M 191M select 0 20:58 0.00% smbd 6756 972 17 48 0 203M 55716K uwait 3 0:28 0.01% Plex Media Server 213 root 20 20 0 191M 139M kqread 3 4:16 0.03% python3.6 6861 972 13 52 15 173M 47484K piperd 2 0:42 0.06% Plex Script Host 27834 root 1 20 0 170M 135M select 1 0:01 0.00% smbd 7043 972 17 52 0 157M 40176K usem 0 0:32 0.04% Plex DLNA Server 2991 root 1 20 0 147M 114M kqread 0 0:09 0.00% uwsgi 5817 root 6 20 0 132M 36576K select 0 0:07 0.00% python2.7 4667 root 6 20 0 132M 36972K select 2 0:07 0.01% python2.7 27850 root 1 20 0 128M 96224K select 3 0:00 0.00% smbd 27848 root 1 20 0 128M 96200K select 2 0:07 0.00% smbd 2980 root 1 52 0 101M 84028K select 3 0:45 0.00% python3.6
As you can see around 3GB of ram is used by the `httpd` processes and ultimately I have around 1.5GB (including cache) that can be free if needed, and already swap is filling up. So considering the fact that there is no VM, no active plugin (running, but not active in any sense) and the only thing the server did up until now was to transfer files via `smb`, is this normal? (Also what is the 14G used by `wired`? Is it arc? And if it is, should I be worry that it takes almost 80% of the ram?)
As you can see the swap size is 4GB and I have read somewhere on this forum that the swap size should be automatically set to 1x or 2x of memory size, is this somehow a bug? Can I increase the swap size just to be sure?
That being said, I already tried increasing the swap size with a swap file, however, `fstab` resets after each reboot maybe by the `freeNAS` itself, so unless I write a script to add it on each restart, I might be out of luck. But should I even try that and do I really need it?
This is also my first experience with FreeBSD or any other Linux distro for that matter except CentOS and RH.
Last edited: