[Samba] Samba4 Centos 7 - CPU 100%

Andrew Bartlett abartlet at samba.org
Tue Aug 30 21:28:46 UTC 2016

On Tue, 2016-08-30 at 11:15 -0300, Maiquel Consalter wrote:
> Hi Andrew, 
> >Also, how many users, groups and in particular group members in each
> >group (and in total)?
> >If you have large numbers of group members, then Samba 4.5 will help
> a
> >lot.
> We have 53k users and 580 groups. 

OK.  Then your spinner is the client-side replication code.  Samba 4.5
will fix most of that.  See


Further work can be done however, and I would strongly suggest you
contact a commercial support provider to quote on that, as at your
scale you will need the last of the O(N^2) loops fixed.

In the meantime, set 'drs:max link sync=50' and that will help a lot. 


Andrew Bartlett

Andrew Bartlett
Authentication Developer, Samba Team         https://samba.org
Samba Development and Support, Catalyst IT   

More information about the samba mailing list