[Samba] Samba upload from Mac gets very slow until reconnect or restart
Tadeusz Markowski
t.k.markowski at interia.pl
Fri Feb 21 19:55:57 UTC 2025
HiUnder normal conditions I'm getting 150+ MB/s when uploading large files to local Samba server.But, every now and then, it slows down to about 4 MB/s. And it stays so, until I either reconnect from the Mac, or restart the Samba server.This happens quite randomly, sometimes couple of times a day, sometimes once every couple of days.When it happens, downloads from Samba remain fast. Also, uploads to the same host with scp remain fast. Only uploads via Samba are affected.It happens no matter if vfs_fruit is used or not.There is no such issue with Windows PCs.I tried a lot of suggestions I've found on the web, both on Samba server and on Mac, without improvement.I did a clean install of the Mac, no change.I'm working with large files (raw photos, video) and this is serious pain for me. I will appreciate any suggestions how to resolve or diagnose this.This is my smb.conf:[global] map to guest = Never netbios name = XXX dos charset = ISO-8859-2 unix charset = UTF-8 unix extensions = no workgroup = Workgroup server string = XXX server role = standalone server hosts allow = XXX bind interfaces only = yes load printers = no log file = /var/log/samba/log.%I log level = 9999 max log size = 50000 security = user unix password sync = Yes passwd program = /usr/bin/passwd %u passwd chat = *New*UNIX*password* %n\n *ReType*new*UNIX*password* %n\n *passwd:*all*authentication*tokens*updated*successfully* socket options = TCP_NODELAY interfaces = XXX local master = yes os level = 65 domain master = yes preferred master = yes dns proxy = no use sendfile = yes strict sync = no strict locking = no[homes] comment = Home Directories browseable = no writable = yes veto files = /Thumbs.db/._*/.DS_Store/Samba version: 4.20.6OS: Fedora release 40 (Forty)RegardsTadeusz Markowski
More information about the samba
mailing list