Hi,
I have recently installed freeNAS 8.0.2 and I am having some problems. The nas is primarily used as storage for nightly backups from 5 workstations. I use Comodo backup and it creates one large file for each system. The backup is then incrementally updated. The workstations write their backups to cifs shares and a server uses an iscsi connection using microsofts iscsi initiator.
The problem is that freeNAS often fail during the backups, it becomes unresponsive both via samba and the gui. The first few times this happened I talked to my friend google and found a possible solution with kern.maxfiles. I increased it in loader.conf to 950000 and the machine settled down a bit. But today I found a new thing. The console said:
The samba shares were unavailable. I looked at the graphs in the gui and saw that the process count was higher than usual
View attachment 458
And when I ssh:d to the machine i found about 1200 instances of smbd on ps -aux
Version of the kernel:
I have the following services enabled:
CIFS
SMART
SSH
ISCSI
I have attached other graphs.
I will configure the box for remote syslog to try to get more information when this happens again.
Any suggestions would be greatly appreciated and if there is any other information that you would like me to look for please tell me. I will leave the machine in its current state for as long as it remains responsive and then reboot it.
I have recently installed freeNAS 8.0.2 and I am having some problems. The nas is primarily used as storage for nightly backups from 5 workstations. I use Comodo backup and it creates one large file for each system. The backup is then incrementally updated. The workstations write their backups to cifs shares and a server uses an iscsi connection using microsofts iscsi initiator.
The problem is that freeNAS often fail during the backups, it becomes unresponsive both via samba and the gui. The first few times this happened I talked to my friend google and found a possible solution with kern.maxfiles. I increased it in loader.conf to 950000 and the machine settled down a bit. But today I found a new thing. The console said:
Code:
Nov 30 14:41:15 nas kernel: Approaching the limit on PV entries, consider increasing either the vm.pmap.shpgperproc or the vm.pmap.pv_entry_max sysctl.
The samba shares were unavailable. I looked at the graphs in the gui and saw that the process count was higher than usual
View attachment 458
And when I ssh:d to the machine i found about 1200 instances of smbd on ps -aux
Code:
frans 24897 0.0 0.0 53836 3908 ?? D 2:40PM 0:00.02 /usr/local/sbin/smbd -D -s /usr/local/etc/smb.conf root 24911 0.0 0.0 53836 3696 ?? D 2:41PM 0:00.02 /usr/local/sbin/smbd -D -s /usr/local/etc/smb.conf frans 24912 0.0 0.0 53836 4084 ?? D 2:41PM 0:00.05 /usr/local/sbin/smbd -D -s /usr/local/etc/smb.conf frans 24924 0.0 0.0 53836 4020 ?? D 2:42PM 0:00.03 /usr/local/sbin/smbd -D -s /usr/local/etc/smb.conf root 24927 0.0 0.0 53836 3840 ?? D 2:42PM 0:00.05 /usr/local/sbin/smbd -D -s /usr/local/etc/smb.conf frans 24956 0.0 0.1 59596 4212 ?? D 2:43PM 0:00.03 /usr/local/sbin/smbd -D -s /usr/local/etc/smb.conf ....and so on....
Version of the kernel:
Code:
#uname -a FreeBSD nas.local 8.2-RELEASE-p3 FreeBSD 8.2-RELEASE-p3 #7: Fri Sep 30 12:51:49 PDT 2011 jpaetzel@servant.iXsystems.com:/b/sf_freenas_build/obj.amd64/b/sf_freenas_build/FreeBSD/src/sys/FREENAS.amd64 amd64
I have the following services enabled:
CIFS
SMART
SSH
ISCSI
I have attached other graphs.
I will configure the box for remote syslog to try to get more information when this happens again.
Any suggestions would be greatly appreciated and if there is any other information that you would like me to look for please tell me. I will leave the machine in its current state for as long as it remains responsive and then reboot it.
Attachments
-
processes-1d.png13.8 KB · Views: 405
-
load-1d.png17.9 KB · Views: 398
-
if-re0-1h.png13.3 KB · Views: 373
-
processes-1h.png13.3 KB · Views: 404
-
load-1h.png14.3 KB · Views: 392
-
memory-1h.png14.7 KB · Views: 383
-
cpu-1h.png15.7 KB · Views: 396
-
memory-1d.png16.5 KB · Views: 371
-
if-re0-1d.png12.4 KB · Views: 372