Discussion:
XP Machine blows and index II
(too old to reply)
529 Enterprises
2008-10-25 00:11:47 UTC
Permalink
(Sorry for the repeat, but I left out some info)

I have a client running a peer2peer network with machines running everything
from Win2k to XP_Sp2 and a dB IV app that has run reliably (with minor
glitches) for over 15 years. Within the last three days, one machine has
suddenly decided to blow up during indexing. The machine is a 3+/- GHz with
512mb memory running XP sp2 (sorry, I don't know additional details). The
program is run through a DOS window with the default settings on all
machines.

Here are the details:

Two master tables having 60k+ records
A detail table having 160k records

The indexing routine deletes existing NDX files using the "DELETE FILE"
command and then recreates the NDX from scratch. The problem machine issued
a "File already exists" command even though the DELETE FILE command was
successful and a directory listing confirmed no NDX files. When it did get
past the NDX recreation, it blew up on the detail table reindexing.

I ran the same process programatically 4-5 times last night and reindexed
manually twice from a tablet PC running Windows Tablet XP (or whatever its
callled) and everything worked fine. Several other machines in the office,
including the Win2k machines, pass the indexing fine. The tablet PC also
has 512mb memory, consistently had less available memory (according to task
manager) during the indexing process than the problem machine, but processed
with no problems. The command to reindex the detail file is:

Use DetFile
Pack

It uses two simple index keys in an MDX file, and this machine worked fine
on it until about two or three days ago. Physical memory has been swapped
and tested, the hard drive has been tested and I am stumped as to what has
happened unless XP has suddenly changed a disk caching method. Any input,
WAGs or other ideas welcome.

DR Berry
Geoff Wass [dBVIPS]
2008-10-25 05:08:40 UTC
Permalink
In article <***@news-server>, ***@truemediaresources.com
says...
Post by 529 Enterprises
(Sorry for the repeat, but I left out some info)
I have a client running a peer2peer network with machines running everything
from Win2k to XP_Sp2 and a dB IV app that has run reliably (with minor
glitches) for over 15 years. Within the last three days, one machine has
suddenly decided to blow up during indexing. The machine is a 3+/- GHz with
512mb memory running XP sp2 (sorry, I don't know additional details). The
program is run through a DOS window with the default settings on all
machines.
Two master tables having 60k+ records
A detail table having 160k records
The indexing routine deletes existing NDX files using the "DELETE FILE"
command and then recreates the NDX from scratch. The problem machine issued
a "File already exists" command even though the DELETE FILE command was
successful and a directory listing confirmed no NDX files. When it did get
past the NDX recreation, it blew up on the detail table reindexing.
I ran the same process programatically 4-5 times last night and reindexed
manually twice from a tablet PC running Windows Tablet XP (or whatever its
callled) and everything worked fine. Several other machines in the office,
including the Win2k machines, pass the indexing fine. The tablet PC also
has 512mb memory, consistently had less available memory (according to task
manager) during the indexing process than the problem machine, but processed
Use DetFile
Pack
It uses two simple index keys in an MDX file, and this machine worked fine
on it until about two or three days ago. Physical memory has been swapped
and tested, the hard drive has been tested and I am stumped as to what has
happened unless XP has suddenly changed a disk caching method. Any input,
WAGs or other ideas welcome.
DR Berry
Dr. Berry,

Your problem sounds like the problem PC is a brand new PC which is too
fast for the indexing logic of the old dBASE program which relies upon
the system clock for making the temporary files which are created during
the indexing process. The second temporary file is getting created so
soon after the first one that it's name (which is based on the time) is
the same time as the first one - and thus "already exists".

Visit my site and click the "Gary White" button and then click his "DOS
stuff" and look at IDXFIX.ZIP.
--
Geoff Wass [dBVIPS]
Montréal, Québec, Canada

.|.|.| dBASE info at http://geocities.com/geoff_wass |.|.|.
.|.|.| ---------------------------------------------------------- |.|.|.
.|.|.| IT Consultant http://Geoff_Wass.com |.|.|.
529 Enterprises
2008-10-25 13:14:49 UTC
Permalink
I thought of that and passed on it because this machine has been in use for
a while, but now that I think about it, this machine may have been replaced
or upgraded. I'll have to check into it.
Post by Geoff Wass [dBVIPS]
says...
Post by 529 Enterprises
(Sorry for the repeat, but I left out some info)
I have a client running a peer2peer network with machines running everything
from Win2k to XP_Sp2 and a dB IV app that has run reliably (with minor
glitches) for over 15 years. Within the last three days, one machine has
suddenly decided to blow up during indexing. The machine is a 3+/- GHz with
512mb memory running XP sp2 (sorry, I don't know additional details).
The
program is run through a DOS window with the default settings on all
machines.
Two master tables having 60k+ records
A detail table having 160k records
The indexing routine deletes existing NDX files using the "DELETE FILE"
command and then recreates the NDX from scratch. The problem machine issued
a "File already exists" command even though the DELETE FILE command was
successful and a directory listing confirmed no NDX files. When it did get
past the NDX recreation, it blew up on the detail table reindexing.
I ran the same process programatically 4-5 times last night and reindexed
manually twice from a tablet PC running Windows Tablet XP (or whatever its
callled) and everything worked fine. Several other machines in the office,
including the Win2k machines, pass the indexing fine. The tablet PC also
has 512mb memory, consistently had less available memory (according to task
manager) during the indexing process than the problem machine, but processed
Use DetFile
Pack
It uses two simple index keys in an MDX file, and this machine worked fine
on it until about two or three days ago. Physical memory has been swapped
and tested, the hard drive has been tested and I am stumped as to what has
happened unless XP has suddenly changed a disk caching method. Any input,
WAGs or other ideas welcome.
DR Berry
Dr. Berry,
Your problem sounds like the problem PC is a brand new PC which is too
fast for the indexing logic of the old dBASE program which relies upon
the system clock for making the temporary files which are created during
the indexing process. The second temporary file is getting created so
soon after the first one that it's name (which is based on the time) is
the same time as the first one - and thus "already exists".
Visit my site and click the "Gary White" button and then click his "DOS
stuff" and look at IDXFIX.ZIP.
--
Geoff Wass [dBVIPS]
Montréal, Québec, Canada
.|.|.| dBASE info at http://geocities.com/geoff_wass |.|.|.
.|.|.| ---------------------------------------------------------- |.|.|.
.|.|.| IT Consultant http://Geoff_Wass.com |.|.|.
Loading...