[Bug 206953] smbd spikes CPU then process dies
bugzilla-noreply at freebsd.org
bugzilla-noreply at freebsd.org
Fri Feb 5 14:24:05 UTC 2016
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=206953
Bug ID: 206953
Summary: smbd spikes CPU then process dies
Product: Ports & Packages
Version: Latest
Hardware: amd64
OS: Any
Status: New
Severity: Affects Only Me
Priority: ---
Component: Individual Port(s)
Assignee: freebsd-ports-bugs at FreeBSD.org
Reporter: snackmasterx at gmail.com
I'm seeing high CPU utilization when performing file copy operations from my
samba share to my windows server, and they always seem to hang at 322kb copied
from my samba share to my local system. When the copy hangs I can use top and
watch CPU utilization for smbd climb to 100% where it will just sit for a
while. If I wait long enough, then I will receive an error from Windows stating
there "an unexpected network error has occurred" and smbd will no longer be at
100%. Alternately, if I cancel the copy operation from the windows side then I
will watch smbd stay at 100% for some time before eventually returning to
disappearing. I'm unsure if the process crashes entirely or is just returning
to a normal state.
That said, I don't seem to have any issues copying data to the samba share from
my Windows Server. I can also access data on the zpool from FreeBSD. I have
tried restarting the samba server and even the entire FreeBSD system, but the
behavior seems to remain unchanged.
Environment:
FreeBSD 10.2-p9 (only functions are ZFS and SMB/NFS)
Samba 4.3.3
Windows Server 2012 R2 (fully updated)
I've configured samba for AD user authentication which seems to be working
flawlessly. I am using a domain user to perform my testing
I used google and a lot of web sites until I finally managed to get this
working, so it wouldn't surprise me if this behavior was somehow due to a
poorly configured smb4.conf so please let me know if this seems like it could
be contributing to the issue:
==========BEGIN SMB4.CONF==========
[global]
case sensitive = yes
unix extensions = no
nt acl support = yes
inherit acls = no
map acl inherit = yes
netbios name = HOSTNAME
security = ADS
workgroup = REALM
realm = REALM.LOCAL
socket options = TCP_NODELAY IPTOS_LOWDELAY SO_RCVBUF=131072
SO_SNDBUF=131072
use sendfile = true
log file = /var/log/samba43/log.%m
log level = 1
max log size = 50
dedicated keytab file = /etc/krb5.keytab
kerberos method = secrets and keytab
idmap config * : backend = tdb
idmap config * : range = 100000-299999
idmap config REALM : backend = rid
idmap config REALM : range = 10000-99999
winbind separator = +
winbind use default domain = yes
winbind enum users = yes
winbind enum groups = yes
winbind use default domain = yes
winbind refresh tickets = yes
[storage]
comment = Storage Share
path = /transition/storage
available = yes
browsable = yes
read only = no
public = no
guest ok = no
writable = yes
force group = "Domain Users"
directory mask = 0770
force directory mode = 0770
create mask = 0660
force create mode = 0660
==========END OF FILE==========
So all of the above stated, any ideas on what I could do next to understand why
smbd is spiking the CPU utilization when performing copy operations from the
samba share to my windows server?
--
You are receiving this mail because:
You are the assignee for the bug.
More information about the freebsd-ports-bugs
mailing list