lucene-java-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "David Townsend" <david.towns...@magus.co.uk>
Subject RE: weblogic cluster, index on NFS and locking problem
Date Wed, 04 Feb 2004 12:33:37 GMT
We work on NFS and have had major problems with locking, which often leads to the indices becoming
corrupt.  Our solution was to replace file locking with a database system.   I can release
the code but I'm not sure of the process or where to put it.  It basically two classes one
that extends the Directory class and one that deals with the database interaction.

David Townsend

-----Original Message-----
From: Dmitri Ilyin [mailto:dmitri.ilyin@dynamic.de]
Sent: 04 February 2004 09:49
To: lucene-user@jakarta.apache.org
Subject: Re: weblogic cluster, index on NFS and locking problem


What is it good for???
unfortunately i don't have any access to NFS server. It runs at 
customers in production environment.
> Suggestion: make sure the NFS lock daemon (lockd) is running on the NFS
> server.
> 
> Peter
> 
> ----- Original Message ----- 
> From: "Dmitri Ilyin" <dmitri.ilyin@dynamic.de>
> To: <lucene-user@jakarta.apache.org>
> Sent: Tuesday, February 03, 2004 1:09 PM
> Subject: weblogic cluster, index on NFS and locking problem
> 
> 
> 
>>Hi,
>>
>>We run our application on weblogic cluster. the lucene index service
>>runs on both server in cluster and they both write to one index
>>directory, shared via NFS. We have experenced a problem with commit.lock
>>file, that seems not to be deleted and stayed in the index directory, so
>>we could not start indexing any more becouse lucene could not
>>create/read commit.lock file.
>>
>>I'm not sure what excatly our problem is. It could be NFS problem or it
>>could be our "usage" problem. We are just starting to use lucene and
>>could made something wrong.
>>
>>We use lucene to index and to search documents. Write/read could be
>>concurent.
>>
>>I saw in the list some messages about problems with lock files on NFS
>>file system. But i could not realy understand what the problem is.
>>
>>How can we improve our solution?? What do we have to do excatly to avoid
>>problem with stayed commit.lock file???
>>
>>thaks for any advise
>>
>>regards
>>
>>Dmitri
>>
>>
>>
>>---------------------------------------------------------------------
>>To unsubscribe, e-mail: lucene-user-unsubscribe@jakarta.apache.org
>>For additional commands, e-mail: lucene-user-help@jakarta.apache.org
>>
>>



---------------------------------------------------------------------
To unsubscribe, e-mail: lucene-user-unsubscribe@jakarta.apache.org
For additional commands, e-mail: lucene-user-help@jakarta.apache.org


---------------------------------------------------------------------
To unsubscribe, e-mail: lucene-user-unsubscribe@jakarta.apache.org
For additional commands, e-mail: lucene-user-help@jakarta.apache.org


Mime
View raw message