problems with smbd process

Status
Not open for further replies.

SneakiCow

Dabbler
Joined
Sep 25, 2015
Messages
13
I upgraded from 9.3 to 9.10 and began to have problems with the smbd process slowly(about 15-30 mins) overtaking all my cpu cores and maxing out the load, so much so the server was almost not functioning(commands through the gui but slow, jails working-also slow). This also had the add benefit of crashing windows explorer on the windows client machine. On roll back to 9.3 I still have the smbd process hitting 100% but confined to one core. I figure it has something to do with how the file history function is connecting over the shares because once that is finished updating the process seems to fall away (but only tested on 9.3). I also stopped and restarted the cifs sharing services a bunch of times in 9.10 but that seemed to have little effect on the server or the client.

Mostly this thing has step into territory that is a bit(far) too complex for me and my search didn't find much recent help. So uncertain if this would be an actual bug (i noted some fixes to the cifs process in the last release notes) or just lack of knowledge
 

SneakiCow

Dabbler
Joined
Sep 25, 2015
Messages
13
Build FreeNAS-9.3-STABLE-201604041648
Platform Intel(R) Core(TM) i5 CPU 760 @ 2.80GHz
Memory 8158MB (non ECC) (Yes i know its bad)

Mother board - GA-P55-USB3
4 4Tb Drives in 2 striped mirror blocks
2 2Tb Drives Mirrored (this is the File history target)
 

anodos

Sambassador
iXsystems
Joined
Mar 6, 2014
Messages
9,553
Post contents of /usr/local/etc/smb4.conf

Also post output of "smbstatus" when "file history" is running.

It also might not be a bad idea to review the contents of /var/log/samba4/log.smbd for error messages. On the bright side, if your CPU is at 100% you know where your bottleneck is :D
 
Last edited:
Status
Not open for further replies.
Top