[Samba] High CPU usage smbd processes and PANIC
Dante Colo
dante.colo at stwbrasil.com
Fri Oct 10 14:13:13 MDT 2014
Hello
I recently deployed a Samba 4.0.21 running as classic pdc on freebsd 10 version RELEASE-p9, most of shares are in a ZFS volume with vfs_zfsacl module, some smbd processes stays constantly with around 70% cpu usage sometimes 90% and dies with signal 11 according the log message , i also tried enable debug level 10 but didn't show anything helpful or maybe i wasn't able to understand the entire log, any suggestions ?
INTERNAL ERROR: Signal 11 in pid 59865 (4.0.21)
Please read the Trouble-Shooting section of the Samba HOWTO
[2014/10/10 08:33:08.955295, 0] ===============================================================
[2014/10/10 08:33:08.955326, 0] PANIC (pid 59865): internal error
[2014/10/10 08:33:08.957939, 0] BACKTRACE: 7 stack frames:
#0 0x802b5a921 <log_stack_trace+0x21> at /usr/local/lib/libsmbconf.so.0
#1 0x802b5a708 <smb_panic_s3+0x98> at /usr/local/lib/libsmbconf.so.0
#2 0x80146ef25 <smb_panic+0x35> at /usr/local/lib/libsamba-util.so.0
#3 0x80146f50a <smb_panic+0x61a> at /usr/local/lib/libsamba-util.so.0
#4 0x80146eee3 <fault_setup+0x73> at /usr/local/lib/libsamba-util.so.0
#5 0x8044ce40b <_swapcontext+0x15b> at /lib/libthr.so.3
#6 0x8044cdff3 <sigaction+0x343> at /lib/libthr.so.3
[global]
server role = classic primary domain controller
netbios name = SALAMONE-PDC
workgroup = SALAMONE
server string = %L
os level = 255
domain logons= yes
preferred master = yes
domain master = yes
wins support = yes
name resolve order = lmhosts wins host bcast
max stat cache size = 768
#
security = user
add user script = /home/samba/scripts/smbadduser.sh "%u"
add machine script = /usr/sbin/pw useradd -g machines -s /sbin/nologin -d /dev/null -c "%u" -n "%u"
unix password sync = no
admin users = @smbadmins
log file = /var/log/samba4/log.%I
max log size = 4096
log level = 1
debug class = yes
debug prefix timestamp = yes
syslog = 0
deadtime=60
time server = yes
logon path =
logon drive = H:
logon script =%G/logon.bat
#
[netlogon]
path = "/home/samba/netlogon"
browsable = no
writable = no
guest ok = yes
#
[homes]
directory mask = 0700
create mask = 0700
browsable = no
writable = yes
valid users = %S
#
[Diligencias]
vfs objects = zfsacl,xattr_tdb,full_audit
xattr_tdb:file = /var/db/samba4/private/shares_xattrs/diligencias.tdb
full_audit:prefix = "%I|%u|%P"
full_audit:success = rmdir rename unlink
full_audit:failure = rmdir rename unlink
full_audit:facility = LOCAL0
full_audit:priority = NOTICE
path = "/samba/salamone/diligencias"
inherit owner = yes
inherit permissions = yes
writable = yes
browsable = yes
ea support = yes
store dos attributes = yes
case sensitive = yes
map archive = no
map system = no
map readonly = no
map hidden = no
level2 oplocks = no
oplocks = no
#
[RH]
vfs objects =full_audit
full_audit:prefix = "%I|%u|%P"
full_audit:success = rmdir rename unlink
full_audit:failure = rmdir rename unlink
full_audit:facility = LOCAL0
full_audit:priority = NOTICE
#aio read size = 32768
#aio write size = 32768
path = "/local_disk_2/salamone/dados_gerais/rh"
writable = yes
browsable = yes
inherit owner = yes
create mask =0777
directory mask =0777
store dos attributes = yes
ea support = yes
valid users =@smbadmins,gabriela.martins,leonardo.oliveira,robezia.silva,amanda.zonta,neildes.digesu,jose.salamone,miriam.lucateli,meiriele.oliveira
case sensitive = yes
map archive = no
map system = no
map readonly = no
map hidden = no
level2 oplocks = no
oplocks = no
#
[Eventos]
vfs objects = zfsacl,xattr_tdb,full_audit
xattr_tdb:file = /var/db/samba4/private/shares_xattrs/eventos.tdb
full_audit:prefix = "%I|%u|%P"
full_audit:success = rmdir rename unlink
full_audit:failure = rmdir rename unlink
full_audit:facility = LOCAL0
full_audit:priority = NOTICE
#aio read size = 32768
#aio write size = 32768
path = "/samba/salamone/eventos"
writable = yes
browsable = yes
inherit owner = yes
inherit permissions = yes
store dos attributes = yes
ea support = yes
case sensitive = yes
map archive = no
map system = no
map readonly = no
map hidden = no
level2 oplocks = no
oplocks = no
#
More information about the samba
mailing list