We are running FreeNAS-8.3.0-RELEASE-p1-x64 (r12825) on VmWare ESXi 5.1. The VM has 16GB of RAM. FreeNAS is used as afp fileserver, with 4 afp shares. Authentication is done with active directory.
Every 2 days, at a random time, one of the four cnid_dbd processes hangs with a 100% cpu load.
Here is the output of ps:
The share data1 is unavailable to the users: they get an error when trying to access the share.
This happens randomly, during the day with normal afp server usage, but also during the night without user access to afp.
As a temporary solution we "kill -9" the cnid_dbd process, which is automatically restarted and clients can then access the share. But once every 3-5 kills, the cnid2.db file gets corrupted, so we must stop afp, kill cnid_dbd, delete cnid2.db and restart afp.
There are no error logged in .AppleDB/db_errlog at the time of the problem happened.
Any idea ?
Thank you
Giovanni
Every 2 days, at a random time, one of the four cnid_dbd processes hangs with a 100% cpu load.
Here is the output of ps:
Code:
[root@mynas] /mnt/vol1/scripts# ps -ax -o %cpu,pid,command | fgrep cnid 0.0 40847 /usr/local/sbin/cnid_metad 100.0 48154 /usr/local/sbin/cnid_dbd /mnt/vol1/data1 8 4 default log_note 0.0 99164 /usr/local/sbin/cnid_dbd /mnt/vol1/dati2/Scansioni 7 4 default log_note 0.0 99165 /usr/local/sbin/cnid_dbd /mnt/vol1/dati2/MMCC 8 4 default log_note 0.0 99416 /usr/local/sbin/cnid_dbd /mnt/vol1/dati2/FORMATS 11 4 default log_note 0.0 17510 fgrep cnid
The share data1 is unavailable to the users: they get an error when trying to access the share.
This happens randomly, during the day with normal afp server usage, but also during the night without user access to afp.
As a temporary solution we "kill -9" the cnid_dbd process, which is automatically restarted and clients can then access the share. But once every 3-5 kills, the cnid2.db file gets corrupted, so we must stop afp, kill cnid_dbd, delete cnid2.db and restart afp.
There are no error logged in .AppleDB/db_errlog at the time of the problem happened.
Any idea ?
Thank you
Giovanni