[Samba] high cpu usage samba 4 AD

Andrew Bartlett abartlet at samba.org
Tue Feb 13 22:40:25 UTC 2018

On Tue, 2018-02-13 at 23:31 +0100, Trenta sis wrote:
> Hi,
> First of all thanks for your answer, today has increased cpu usage,
> only change is add a new group with 3500 users, It could be the
> problem?

Yes, that will do it.  This is exactly the use case we have been
working to make perform well since Samba 4.5, with Samba 4.7 having the
best behaviour so far. 

> a last question, now we only have one dc, no replication.
> If we add another dc will increase performance and will be a
> loadbalance the load?

Adding another 4.4 DC will cause catastrophic
outages and is not recommended as the worst issues are in the
replication engine. 

Just schedule an outage, upgrade to 4.7 by joining that to the domain,
then transfer the roles and then add your second DC (which is otherwise
always recommended). 

>  Now I can't upgrade to 4.7, I have to shcedule an upgrade and
> make test, any suggestion or a workaround?

I understand you feel unable to commit to the upgrade, but there is no
workaround now you have the extra group memberships

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

More information about the samba mailing list