[Samba] How to troubleshoot SMBD high CPU?

Jeremy Allison jra at samba.org
Fri Mar 2 12:20:06 MST 2012


On Fri, Mar 02, 2012 at 07:56:16PM +0100, Volker Lendecke wrote:
> On Fri, Mar 02, 2012 at 06:53:15PM +0000, Jeremy T. Cherny wrote:
> > Hi - I finally figured out how to the ipkg version of the
> > tools installed and right now there are 3 smbd processes
> > stuck at 99.9 %
> > 
> > 
> > Results of strace:
> > 
> > splice(0x1c, 0, 0x12, 0xbff4ee30, 0xbf70, 0) = 0
> > Repeated
> > 
> > 
> > Results of gdb with backtrace:
> > 
> > #0  0xb73edf33 in splice () from /lib/libc.so.6
> > #1  0x0839c0a0 in sys_recvfile ()
> > #2  0x08189f5b in ?? ()
> > #3  0x0000001c in ?? ()
> > #4  0x00000012 in ?? ()
> > #5  0x06760000 in ?? ()
> > #6  0x00000000 in ?? ()
> > 
> > Any ideas on what the problem may be?
> 
> The most likely problem is that our recvfile code is broken.
> Try disabling recvfile options.

Either that or splice() is broken on his system, which I
think is more likely :-).

Anyway, disabling recvfile should fix it.

Jeremy.


More information about the samba mailing list