Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
RLOCK() & Netware
Message
 
 
À
01/02/2001 14:31:07
Information générale
Forum:
Visual FoxPro
Catégorie:
Autre
Divers
Thread ID:
00471403
Message ID:
00472336
Vues:
36
>I have an interesting behavior occuring over a Netware 5.1 network. All clients are using Win98SE and the latest Netware Client. The app is written in VFP5/VMP4. There are about 80 users and the main table has 100K records.
>
>I have reviewed the threads on this site and the notices at the Novell site and all the configuration suggestions have been involked.
>
>The behavior is that once a day or so the network locks up. Upon further investigation, we find that one or more of the tables are locked and not allowing anyone else in. When we log everyone out, the lock is still there. We suspect it may be one user but we can't determine who. Netware utilities indicate no files open.
>
>The app performs a RLOCK("0", "TableName") before a save and an UNLOCK RECORD 0 when the save routine is completed (successful or not).
>
>I would like to further understand who is responsible for the lock, VFP or Netware. Is there a way to tell who 'owns' the current lock?

"Locks" are a responsibility of the OS not the application. A lock is requested by the application and depending on the OS, either the physical disk is locked by the OS or a virtual address corresponding to the physical address is "locked".

As for who has the lock, NetLib is a library available at www.hallogram.com that allows interaction with the Novell OS. It may get you what you want.
Larry Miller
MCSD
LWMiller3@verizon.net

Accumulate learning by study, understand what you learn by questioning. -- Mingjiao
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform