Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Network timeouts in recent versions of Windows
Message
De
06/11/2019 17:31:28
 
 
À
05/11/2019 16:47:02
Joel Leach
Memorial Business Systems, Inc.
Tennessie, États-Unis
Information générale
Forum:
Visual FoxPro
Catégorie:
Problèmes
Divers
Thread ID:
01671798
Message ID:
01671810
Vues:
126
J'aime (1)
regedit (as admin of course...)
HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\lanmanserver\parameters
value: autodisconnect (create if not there...)
set to high hex value (on W7 was "f", dec 15), set several "f" to get a high number.



>Some of our clients have reported issues with our app, and a pattern is starting to form. A common theme is that they leave the app open and idle for a while, and when they come back the app will crash, usually with an error that points to the network ("Error reading file", etc.). The problem seems to have started when the clients upgraded workstations to Windows 10. I'm gathering more info on the servers, but they are all likely running Windows Server 2016 or 2019. This is a NEW problem for us, so the old tricks may not apply. Here are some details:
>
>* We are using VFP 9 SP2 + hot fixes.
>* Most of these clients have the data in SQL Server, although there are still some shared DBFs and other files on a shared/mapped drive.
>* We have another non-VFP app that accesses shared database files over a network share, and it is experiencing similar problems.
>* We set the power settings to prevent the workstations from going to sleep.
>* In the network card settings, we unchecked "Allow the computer to turn off this device to save power".
>* Windows 10 + Server 2016/2019 means they are most likely running SMB 3.1.1.
>* We are already disabling the cache settings that were introduced with SMB 2.0 (DirectoryCacheLifetime, FileNotFoundCacheLifetime, FileInfoCacheLifetime) on the workstations.
>* We have NOT tried "net config server /autodisconnect:-1" (just learned about it today), although that has never been a requirement for us in the past.
>* We keep a shared SQL Server connection open for the entire time the app is open. On at least one workstation, the SQL Server connection is being disrupted as well, so the problem may not be limited to SMB.
>* We are using SQL Server Native Client 10.0.
>
>We are still gathering information, but these newer versions of Windows seem to be more sensitive to idle activity. Is anyone else seeing this behavior?
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform