Dear all,
we are using OJS 3.3.0.5 (upgraded to that version from 3.1.1.1 about a year ago) and the mysql is constantly using way too many resources so the performance is very bad.
Searching this forum I found only two similar items (Mysql slow after upgrade to OJS 3.3.0.6 and Working with large metrics tables - #3 by retostauffer ), but that is not my case (all tables are innodb and the suggested key is available in the table).
The mytop tool shows that constantly several following SQLs are running:
SELECT submission_id, month, SUM(metric) AS metric FROM metrics WHERE context_id = 1 AND assoc_type = 1048585 AND month = '202301' AND metric_type = 'ojs::counter' GROUP BY submission_i....
Any idea how to investigate/solve the issue?
Regards, Primož
abadan
January 12, 2023, 7:47pm
2
Do you use this plugin or a similar one?
If so, you can try disabling it to see if that fixes it.
Also, see if this issue affects you:
opened 05:41PM - 12 Jul 21 UTC
closed 12:29AM - 16 Oct 21 UTC
Housekeeping:1:Todo
**Describe the bug**
I'm not able to tell you where, but looks like somewhere i… n OJS 3.2.1 (stable) the application builds a link to the searcher with a reference to the author as follows:
https://revistes.uab.cat/enrahonar/search/authors/view?firstName=Josep&middleName=M%C2%AA&lastName=Quintana%20Cabanas&affiliation=&country=
This search takes tooo long to be resolved and google Search counts those urls as an error.
The search returns values that, at fist glace, don't make any sense to me.
Do you know where is this referenced? Is this something important to keep?
**To Reproduce**
Steps to reproduce the behavior:
1. Go to https://revistes.uab.cat/enrahonar/search/authors/view?firstName=Josep&middleName=M%C2%AA&lastName=Quintana%20Cabanas&affiliation=&country=
2. See error (long time to resolve)
**What application are you using?**
OJS stable-3.2.1 from docker images (packaged last week).
**Additional information**
This is the error 5xx increment that google Search reports after moving from 2.x to 3.x:

The error could be related with this:
https://forum.pkp.sfu.ca/t/ojs-3-0-2-search-filters/30766/14
As a workaround you can remove this path from your robots... even they will be still exposed in your sitemap.
If this feature is not working fine, I would encourage to disable it till it's fixed.
primozs
January 13, 2023, 12:03pm
3
Hi @abadan ,
Yes, we are/have been using the mostRead plugin. Disabling it looks like solving the issue. We’ll keep observing it. Thank you very much for the hint!
Regards, Primož
primozs
January 20, 2023, 12:43pm
4
Hi @abadan ,
I can now confirm that disabling the mostRead plugin was the solution, thank you once more.
Regards, Primož
1 Like