Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Slow Dequeueing Process #139

Open
kfogle opened this issue Aug 31, 2020 · 3 comments
Open

Slow Dequeueing Process #139

kfogle opened this issue Aug 31, 2020 · 3 comments

Comments

@kfogle
Copy link

kfogle commented Aug 31, 2020

We're experiencing extremely slow dequeuing of one of our sites. The following snippet from verbose logging shows that it takes almost 3 minutes to lookup visitor. This worked well for a few weeks, but has slowly declined over time.

[2020-08-31 16:01:01] piwik.DEBUG: Executing Piwik\Plugins\CoreHome\Tracker\VisitRequestProcessor::processRequestParams()... [] {"class":"QueuedTracking","request_id":31138}

[2020-08-31 16:01:01] piwik.DEBUG: token_auth is authenticated in cache! [] {"class":"CoreHome","request_id":31138}

[2020-08-31 16:01:01] piwik.DEBUG: DoNotTrack support is not enabled, skip check [] {"class":"PrivacyManager","request_id":31138}

[2020-08-31 16:01:01] piwik.DEBUG: Matching visitors with: visitorId=2f89489d694097e4 OR configId=1522d51efd5641cb [] {"class":"CoreHome","request_id":31138}

[2020-08-31 16:02:50] piwik.DEBUG: The visitor was not matched with an existing visitor... [] {"class":"CoreHome","request_id":31138}

@kfogle kfogle changed the title Long Queueing Process Long Dequeueing Process Aug 31, 2020
@kfogle kfogle changed the title Long Dequeueing Process Slow Dequeueing Process Aug 31, 2020
@tsteur
Copy link
Member

tsteur commented Aug 31, 2020

Hi @kfogle are you using Redis or MySQL database for storing the queue data? Generally this sounds unrelated to the queue though. Where there maybe any indexes removed on the <prefix>log_visit table? Or is there maybe generally a big load on the database?

@StevieKay90
Copy link

@kfogle this seems a little similar to the issue I am having with a slow dequeueing process - did you remedy this?
Which matomo version were you using?

@keller31
Copy link

keller31 commented Dec 2, 2021

Please try to close the Provider plug-in.
Provider will seriously block the processing progress of the queue.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants