Bug 5433 - XP/Vista clients -> frequent 10 second hang, then drop / reconnect to SMB server share.
Summary: XP/Vista clients -> frequent 10 second hang, then drop / reconnect to SMB ser...
Alias: None
Product: Samba 3.0
Classification: Unclassified
Component: File Services (show other bugs)
Version: 3.0.24
Hardware: IA64 Windows XP
: P3 major
Target Milestone: none
Assignee: Samba Bugzilla Account
QA Contact: Samba QA Contact
Depends on:
Reported: 2008-04-30 06:30 UTC by Jeff A.
Modified: 2021-01-04 15:59 UTC (History)
1 user (show)

See Also:


Note You need to log in before you can comment on or make changes to this bug.
Description Jeff A. 2008-04-30 06:30:31 UTC
On two Samba 3.0.24 IA64 (Debian stable) mounts, multiple XP(SP2) and Vista/Vista(SP1) clients hang for 10 seconds (PC becomes unresponsive, apparent low-level time-out), then terminate TCP connection and SMB reconnect.

Network sniffing on both Client and Server shows:
1) client requests filestat / other information from SMB filesystem
2) server sends requested data / client receives packets ok
3) client hangs for 10 seconds
4) client closes TCP connection (FIN)
5) client opens a new SMB connection / logs in

This occurs about 4 times in a 10 minute text file edit session on a Samba mount. Local text file edits work fine.

No odd smb.conf settings - I have removed "oplocks = no" and "socket options = TCP_NODELAY" to no avail. We were previously using "smb ports = 445" to prevent the 139 disconnect warnings, I have also removed this to no avail.

Please let me know if you need more specific info from the client or server tcpdumps.

Comment 1 Jeff A. 2008-04-30 06:42:19 UTC
Here is more information from the Server traffic sniffing:

client > server Trans2 Request, FIND_FIRST
server > client Trans2 Response
client > server TCP ACK
client > server Logoff AndX Request
server > client Logoff AndX Response
client > server Tree disconnect Request
server > client Tree disconnect Response
client > server TCP ACK
-- 10 second hang on client --
client > server TCP FIN, ACK
server > client TCP FIN, ACK
client > server TCP ACK
client > broadcast Host Announcement
client > broadcast NBNS Name query
Comment 2 Björn Jacke 2021-01-04 15:59:48 UTC
this is not a samba issue but behaviour that's up to the client