Jump to content

SMBD usage unusually high


Hedon James

Recommended Posts

I've got a conky running onscreen which displays, among other things, the 3 processes using the highest CPUs. I have noticed lately that the smbd process in a static state is typically running around 10%-15% on my 6-core system, whereas it used to never even make the list. When I run "top" in a terminal, I see that the smbd process has been invoked by the user Nobody and the CPU% hovers around 60%-70%. If I kill the PID, a new process is simply spawned, also by the user Nobody, and the process repeats itself. Rebooting the machine has no effect; smbd CPUs resume as before.

 

I can't think of any changes that I've made recently to Samba or networking. What could be causing this? More importantly, how do I get the smbd process to calm down and back off the CPU cycles?

Edited by Hedon James
Link to comment
Share on other sites

securitybreach

I am not an expert on samba but you can run it in debug mode to check for issues

 

smbtree -d3

 

Post the output here and I will see what I can find. B)

Link to comment
Share on other sites

I solved it this morning. I had a blonde moment (face palm); I've got to learn NOT to troubleshoot computer issues after I've put in a long day and my brain is jello-ish.

 

In case anyone else experiences this issue, it was embarassingly simple. The smbd process running by User Nobody is a result of a guest user browsing a samba share. I had logged into my main production machine from my media server (usually the other way around) this weekend, using Samba share in Nautilus, which auto-mounted the shared directory for browsing. Found what I was looking for, copied it over, and in my haste, forgot to unmount the share when I was done. It's been logged in/auto-mounted since then. That would coincide with the time frame that I started noticing smbd as the greatest user of CPU cycles.

 

Woke up this morning, decided to check my smb.conf on other machines to compare with my main machine, and immediately noticed that my main machine was still auto-mounted in the Nautilus browser of my media machine. Un-mounted the network share and TADA.....the CPU cycles on my main machine immediately dropped to where they should be! DUH?!!!

 

Thanks anyway SB!

  • Like 2
Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...