SAMBA open is very slow
I have a 15.3 system that uses SAMBA to share file systems between a couple systems. I have used that in 15.1 and it has worked very well. On 15.3 clients, I see that file open calls can be extremely slow, like taking a minute to complete. Later access is ok. It is the open that takes so long. Or so it appears. I have not changed the share or mount options from 15.1 when it was working okay. The systems were upgraded recently via zypper dup, so I expect that my original settings are the same. I see that it is the open call via strace on the programs that are accessing the files. They are doing a simple open() call. Nothing specific to SAMBA. Just a simple open. I'm not sure where to look. Google didn't provide much help. Maybe my search keys were bad. Anyone see this behavior on openSUSE? I'm running the default (I hope): 4.13.4+git -- Roger Oberholtzer
On Wednesday 15 June 2022, Roger Oberholtzer wrote:
I have a 15.3 system that uses SAMBA to share file systems between a couple systems. I have used that in 15.1 and it has worked very well.
On 15.3 clients, I see that file open calls can be extremely slow, like taking a minute to complete. Later access is ok. It is the open that takes so long. Or so it appears.
I have not changed the share or mount options from 15.1 when it was working okay. The systems were upgraded recently via zypper dup, so I expect that my original settings are the same. I see that it is the open call via strace on the programs that are accessing the files. They are doing a simple open() call. Nothing specific to SAMBA. Just a simple open.
I'm not sure where to look. Google didn't provide much help. Maybe my search keys were bad.
Anyone see this behavior on openSUSE? I'm running the default (I hope): 4.13.4+git
I don't have a specific answer and I'm on Tumbleweed, but in the past, I think some samba upgrades have changed the minimum acceptable protocol. Some Android clients I was using only supported the older protocol, so I had to set the minimum protocol in /etc/samba/smb.conf server min protocol = SMB2 I think his has security implications, but this is an internal trusted network, so I accept that. Plus either the client or the server wasn't handling encryption fast enough, so I also set: smb encrypt = disabled So it could be the above, or some other new minimum requirement or change to the defaults. Googling some of the terms above might yield some results. Michael
participants (2)
-
Michael Hamilton
-
Roger Oberholtzer