M
Mark Jacobs
I am having second thoughts as to the efficacy of Windows 2003 server as a mission or business-critical
solution. I assume that it uses NTFS by default, and I am also assuming that this is the cause of my current
woes.
We have an old DOS market research system written in Zortech C (version 2.1 from 1989). It has worked
flawlessly since 1990 when it was released for our various clients' use. They have hammered every aspect of it
over the years, and it has never gone wrong. It was always run under Novell Netware, but recently, we migrated
our office to Windows 2003 Server (SBE). Since then, we have had files intermittently truncated when opened
using fopen with the "a" mode (open for appending and create if it doesn't exist), files in use when they
definitely are not in use, and, just today, the worst of all - a 600KByte file full of respondent details had
its contents replaced by zero (null) bytes, whilst retaining its original size after a simple
fopen(sample,"ab"). What must we do to make our SBE server reliable?
We have tried getting rid of optimistic locking and other caching techniques using the following .reg files :-
------------------------------------------------------------
Client Registry patch (copy and paste into a .REG file if you like) :-
------------------------------------------------------------
Windows Registry Editor Version 5.00
[HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\VXD\VREDIR]
"DiscardCacheOnOpen"=hex:01
------------------------------------------------------------
2003 Server patch (copy and paste into a .REG file if you like) :-
------------------------------------------------------------
Windows Registry Editor Version 5.00
[HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\lanmanserver\parameters]
"EnableOpLockForceClose"=dword:00000001
"EnableOplocks"=dword:00000000
"CachedOpenLimit"=dword:00000000
"autodisconnect"=dword:ffffffff
solution. I assume that it uses NTFS by default, and I am also assuming that this is the cause of my current
woes.
We have an old DOS market research system written in Zortech C (version 2.1 from 1989). It has worked
flawlessly since 1990 when it was released for our various clients' use. They have hammered every aspect of it
over the years, and it has never gone wrong. It was always run under Novell Netware, but recently, we migrated
our office to Windows 2003 Server (SBE). Since then, we have had files intermittently truncated when opened
using fopen with the "a" mode (open for appending and create if it doesn't exist), files in use when they
definitely are not in use, and, just today, the worst of all - a 600KByte file full of respondent details had
its contents replaced by zero (null) bytes, whilst retaining its original size after a simple
fopen(sample,"ab"). What must we do to make our SBE server reliable?
We have tried getting rid of optimistic locking and other caching techniques using the following .reg files :-
------------------------------------------------------------
Client Registry patch (copy and paste into a .REG file if you like) :-
------------------------------------------------------------
Windows Registry Editor Version 5.00
[HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\VXD\VREDIR]
"DiscardCacheOnOpen"=hex:01
------------------------------------------------------------
2003 Server patch (copy and paste into a .REG file if you like) :-
------------------------------------------------------------
Windows Registry Editor Version 5.00
[HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\lanmanserver\parameters]
"EnableOpLockForceClose"=dword:00000001
"EnableOplocks"=dword:00000000
"CachedOpenLimit"=dword:00000000
"autodisconnect"=dword:ffffffff