ATOUTFOX
COMMUNAUTÉ FRANCOPHONE DES PROFESSIONNELS FOXPRO
Visual FoxPro : le développement durable

Forum AtoutFox : Re: lenteurs applicatif   

Sujet

rss Flux RSS des derniers messages

Vous devez vous identifier pour pouvoir poser une question ou répondre.

ven. 19 février 2021, 08h48

GLS
France France

atoutfox.public.association

Re: lenteurs applicatif

Bonjour,

Il vous vérifier:
1 - que les fichiers TMP de vos applications VFP soient créés sur la mchine locale et non sur le disque partagé (à voir dans config.fpw TMPFILES = "chemin local sur ma machine")
2 - que l'indexation des fichiers ne soient pas effectuée sur le dossier partagé de vos datas sur le serveur de fichier et sur vos postes de travail)
3 - exclure de vos anti-virus les dossiers TMP de VFP, les dossiers de vos applications VFP et surtout le dossier partagé de vos datas
4 - le fonctionnement des services SMBx à la fois sur la machine serveur de fichiers et sur vos postes de travail.
https://docs.microsoft.com/fr-fr/windows-server/storage/file-server/troubleshoot/detect-enable-and-disable-smbv1-v2-v3

Vous pouvez peut être trouver la solution dans ce lien:
https://www.gerjon.com/citrix/xenappxendesktop/windows-2012r2-slow-and-slow-vfp-visual-foxpro-databases/

Le bas de la page me parait être une piste à creuser:
Disable Digitally sign communications (always)
When running Foxpro databases over the network you can experience poor performance. When disabling this settings the speed of copying files between server and workstation can increase dramatically. I’ve tested this (in a testenvironment on a domain controller) and difference in speed was obvious – even folder listings were visibly faster, and copying a 15 MB file from a share to a client desktop went from taking 20+ seconds to being almost instantaneous.
you can change these setttings via Group policy editor on the Windows 2012 R2 server
Open up Group Policy Editor, and right-click-and-edit Default Domain Controller Policy.
Go to Computer Configuration/Policies/Windows Settings/Security Settings/Local Policies/Security Options,
and set Domain member: Digitally encrypt or sign secure channel data (always) and Microsoft network server: Digitally sign communications (always) to Disabled.
After changing the setting reboot the server just to be sure it works and test it thoroughly! Beware that this setting is changed for all domain members when it is changed in the default domain policy!
Worth noting: this problem is for Domain controllers and shouldn’t be a problem on a non-domain-controller 2012 server. Beware on Windows Server Essentials 2012 these settings are also not set correctly! Full article can be found here: http://jrs-s.net/2013/04/15/windows-server-2012-slow-networksmbcifs-problem/
Disable “Secure Negotiate” on the Windows Server 2012
When running a Windows 2012 server and Windows 8 clients and and Foxpro applications run slow this can be caused by the “Secure Negotiate” feature that was added to SMB 3.0 for Windows Server 2012 and Windows 8. This feature depends upon the correct signing of error responses by all SMBv2 servers, including servers that support only protocol versions 2.0 and 2.1. Some third-party file servers do not return a signed error response. Therefore, the connection fails (intermittently).
you can disable this by running the following command on the Windows 2012 server and/or the Windows 8 clients:
Set-ItemProperty -Path “HKLM:\SYSTEM\CurrentControlSet\Services\LanmanWorkstation\Parameters” RequireSecureNegotiate -Value 0 -Force
The full Microsoft KB article can be found here:: http://support.microsoft.com/kb/2686098

En conclusion:
Pour éviter le problème des lenteurs réseau introduit à partir de Vista, il est préférable de modifier son application pour :
- soit opter pour une base SQL externe à VFP (MS-SQL, PostGreSQL, etc..) en lieu et place du moteur de base de VFP
- soit opter pour un fonctionnement en bureau à distance de son application VFP.. une seule installation sur un serveur de bureau à distance avec accès aux datas directement sur le disque de la machine serveur.. (ex de serveur TSE Windows 10-PRO + Myriad connect, ou des CAL TSE avec Windows Serveur R12-R19)

Cordialement

Permalink : http://www.atoutfox.org/nntp.asp?ID=0000019795
20 087 messages dans le forum • Liste complète des messages

Publicité

Les pubs en cours :


www.atoutfox.org - Site de la Communauté Francophone des Professionnels FoxPro - v3.4.0 - © 2004-2024.
Cette page est générée par un composant COM+ développé en Visual FoxPro 9.0-SP2-HF3