[Samba] smbd's using up 100% of all cpu's and load avg slowly going up

Bruno Andrade bma at eurotux.com
Mon Dec 29 03:48:29 MST 2014


Hi,

I'm having problems in a second domain controller machine. Every time a
restart samba, few time after a samba process starts using almost 100% cpu.

It's a Centos 6.5 x86_64 with the following:

sernet-samba-libsmbclient0-4.1.6-7.el6.x86_64
sernet-samba-ad-4.1.6-7.el6.x86_64
sernet-build-key-1.1-4.noarch
sernet-samba-libs-4.1.6-7.el6.x86_64
sernet-samba-client-4.1.6-7.el6.x86_64
sernet-samba-4.1.6-7.el6.x86_64
sernet-samba-common-4.1.6-7.el6.x86_64
sernet-samba-winbind-4.1.6-7.el6.x86_64

The testparm outputs the following:
Load smb config files from /etc/samba/smb.conf
Processing section "[netlogon]"
Processing section "[sysvol]"
Processing section "[Profiles]"
Processing section "[home]"
Loaded services file OK.
Server role: ROLE_ACTIVE_DIRECTORY_DC
Press enter to see a dump of your service definitions

[global]
    dos charset = ISO8859-1
    unix charset = cp850
    workgroup = EXAMPLE
    realm = EXAMPLE.COM
    netbios aliases = FS.ROAMING.EXAMPLE.COM
    interfaces = eth1
    bind interfaces only = Yes
    server role = active directory domain controller
    passdb backend = samba_dsdb
    allow dns updates = nonsecure and secure
    server services = s3fs, rpc, nbt, wrepl, ldap, cldap, kdc, drepl,
winbind, ntp_signd, kcc, dnsupdate
    rpc_server:tcpip = no
    rpc_daemon:spoolssd = embedded
    rpc_server:spoolss = embedded
    rpc_server:winreg = embedded
    rpc_server:ntsvcs = embedded
    rpc_server:eventlog = embedded
    rpc_server:srvsvc = embedded
    rpc_server:svcctl = embedded
    rpc_server:default = external
    dsdb:schema update allowed = true
    idmap_ldb:use rfc2307 = yes
    idmap config * : backend = tdb
    map archive = No
    map readonly = no
    store dos attributes = Yes
    vfs objects = dfs_samba4, acl_xattr

[netlogon]
    path = /var/lib/samba/sysvol/example.com/scripts
    read only = No

[sysvol]
    path = /var/lib/samba/sysvol
    read only = No

[Profiles]
    path = /samba4/profiles/
    read only = No

[home]
    path = /samba4/home/
    read only = No

Any suggestions?

Regards,
Bruno Andrade.


More information about the samba mailing list