SOLVED SMBD High CPU usage - check log level

Xelas

Explorer
Joined
Sep 10, 2013
Messages
97
I was trying to figure out why SMBD was chugging and maxing out a CPU core. It was still maxing my local LAN (1Gbps) for 1-2 transfers, but if multiple clients hit the server I'd see performance drop and SMBD was obviously the bottleneck, not the disk array.
The problem turned out to be so simple that I never noticed it. Turns out I'd somehow/somewhen (I have no recollection of doing this) set the log level for the SMBD service to "debug" instead of "normal". After I changed that from "debug" to "normal" my CPU usage fell from ~90% to 20%.
Note that this is on a Xeon CPU - an older one, but still not an Atom or something basic. I was shocked at how much of an impact that setting change made.
Just something to check for if you see SMBD bottlenecking.
 

anodos

Sambassador
iXsystems
Joined
Mar 6, 2014
Messages
9,553
DEBUG is _incredibly_ verbose logging. Depending on how busy the server is, you can end up rolling over logs every second. Its primary purpose is to help devs debug obscure server issues.
 
Top