Welcome to the DNN Community Forums, your preferred source of online community support for all things related to DNN.
In order to participate you must be a registered DNNizen

HomeHomeUsing DNN Platf...Using DNN Platf...Administration ...Administration ...What is causing "Unable to create Lucene writer (lock file is in use)". What is causing "Unable to create Lucene writer (lock file is in use)".
Previous
 
Next
New Post
9/7/2015 2:34 AM
 
Hi ,

 

What is causing the general exception mentioned below?
I have done "Tools->Recycle Application Domain".
However, this message is keep comming back.

 

Regards, Ton

 

--------------------------------------------------------------------

AbsoluteURL

:

DefaultDataProvider:DotNetNuke.Data.SqlDataProvider, DotNetNuke

ExceptionGUID:b0cd7b40-e2f6-4673-9423-447be6f8e242

AssemblyVersion:

PortalId:-1

UserId:-1

TabId:-1

RawUrl:

Referrer:

UserAgent:

ExceptionHash:kbj013xQoEHOi+NNn3DVMw==

Message:Unable to create Lucene writer (lock file is in use). Please recycle AppPool in IIS to release lock.

StackTrace:

   at DotNetNuke.Services.Search.Internals.LuceneControllerImpl.get_Writer()
   at DotNetNuke.Services.Search.Internals.LuceneControllerImpl.Delete(Query query)
   at DotNetNuke.Services.Search.Internals.InternalSearchControllerImpl.DeleteSearchDocumentInternal(SearchDocument searchDocument, Boolean autoCommit)
   at DotNetNuke.Services.Search.Internals.InternalSearchControllerImpl.DeleteSearchDocumentsByModule(Int32 portalId, Int32 moduleId, Int32 moduleDefId)
   at DotNetNuke.Services.Search.SearchDataStore.StoreSearchItems(SearchItemInfoCollection searchItems)
   at DotNetNuke.Services.Search.SearchEngine.IndexContent(DateTime startDate)
   at DotNetNuke.Services.Search.SearchEngineScheduler.DoWork()

 

InnerMessage:The process cannot access the file 'C:\HostingSpaces\waterman\watermanshop.com\wwwroot\App_Data\Search\write.lock' because it is being used by another process.

InnerStackTrace:

   at System.IO.__Error.WinIOError(Int32 errorCode, String maybeFullPath)
   at System.IO.File.InternalDelete(String path, Boolean checkHost)
   at System.IO.File.Delete(String path)
   at DotNetNuke.Services.Search.Internals.LuceneControllerImpl.get_Writer()

 

Source:DotNetNuke

FileName:

FileLineNumber:0

FileColumnNumber:0

Method:

Server Naam: sknet148


Art is hard work, inspiration is the cream on top of it. See my watercolors at www.watermansite.com and my enamel art at www.watermanshop.com
 
New Post
9/7/2015 2:52 AM
 
most likely there is another process interfering with the search indexer, either a virus scanner or a backup application or sth like this.

Cheers from Germany,
Sebastian Leupold (Microsoft MVP)

dnnWerk - The DotNetNuke Experts   German Spoken DotNetNuke User Group

Speed up your DNN Websites with TurboDNN
 
New Post
11/27/2015 9:13 PM
 

Dear Sebastian,

Every 15 second (approximately)  the event log is showing the following three (3) entries:

  • Scheduler Exception
  • Scheduler Event Failure
  • General Exception

Recently, the installation was upgraded to 07.04.02 (216). I figure out the problem, because one module stop working. After clear the log entries, the module start working. So, I expected the issue came after upgrade to latest version.

In other post you mention to remove old modules (/bin and bin/provider/). I'm not sure how to know which are old. Please, can you give more details about this suggestion?

For now, the log is increasing too fast and I need to take care in a daily basis.

I appreciated any suggestion to solve this problem.

Thanks

Julio

 

Below the details:

---------

AbsoluteURL:

DefaultDataProvider:DotNetNuke.Data.SqlDataProvider, DotNetNuke

ExceptionGUID:9512c8ce-9286-4a8c-bdb7-2e779fb3770d

AssemblyVersion:

PortalId:-1

UserId:-1

TabId:-1

RawUrl:

Referrer:

UserAgent:

ExceptionHash:EIopMlgstxm7Q2RfhfOP2Q==

Message:Unable to create Lucene writer (lock file is in use). Please recycle AppPool in IIS to release lock.

StackTrace:

   at DotNetNuke.Services.Search.Internals.LuceneControllerImpl.get_Writer()
   at DotNetNuke.Services.Search.Internals.LuceneControllerImpl.Delete(Query query)
   at DotNetNuke.Services.Search.Internals.InternalSearchControllerImpl.DeleteSearchDocumentInternal(SearchDocument searchDocument, Boolean autoCommit)
   at DotNetNuke.Services.Search.Internals.InternalSearchControllerImpl.DeleteSearchDocumentsByModule(Int32 portalId, Int32 moduleId, Int32 moduleDefId)
   at DotNetNuke.Services.Search.SearchDataStore.StoreSearchItems(SearchItemInfoCollection searchItems)
   at DotNetNuke.Services.Search.SearchEngine.IndexContent()
   at DotNetNuke.Services.Search.SearchEngineScheduler.DoWork()

 

InnerMessage:The process cannot access the file 'G:\PleskVhosts\websitehttpdocs\App_Data\Search\write.lock' because it is being used by another process.

