Indexing service keeps stopping

Discussion forum for Enterprise Edition.
Post Reply
dcol
Posts: 135
Joined: Fri May 26, 2017 11:25 pm

Indexing service keeps stopping

Post by dcol » Tue Mar 02, 2021 5:44 pm

The Indexing service keeps stopping. I tried to delete the 'VerificationState.xml' file then restart the indexing service, but after a few seconds, the file and the service stops again.

When I look at the MEMIS log it has this error (xxx@xxx.com is replacing the actual users email)
2021-03-02 10:40:26,478 [20] ERROR - Failed to update index for xxx@xxx.com: The process cannot access the file 'N:\Mail Enable\CONFIG\MailboxSearchIndexing\VerificationState.xml' because it is being used by another process..

What can I do about this?

UPDATE: I tried deleting the file, clearing the log, and restarting the service. And after 5 times the indexing service seems to be holding.
What it looks like to me is the 'VerificationState.xml' file is being used while the service is trying to access the next index update. If there are too many updates in the queue, then the service stops. This is a bug if that is what is happening.

MailEnable-Ian
Site Admin
Posts: 9439
Joined: Mon Mar 22, 2004 4:44 am
Location: Melbourne, Victoria, Australia

Re: Indexing service keeps stopping

Post by MailEnable-Ian » Tue Mar 02, 2021 10:37 pm

Hi,

Is MailEnable setup in a cluster?
Regards,

Ian Margarone
MailEnable Support

dcol
Posts: 135
Joined: Fri May 26, 2017 11:25 pm

Re: Indexing service keeps stopping

Post by dcol » Tue Mar 02, 2021 10:52 pm

no cluster. Don,t even know what that is

dcol
Posts: 135
Joined: Fri May 26, 2017 11:25 pm

Re: Indexing service keeps stopping

Post by dcol » Wed Mar 03, 2021 3:15 pm

It's been 24 hours and the Indexing service has remained running after I restarted it 5 times clearing the file each time.

MailEnable-Ian
Site Admin
Posts: 9439
Joined: Mon Mar 22, 2004 4:44 am
Location: Melbourne, Victoria, Australia

Re: Indexing service keeps stopping

Post by MailEnable-Ian » Wed Mar 03, 2021 10:56 pm

Hi,

Thanks for the update. The developers are looking into this.
Regards,

Ian Margarone
MailEnable Support

Brett Rowbotham
Posts: 552
Joined: Mon Nov 03, 2003 7:48 am
Location: Cape Town

Re: Indexing service keeps stopping

Post by Brett Rowbotham » Fri Mar 05, 2021 6:32 am

Index service has been flakey for a while:
http://www.mailenable.com/forum/viewtopic.php?f=7&t=43125&p=114928#p114928

I just leave it stopped for now.

dcol
Posts: 135
Joined: Fri May 26, 2017 11:25 pm

Re: Indexing service keeps stopping

Post by dcol » Fri Mar 05, 2021 3:17 pm

I agree with flaky. Seems whenever there is too much queued up, it starts failing. And this is a recent issue. I don't remember this happening with earlier versions.

Brett Rowbotham
Posts: 552
Joined: Mon Nov 03, 2003 7:48 am
Location: Cape Town

Re: Indexing service keeps stopping

Post by Brett Rowbotham » Fri Mar 26, 2021 8:14 am

Updated to 10,33

Indexing service ran, after restart, for a little over a minute before shutting down again.

Supermule
Posts: 21
Joined: Tue Mar 09, 2021 12:57 pm

Re: Indexing service keeps stopping

Post by Supermule » Fri Mar 26, 2021 11:07 am

Can you download this and make it run every 15 mins on the server??

https://wj32.org/wp/software/empty-standby-list/

And report back.

Brett Rowbotham
Posts: 552
Joined: Mon Nov 03, 2003 7:48 am
Location: Cape Town

Re: Indexing service keeps stopping

Post by Brett Rowbotham » Fri Mar 26, 2021 11:12 am

Sorry, run nothing provided by someone I don't do business with.

dcol
Posts: 135
Joined: Fri May 26, 2017 11:25 pm

Re: Indexing service keeps stopping

Post by dcol » Fri Mar 26, 2021 3:24 pm

I updated to 10.33. Haven't seen this issue since I cleared out the queue. You need to restart the service deleting the VerificationState.xml file every time until it clears the queue. Could be dozens of times depending on how big the queue is. I think it all started when I requested too many re-indexes at once

Brett Rowbotham
Posts: 552
Joined: Mon Nov 03, 2003 7:48 am
Location: Cape Town

Re: Indexing service keeps stopping

Post by Brett Rowbotham » Wed May 05, 2021 8:54 am

Finally got the service working correctly by deleting the stored index files for the user most often referred near the time the crash occurred.

Must have been corrupt data as the service now runs as designed.

Post Reply