Lars Jensen
Explorer
- Joined
- Feb 5, 2013
- Messages
- 63
Before putting more RAM into the FreeNAS box I would like to ask if the following behavior can be avoided and keep the box online and recover without a reboot ?
This setting in System > Advanced
Swap size on each drive in GiB, affects new disks only. Setting this to 0 disables swap creation completely (STRONGLY DISCOURAGED).
Is currently set to 2.
Today one drive failed and the the FreeNAS box had Swap: 24G Total, 232M Used, 24G Free
232M used swap. When the drive failed several processes for GUI like nginx / django went down. Nginx was able to restart, but django was not possible to restart.
I assume the swap on the failed disk caused the problem.
I'm not familiar with each and every process FreeNAS is running, so not knowing which processes have been hit by the failed disk, I rebooted the box and everything was working fine again, and resilvering is going on fine.
This setting in System > Advanced
Swap size on each drive in GiB, affects new disks only. Setting this to 0 disables swap creation completely (STRONGLY DISCOURAGED).
Is currently set to 2.
Today one drive failed and the the FreeNAS box had Swap: 24G Total, 232M Used, 24G Free
232M used swap. When the drive failed several processes for GUI like nginx / django went down. Nginx was able to restart, but django was not possible to restart.
I assume the swap on the failed disk caused the problem.
I'm not familiar with each and every process FreeNAS is running, so not knowing which processes have been hit by the failed disk, I rebooted the box and everything was working fine again, and resilvering is going on fine.