InnerStackTrace:

   at System.IO.__Error.WinIOError(Int32 errorCode, String maybeFullPath)
   at System.IO.File.InternalDelete(String path, Boolean checkHost)
   at System.IO.File.Delete(String path)
   at DotNetNuke.Services.Search.Internals.LuceneControllerImpl.get_Writer()

 

Source:DotNetNuke

FileName:

FileLineNumber:0

FileColumnNumber:0

Method:

Server Name: P3NWVPWEB126

---------

THREAD ID:87

TYPE:DotNetNuke.Services.Search.SearchEngineScheduler, DOTNETNUKE

EXCEPTION:Unable to create Lucene writer (lock file is in use). Please recycle AppPool in IIS to release lock.

RESCHEDULED FOR:11/27/2015 7:00:41 PM

SOURCE:STARTED_FROM_TIMER

ACTIVE THREADS:0

FREE THREADS:1

READER TIMEOUTS:0

WRITER TIMEOUTS:0

IN PROGRESS:0

IN QUEUE:9

Server Name: P3NWVPWEB126

---------

AbsoluteURL:

DefaultDataProvider:DotNetNuke.Data.SqlDataProvider, DotNetNuke

ExceptionGUID:6c8ccac9-8c3e-47d5-a89f-7e2252077f6d

AssemblyVersion:

PortalId:-1

UserId:-1

TabId:-1

RawUrl:

Referrer:

UserAgent:

ExceptionHash:EIopMlgstxm7Q2RfhfOP2Q==

Message:Unable to create Lucene writer (lock file is in use). Please recycle AppPool in IIS to release lock.

StackTrace:

   at DotNetNuke.Services.Search.Internals.LuceneControllerImpl.get_Writer()
   at DotNetNuke.Services.Search.Internals.LuceneControllerImpl.Delete(Query query)
   at DotNetNuke.Services.Search.Internals.InternalSearchControllerImpl.DeleteSearchDocumentInternal(SearchDocument searchDocument, Boolean autoCommit)
   at DotNetNuke.Services.Search.Internals.InternalSearchControllerImpl.DeleteSearchDocumentsByModule(Int32 portalId, Int32 moduleId, Int32 moduleDefId)
   at DotNetNuke.Services.Search.SearchDataStore.StoreSearchItems(SearchItemInfoCollection searchItems)
   at DotNetNuke.Services.Search.SearchEngine.IndexContent()
   at DotNetNuke.Services.Search.SearchEngineScheduler.DoWork()

 

InnerMessage:The process cannot access the file 'G:\PleskVhosts\website\httpdocs\App_Data\Search\write.lock' because it is being used by another process.

InnerStackTrace:

   at System.IO.__Error.WinIOError(Int32 errorCode, String maybeFullPath)
   at System.IO.File.InternalDelete(String path, Boolean checkHost)
   at System.IO.File.Delete(String path)
   at DotNetNuke.Services.Search.Internals.LuceneControllerImpl.get_Writer()

 

Source:DotNetNuke

FileName:

FileLineNumber:0

FileColumnNumber:0

Method:

Server Name: P3NWVPWEB126

---------

 
New Post
11/28/2015 5:36 AM
 

Hi

This is related to version 7,4,2,
I have installed a version 7.4.2 without any modules and it started to display these messages.
(There were no old modules).
So I guess this is related to DNN version 7.4.2. itself.
I have to truncate my exceptions table every few days.
Every day I have to clear the event log also.

Regards, Ton


Art is hard work, inspiration is the cream on top of it. See my watercolors at www.watermansite.com and my enamel art at www.watermanshop.com
 
New Post
11/28/2015 5:38 AM
 
Julio,
you should fist focus on the cause of the issue and next about logging limitations.
The error above shows problems with file system, the search indexer of Lucene is unable to lock its files.
Please check file permission on /app_data/search, for a clean re-start of indexing delete all files in this folder.
Also make sure, files in this folders don't get blocked by other services like backup or virus scanner.

Cheers from Germany,
Sebastian Leupold (Microsoft MVP)

dnnWerk - The DotNetNuke Experts   German Spoken DotNetNuke User Group

Speed up your DNN Websites with TurboDNN
 
Previous
 
Next
HomeHomeUsing DNN Platf...Using DNN Platf...Administration ...Administration ...What is causing "Unable to create Lucene writer (lock file is in use)". What is causing "Unable to create Lucene writer (lock file is in use)".


These Forums are dedicated to discussion of DNN Platform and Evoq Solutions.

For the benefit of the community and to protect the integrity of the ecosystem, please observe the following posting guidelines:

  1. No Advertising. This includes promotion of commercial and non-commercial products or services which are not directly related to DNN.
  2. No vendor trolling / poaching. If someone posts about a vendor issue, allow the vendor or other customers to respond. Any post that looks like trolling / poaching will be removed.
  3. Discussion or promotion of DNN Platform product releases under a different brand name are strictly prohibited.
  4. No Flaming or Trolling.
  5. No Profanity, Racism, or Prejudice.
  6. Site Moderators have the final word on approving / removing a thread or post or comment.
  7. English language posting only, please.

Content Layout

Subscribe to DNN Digest

DNN Digest is our monthly email newsletter. It highlights news and content from around the DNN ecosystem, such as new modules and themes, messages from leadership, blog posts and notable tweets. Keep your finger on the pulse of the ecosystem by subscribing.  


Copyright 2017 by DNN Corp Terms of Use Privacy
What is Liquid Content?
Find Out
What is Liquid Content?
Find Out
What is Liquid Content?
Find Out