Solved

CLIENT32 v2.5 DOS WINDOW FILE LOCKING

Posted on 1998-10-21
7
259 Views
Last Modified: 2009-07-29
Netware 3.12 server, WIN 95 and DOS 6.22 workstations all running an Acucobol DOS Accounting application. WIN 95 stations DOS window freezes randomly but 6.22 stations run well. In tracing the problem I stumbled on NTEST386 that is a Clipper test module that can be set up to share a file from all stations. Diagnostics showed that file locking parameters go into orbit on the Win 95 stations. This might be a clue because at other sites with fewer clients and smaller files the errors do not occur. Locking was an issue before but Acucobol delivered a runtime update.

The network seems stable over the last couple of years with no file damage or abends at all. We have both a 10 Mb segment and 100 Mb segment and note that there are fewer freeeze ups under Win 95 on 100 Mb. NTEST386 running on only one win 95 station runs into file locks - presumably its own. I have contacted the author but he is 'on the road' until next week.

We could switch to Btrieve to get away from client locking but want to try other options first.

Any and all help will be appreciated.
0
Comment
Question by:CURLER
7 Comments
 
LVL 5

Expert Comment

by:aioudine
ID: 1593835
Simailar problem with AccPac 6.1
Seems that this is a Clipper problem
Issue has been reported to Novell, but solution currently not available

0
 
LVL 3

Expert Comment

by:brosenb0
ID: 1593836
G'Day Curler,
Do you mind clarifying a few points for us.

This may sound silly, but are the files flagged shareable ?

You mentioned diagnostics and file locking parameters on the Win95 workstations.  Which diagnostics and which parameters ?  Are you talking about file locks on the server ?

What do you mean by 'NTEST386 that is a Clipper test module that can be set up to share a file from all stations'?  What the hell is NTEST386?  Are you sharing files from Win95 workstations using MS peer to peer networking ?

We recently moved a Btrieve based accounting system to Btrieve v7.0 and its pretty impressive when compared with earlier versions of Btrieve.  If the client has the bucks and the application has the upgrade path then why wait ?  The client will end up with a faster, more reliable system that can be backed up while their using it and you'll improve your skill set.  Check out www.pervasive-sw.com for info on Btrieve 7.0, which is a component of Pervasive SQL.
0
 
LVL 12

Expert Comment

by:mark2150
ID: 1593837
There is a known bug in certain versions of Client32 (V2.11 and lower) that involves file locking. We had random "cross locks" on our cc:Mail system until we upgraded the client32.

You should also examine the NET.CFG and insure that TRUE COMMIT ON is set. This param tells the server not to "preacknowledge" write operations. This will slow down operations slightly, but increases data reliability.

M

0
Is Your Active Directory as Secure as You Think?

More than 75% of all records are compromised because of the loss or theft of a privileged credential. Experts have been exploring Active Directory infrastructure to identify key threats and establish best practices for keeping data safe. Attend this month’s webinar to learn more.

 

Author Comment

by:CURLER
ID: 1593838
This is Client32 version 2.5 as patched and we have Cache Writes Off and File Cache Level set to 1. I will have to check True Commits but I have tried most options of most parameters - the
possibilities are too many. Are they all needed?

NTEST386 is a test program I downloaded that is designed to let multiple workstations share the same file located on the server. The file is created by NTEST386 and deleted when the last station running the module stops the execution of it. At the workstation it shows how often retries are required because records are locked. I don't have the source but it must be created shareable.

I don't agree that it is a clipper problem when the DOS stations report the occasional retry but the Windows 95 stations seem to be always retrying. I had several DOS and several Windows 95 stations running at the same time and recorded the diagnostic messages from the screen. If Windows 95 is trying to emulate DOS 6.22 it is not doing a very good job in this case. Where it causes us trouble is the default of 400 retries within the Acucobol runtime.

I have contacted the program's author and hope to get some more details from him early next week.
No server file corruption occurs other than the user counter in the file header does not get decremented by a graceful close.
0
 
LVL 3

Expert Comment

by:brosenb0
ID: 1593839
This may help in your case as it fixed a similar problem with running a 16bit Borland Delphi application on a 95 machine.

Start Control Panel and go into
SYSTEM | PERFORMANCE | FILE SYSTEM | TROUBLESHOOTING
Now check the box 'Disable New File Sharing & Locking Semantics', and you will have to reboot. Make sure you do this for EVERY Win 95 machine.

See what happens.
0
 
LVL 3

Expert Comment

by:brosenb0
ID: 1593840
How's your troubleshooting going Curler ?
0
 
LVL 3

Accepted Solution

by:
trath earned 100 total points
ID: 1593841
If agree it sounds as if it might be a memory problem. Try right clicking on the icon of the program in question going to advanced and maully changing the amout of memeory that the program uses. I am at home right now so I cant exactly walk you through it but this is somthing like how to do it... Hope this works for you...
0

Featured Post

Is Your Active Directory as Secure as You Think?

More than 75% of all records are compromised because of the loss or theft of a privileged credential. Experts have been exploring Active Directory infrastructure to identify key threats and establish best practices for keeping data safe. Attend this month’s webinar to learn more.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Suggested Solutions

Microsoft Office Picture Manager was included in Office 2003, 2007, and 2010, but not in Office 2013. Users had hopes that it would be in Office 2016/Office 365, but it is not. Fortunately, the same zero-cost technique that works to install it with …
Scenario: Your operations manager has discovered an anomaly in your security system. The business will start to suffer within 15 minutes if it is a major IT incident. What should she do? We have 6 recommendations for managing major incidents (https:…
Concerto provides fully managed cloud services and the expertise to provide an easy and reliable route to the cloud. Our best-in-class solutions help you address the toughest IT challenges, find new efficiencies and deliver the best application expe…
The Email Laundry PDF encryption service allows companies to send confidential encrypted  emails to anybody. The PDF document can also contain attachments that are embedded in the encrypted PDF. The password is randomly generated by The Email Laundr…

929 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question

Need Help in Real-Time?

Connect with top rated Experts

12 Experts available now in Live!

Get 1:1 Help Now