[Samba] smbd processes 99% cpu and end-user locks up

Jeremy Allison jra at samba.org
Wed Oct 19 01:40:02 GMT 2005

On Tue, Oct 18, 2005 at 04:28:44PM -0400, Nathan Vidican wrote:
> Still having a situation, in particular with Microsoft Office products 
> (Excel, MS Word, etc), wherein a user locks up while saving a file.
> The scenario goes as follows:
> user opens up a file (excel document, word document, etc), user changes 
> file, user hits save, user hangs...
> `top` reports an smbd belonging to user locked in some sort of loop 
> causing 99% cpu utilization.
> net status sessions | grep 'usermachinename' reports two smbd processes 
> belonging to the end user, the first (99% cpu), and the second.
> kill <looped process>   does nothing, kill -9 takes it out and the 
> user's machine returns to normal, they save their file and we save the 
> day until ten minutes later when someone else calls us with the same 
> problem. This is happening a few time per hour, usually with a handfull 
> of the same users (about 6-7 users have issues).

Ensure that smbd is compiled with -g, and when the smbd is in this
state attach to it with gdb and type "bt" to get a backtrace.

Please post the results of this to the list.



More information about the samba mailing list