On 2017-03-03, J. Roeleveld <[email protected]> wrote:
> On March 3, 2017 7:49:27 PM GMT+01:00, Grant Edwards
> <[email protected]> wrote:
>>About a week ago, they started acting oddly. They all mount fine, and
>>work as usual as long as you keep using them. AFAICT, if they sit
>>idle for "a while" (tens of minutes, maybe an hour), they freeze up.
[...]
> My guess would be some timeout setting on the server killing the
> login.
That doesn't seem to be the problem. I've asked around, and others
aren't seeing this problem.
I've also noticed that sometimes the mounts will start working again
without a umount/mount, but I can't figure out what causes it...
Normally, when things are working but idle, the TCP connection to 445
shows an SMB echo request/rseponse transaction once per minute. When
it fails, the TCP connection evidently got dropped, and the Windows
machine repeatedly shuts down new ones:
The failure mode looks like this in wireshark:
Gentoo Windows
-> SYN -> 445
<- SYN/ACK <- 445
-> ACK -> 445
-> SMB[echo req] -> 445
<- RST <- 445
[that repeats 800 times per second for long periods of time]
Then at some point, it starts to work:
-> SYN -> 445
<- SYN/ACK <- 445
-> ACK -> 445
-> SMB[proto neg req] -> 445
<- SMB[proto neg rsp] <- 445
-> SMB[ses setup req] -> 445
<- SMB[ses setup rsp] <- 445
...
Sometimes the umount times out and "fails" because the "host is down",
and when that happens, it seems like it immediately starts to work
again. :/
--
Grant Edwards grant.b.edwards Yow! Wow! Look!! A stray
at meatball!! Let's interview
gmail.com it!