[PATCH] Re: [Samba] freebsd + samba4rc3 = 100% CPU
Andrew Bartlett
abartlet at samba.org
Tue Oct 23 04:44:27 MDT 2012
On Mon, 2012-10-22 at 08:10 +1100, Andrew Bartlett wrote:
> On Fri, 2012-10-19 at 11:13 -0300, Luiz Gustavo S. Costa wrote:
> > why is that?
> >
> > process in 100%
> >
> > last pid: 22917; load averages: 1.73, 1.89, 1.73
> >
> > up 2+01:27:52 11:12:00
> > 47 processes: 3 running, 43 sleeping, 1 zombie
> > CPU: 15.9% user, 0.0% nice, 9.1% system, 0.0% interrupt, 75.0% idle
> > Mem: 68M Active, 1229M Inact, 558M Wired, 2932K Cache, 416M Buf, 2063M Free
> > Swap: 8192M Total, 8192M Free
> >
> > PID USERNAME THR PRI NICE SIZE RES STATE C TIME WCPU COMMAND
> > 22895 root 1 103 0 509M 54308K CPU6 6 1:06 100.00%
> > samba: task[cldapd] (samba)
> > 22896 root 1 103 0 509M 54720K CPU3 3 1:06 100.00%
> > samba: task[kdc] (samba)
>
> Luiz,
>
> Attached is a patch metze provided that should fix this.
>
> I attempted to validate this earlier, but ran into other issues with
> FreeBSD and our make test environment, so I don't think proceeded.
>
> If you can validate the patch, I think we get get it into the RC
> releases.
Metze,
I've tested the patch here, and it certainly seems to help (and on
FreeBSD 9, my other issues don't show up). Can I push it?
Thanks,
Andrew Bartlett
--
Andrew Bartlett http://samba.org/~abartlet/
Authentication Developer, Samba Team http://samba.org
-------------- next part --------------
A non-text attachment was scrubbed...
Name: 0001-lib-tsocket-fix-loop-in-tdgram_bsd_recvfrom-bug-9184.patch
Type: text/x-patch
Size: 1488 bytes
Desc: not available
URL: <http://lists.samba.org/pipermail/samba-technical/attachments/20121023/a551e7ec/attachment.bin>
More information about the samba-technical
mailing list