[Samba] freebsd + samba4rc3 = 100% CPU

Andrew Bartlett abartlet at samba.org
Sun Oct 21 15:10:20 MDT 2012


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.  

Note that per the release notes we still have an outstanding issue with
FreeBSD rejecting lookup of names containing _.  

We don't currently have a workaround for this platform limitation. 

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/attachments/20121022/87ca267e/attachment.bin>


More information about the samba mailing list