You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@lucenenet.apache.org by Charles Wan-Calo <cw...@gmail.com> on 2007/10/30 19:08:31 UTC

Lucene 2.0 causing delayed write failure?

Hi, All,

I am working on a project using Lucene 2.0.  We've been testing our
application on a number of Windows machines with .NET 2.0.  On some (but not
all) machines) we got "delayed write failure" errors from Windows.
Sometimes, Windows rebooted by itself and got into check disk utility after
reboot.  Check disk utility reported that disk sectors were recovered.
Other times, we got the Windows error dialog box.  After clicking away the
dialog box, the Lucene index files were messed up.  We couldn't delete
them.  We had to run Windows check disk utility to repair the sectors.

Does anyone have the same experience?

Any help will be greatly appreciated.

Thanks.

Charles

Re: Lucene 2.0 causing delayed write failure?

Posted by Ciaran Roarty <ci...@gmail.com>.
That's not a Lucene problem, it sounds like you have delayed write set on
the disks which effectively means that I/O is async.
If you switch that off on those disks then you shouldn't encounter that
issue.

http://searchwinit.techtarget.com/tip/0,289483,sid1_gci1041334,00.htmlexplains
more.

Ciaran

On 30/10/2007, Charles Wan-Calo <cw...@gmail.com> wrote:
>
> Hi, All,
>
> I am working on a project using Lucene 2.0.  We've been testing our
> application on a number of Windows machines with .NET 2.0.  On some (but
> not
> all) machines) we got "delayed write failure" errors from Windows.
> Sometimes, Windows rebooted by itself and got into check disk utility
> after
> reboot.  Check disk utility reported that disk sectors were recovered.
> Other times, we got the Windows error dialog box.  After clicking away the
> dialog box, the Lucene index files were messed up.  We couldn't delete
> them.  We had to run Windows check disk utility to repair the sectors.
>
> Does anyone have the same experience?
>
> Any help will be greatly appreciated.
>
> Thanks.
>
> Charles
>

RE: Lucene 2.0 causing delayed write failure?

Posted by René de Vries <re...@howardshome.com>.
I've never seen this with Lucene, but I've had similar problems with SQL Server once. If your data is located on a RAID array, you may want to check if your controller is having problems. Make sure you write buffering is switched off.

-----Original Message-----
From: Charles Wan-Calo [mailto:cwancalo@gmail.com] 
Sent: dinsdag 30 oktober 2007 19:09
To: lucene-net-user@incubator.apache.org
Subject: Lucene 2.0 causing delayed write failure?

Hi, All,

I am working on a project using Lucene 2.0.  We've been testing our
application on a number of Windows machines with .NET 2.0.  On some (but not
all) machines) we got "delayed write failure" errors from Windows.
Sometimes, Windows rebooted by itself and got into check disk utility after
reboot.  Check disk utility reported that disk sectors were recovered.
Other times, we got the Windows error dialog box.  After clicking away the
dialog box, the Lucene index files were messed up.  We couldn't delete
them.  We had to run Windows check disk utility to repair the sectors.

Does anyone have the same experience?

Any help will be greatly appreciated.

Thanks.

Charles