Lock obtain timed out - What's the meaning?

This is an open forum for any mojoPortal topics that don't fall into the other categories.

This thread is closed to new posts. You must sign in to post in the forums.
8/6/2009 1:18:47 PM
Gravatar
Total Posts 251

Lock obtain timed out - What's the meaning?

In the system log i have thousands of this events:

2009-08-06 19:45:06,687 ERROR mojoPortal.Business.WebHelpers.IndexWriterTask - System.IO.IOException: Lock obtain timed out: SimpleFSLock@x:\Data\Sites\1\index\write.lock
at Lucene.Net.Store.Lock.Obtain(Int64 lockWaitTimeout)
at Lucene.Net.Index.IndexReader.AquireWriteLock()
at Lucene.Net.Index.IndexReader.DeleteDocument(Int32 docNum)
at Lucene.Net.Index.IndexReader.DeleteDocuments(Term term)
at mojoPortal.Business.WebHelpers.IndexWriterTask.ProcessQueue(DataTable q, String indexPath)

but the IIS_WPG users group has write permissions on that file...

8/6/2009 2:10:39 PM
Gravatar
Total Posts 18439

Re: Lock obtain timed out - What's the meaning?

I think that file is transient and created as needed so it seems more likely a permission issue on the folder itself because that file gets creaqted and then deleted. On IIS 7 you also need to give NETWORK SERVICE user the permissions.

Probably need to rebuild the index, if that has been happening then its must be out of sync with the content.

Hope it helps,

Joe 

You must sign in to post in the forums. This thread is closed to new posts.