Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Best settings to avoid locking conflict
Message
De
04/10/2005 12:50:10
 
 
À
Tous
Information générale
Forum:
Visual FoxPro
Catégorie:
Installation et configuration
Titre:
Best settings to avoid locking conflict
Versions des environnements
Visual FoxPro:
VFP 9
OS:
Windows Server 2003
Database:
Visual FoxPro
Divers
Thread ID:
01055941
Message ID:
01055941
Vues:
61
I have 80 users running application under W3K terminal server.

Sometimes LOCK() function fails or REPLACE command returns error
"Record is in use by another user".

To fix this I will try to use following settings in each datasession init:
SET LOCK OFF
SYS(3051, 1000) &&  Set Lock Retry Interval
SYS(3052, 1, .t. )  && Overrride set reprocess locking
SYS(3052, 2, .t. )
* This causes 60 seconds delay before reporting error:
SET REPROCESS TO 60
SET REPROCESS TO 60 SYSTEM
Are those best valuest ?
Are there any other VFP9 or W3K server config parameters which can be changed?
Andrus
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform