6.0.1 Problem with Scheduler Daemon Cron: ArticleSearchIndexRebuild

Moderator: crythias

Post Reply
gtavarez
Znuny newbie
Posts: 3
Joined: 28 Nov 2017, 20:53
Znuny Version: 6.0.1
Location: Dominican Republic

6.0.1 Problem with Scheduler Daemon Cron: ArticleSearchIndexRebuild

Post by gtavarez »

After upgrating from 5.0.17 to 6.0.1 I'm constantly receiving the following mail from Crontab:

OTRS Scheduler Daemon Cron: ArticleSearchIndexRebuild
Error: Active indexing process already running! Skipping...

The OTRS log shows this:
OTRS-otrs.Console.pl-Maint::Ticket::FulltextIndexRebuildWorker-91 There was an error executing Execute() in Kernel::System::Console::Command::Maint::Ticket::FulltextIndexRebuildWorker: Error: Active indexing process already running! Skipping.

I don't know how to stop this, any idea?
rapzilla
Znuny newbie
Posts: 2
Joined: 13 Feb 2018, 20:44
Znuny Version: 6.0.4
Real Name: Ron
Company: UBC

Re: 6.0.1 Problem with Scheduler Daemon Cron: ArticleSearchIndexRebuild

Post by rapzilla »

I am having the exact same issue. Did you find a solution? Thank you.
rapzilla
Znuny newbie
Posts: 2
Joined: 13 Feb 2018, 20:44
Znuny Version: 6.0.4
Real Name: Ron
Company: UBC

Re: 6.0.1 Problem with Scheduler Daemon Cron: ArticleSearchIndexRebuild

Post by rapzilla »

Actual script generating messages is:
/opt/otrs/Kernel/System/Console/Command/Maint/Ticket/FulltextIndexRebuildWorker.pm

Went into Admin console, under "System Configuration" and searched for
"ArticleSearchIndexRebuild".

Edited to add a new param, --force-pid

Appears to have stopped the messages. Hopefully didn't do any damage.
ERPL
Znuny newbie
Posts: 4
Joined: 23 Apr 2018, 16:05
Znuny Version: 6.06.00
Real Name: Andrea Pedinotti
Company: Erp Logic

Re: 6.0.1 Problem with Scheduler Daemon Cron: ArticleSearchIndexRebuild

Post by ERPL »

If it workes (without side effects also) you saved my life.

After the upgrade to 6.06, this nightmare started apparently without known reason.

OTRS support was not helping, since they said it could be a configuration issue.

This messages were killing our system fullfilling the relay of SMTP limit and preventing email sending of any kind out from OTRS.

I'll let you know...

In case, I owe you a beer wherever you are.

Best Regards
JazzMed13
Znuny newbie
Posts: 39
Joined: 06 Apr 2016, 17:18
Znuny Version: 6.0.4
Real Name: Jazmin Medina
Company: Private

Re: 6.0.1 Problem with Scheduler Daemon Cron: ArticleSearchIndexRebuild

Post by JazzMed13 »

I have this issue too..

do you have any solution for this ???
JSchul
Znuny newbie
Posts: 4
Joined: 07 Mar 2019, 09:26
Znuny Version: 6.0.XX

Re: 6.0.1 Problem with Scheduler Daemon Cron: ArticleSearchIndexRebuild

Post by JSchul »

rapzilla wrote: 14 Feb 2018, 22:55 Actual script generating messages is:
/opt/otrs/Kernel/System/Console/Command/Maint/Ticket/FulltextIndexRebuildWorker.pm

Went into Admin console, under "System Configuration" and searched for
"ArticleSearchIndexRebuild".

Edited to add a new param, --force-pid

Appears to have stopped the messages. Hopefully didn't do any damage.
Thank you soooo much!!
crythias
Moderator
Posts: 10169
Joined: 04 May 2010, 18:38
Znuny Version: 5.0.x
Location: SouthWest Florida, USA
Contact:

Re: 6.0.1 Problem with Scheduler Daemon Cron: ArticleSearchIndexRebuild

Post by crythias »

This may happen if you reboot while the process was running. It keeps the pid (processID) in the database and doesn't clean up if it doesn't exist in the process list.

Code: Select all

bin/otrs.Console.pl Maint::Ticket::FulltextIndexRebuildWorker --force-pid
Should be run, but not all the time. it's not recommended to keep doing these in parallel, which is why it errors out. Otherwise, you'll be parallel queueing redundantly the heavy process of rebuilding the search index.

This (still) may take some time to clean up and lots of continuous notifications while the primary job completes.

check ps auxwww for FulltextIndexRebuildWorker vs select * from process_id in sql box.
OTRS 6.0.x (private/testing/public) on Linux with MySQL database.
Please edit your signature to include your OTRS version, Operating System, and database type.
Click Subscribe Topic below to get notifications. Consider amending your topic title to include [SOLVED] if it is so.
Need help? Before you ask
Mbel
Znuny newbie
Posts: 5
Joined: 16 Jun 2020, 07:49
Znuny Version: 6.0
Real Name: Markus Bellenberg

Re: 6.0.1 Problem with Scheduler Daemon Cron: ArticleSearchIndexRebuild

Post by Mbel »

You saved my live as well !

There was an error executing Execute() in Kernel::System::Console::Command::Maint::Ticket::FulltextIndexRebuildWorker: Error: Active indexing process already running! Skipping...


I received this error message every minute, but don't relay know what initialted this behavior

Thanks for
bin/otrs.Console.pl Maint::Ticket::FulltextIndexRebuildWorker --force-pid

worked fine
Markus
wmfinamore
Znuny newbie
Posts: 2
Joined: 18 Jan 2021, 16:22
Znuny Version: OTRS 6
Real Name: Willian Moreira Finamore

Re: 6.0.1 Problem with Scheduler Daemon Cron: ArticleSearchIndexRebuild

Post by wmfinamore »

rapzilla wrote: 14 Feb 2018, 22:55 Actual script generating messages is:
/opt/otrs/Kernel/System/Console/Command/Maint/Ticket/FulltextIndexRebuildWorker.pm

Went into Admin console, under "System Configuration" and searched for
"ArticleSearchIndexRebuild".

Edited to add a new param, --force-pid

Appears to have stopped the messages. Hopefully didn't do any damage.
Thanks for help!!
Post Reply