[Samba] Samba-AD 100% CPU utilization

Anantha Raghava raghav at exzatech.net
Tue Sep 10 05:18:05 UTC 2024


Hi,

We have 5 domain controllers in our cluster. We are running samba 
version 4.19.5

In one of the servers which is acting as pdc emulator, we have been 
observing 100% cpu utilization randomly. This happens on only one server 
with PDC emulator role. All Samba servers have same OS RHEL 9 and same 
Samba version 4.19.5.

smb.conf on all 5 servers remain same. Giving here smb.conf from one 
server.

# Global parameters
[global]
         netbios name = PDC
         realm = **********.COM
         server role = active directory domain controller
         workgroup = *********
         server services = s3fs, rpc, nbt, wrepl, ldap, cldap, kdc, 
drepl, winbindd, ntp_signd, kcc, dns, dnsupdate
         workgroup = **********
         idmap_ldb:use rfc2307 = yes
         ldap server require strong auth = No
         allow dns updates = nonsecure
         tls priority = NORMAL:-VERS-TLS-ALL:+VERS-TLS1.2
         log level = 3 auth_audit:0 auth_json_audit:3 dsdb_json_audit:5
         log file = /var/log/samba/pdc.log
         max log size = 1000000000

[sysvol]
         path = /usr/local/samba/var/locks/sysvol
         read only = No

[netlogon]
         path = /usr/local/samba/var/locks/sysvol/*********.com/scripts
         read only = No


Is there any way that we can loadbalance across all 5 servers? Can it be 
configured through smb.conf?

Thanks & regards,
Anantha Raghava




More information about the samba mailing list