I've got the indexer set up to run directly on the web server itself and to deposit its index files right in the root directory of the site. It ran perfectly well in testing this way, but after a move to production, the indexing process (running nightly) fails with these kinds of errors at the end of the log:
08|11/01/10 01:52:31|Failed to delete existing file E:\Inetpub\[..]\zoom_dictionary.zdat (File may be held open by search engine - attempt 3 of 3)
08|11/01/10 01:52:32|Failed to delete existing file E:\Inetpub\[..]\zoom_dictionary.zdat (File is held open by another application)
It says this for four of the .zdat files. The site is running on IIS 6.0 in its own application pool. In order to release the hold on the .zdat files that is causing the problem, I have to stop the website AND recycle the application pool. After that, I can delete the files and replace them with new ones.
I want to automate this process without having to shut down the site and recycle the app pool on a daily basis. Is there something else that can be done to release the hold on these files?
chinkle
08|11/01/10 01:52:31|Failed to delete existing file E:\Inetpub\[..]\zoom_dictionary.zdat (File may be held open by search engine - attempt 3 of 3)
08|11/01/10 01:52:32|Failed to delete existing file E:\Inetpub\[..]\zoom_dictionary.zdat (File is held open by another application)
It says this for four of the .zdat files. The site is running on IIS 6.0 in its own application pool. In order to release the hold on the .zdat files that is causing the problem, I have to stop the website AND recycle the application pool. After that, I can delete the files and replace them with new ones.
I want to automate this process without having to shut down the site and recycle the app pool on a daily basis. Is there something else that can be done to release the hold on these files?
chinkle
Comment