[Samba] How to troubleshoot SMBD high CPU?
Jeremy Allison
jra at samba.org
Fri Mar 2 12:21:33 MST 2012
On Fri, Mar 02, 2012 at 11:20:06AM -0800, Jeremy Allison wrote:
> 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.
Ah, yes - remembering you telling me what the platform
is, I'm 100% sure this is a kernel problem, not a Samba
one.
Jeremy.
More information about the samba
mailing list