Page 1 of 1

The version 2.25.2 is very slow!

Posted: 09 Mar 2022, 01:42
by duongnvm
Personally, I find that version 2.25.2 is very slow in handling tasks with assigned problem handlers.
As in the problem reporting function, if there is a handler assignment ==> Processing is very slow.
As in the issue detail page, doing the assignment of handler ==> Processing is very slow.

Re: The version 2.25.2 is very slow!

Posted: 09 Mar 2022, 13:38
by cas
Like I mentioned earlier, how is the mailhandling defined? This is quite often the RC for such issues.

Re: The version 2.25.2 is very slow!

Posted: 18 Jul 2022, 07:49
by Heisenbug_49
Hi everyone,

Same problem here. I'm particularly experiencing very slow response when using a custom plugin which is doing loads of database queries (that plugin worked like a charm with Mantis 2.21). However, when I disable that plugin, Mantis is still very slow doing basic things (such as adding notes or editing fields).

Note that I have already disabled email notifications. Any other idea ?

Thanks in advance.

Re: The version 2.25.2 is very slow!

Posted: 18 Jul 2022, 12:32
by cas
You could try the latest version 2.25.5

Re: The version 2.25.2 is very slow!

Posted: 18 Jul 2022, 12:38
by Heisenbug_49
cas wrote: 18 Jul 2022, 12:32 You could try the latest version 2.25.5
Thanks, I'm already into it. It's my last resort. :lol:

Re: The version 2.25.2 is very slow!

Posted: 18 Jul 2022, 15:19
by Heisenbug_49
cas wrote: 18 Jul 2022, 12:32 You could try the latest version 2.25.5
Unfortunately, the upgrade from 2.25.2 to 2.25.5 did not succeed entirely. I can still access Mantis but I can't complete step 5 of the upgrade. I'm getting the following PHP error:

Code: Select all

Fatal error: Uncaught Error: Call to a member function Param() on boolean in /var/www/mantis/core/classes/DbQuery.class.php:456
...
Any ideas ?

Re: The version 2.25.2 is very slow!

Posted: 18 Jul 2022, 15:42
by cas
Is that including the custom function?
If so, I would deactivate that one and try again.
If not,check the Mantis bug site.

Re: The version 2.25.2 is very slow!

Posted: 19 Jul 2022, 12:26
by Heisenbug_49
I tried to disable all my plugins and remove my custom_functions_inc.php but I'm still getting the same error.

Re: The version 2.25.2 is very slow!

Posted: 20 Jul 2022, 07:03
by cas
So if you get the message in "vanilla" Mantis installation, you should file a bug report @ https://mantisbt.org/bugs/view_all_bug_page.php
Please make sure to also list your environment while reporting the issue such as OS, PHP version & database

Re: The version 2.25.2 is very slow!

Posted: 02 Aug 2022, 08:50
by Heisenbug_49
Heisenbug_49 wrote: 18 Jul 2022, 15:19
Unfortunately, the upgrade from 2.25.2 to 2.25.5 did not succeed entirely. I can still access Mantis but I can't complete step 5 of the upgrade. I'm getting the following PHP error:

Code: Select all

Fatal error: Uncaught Error: Call to a member function Param() on boolean in /var/www/mantis/core/classes/DbQuery.class.php:456
...
I've tried everything regarding this error and I'm putting it aside for now. My main problem being why 2.25.2 is so slow. So I decided to take a step back and start over. Here's what I did:
  • cloned my production environment
  • upgraded each minor version from 2.21.2 to 2.25.0:
    • 2.22.0 => Unchanged performance
    • 2.23.0 => Degraded performance
    • 2.24.0 => Worsened performance
    • 2.25.0 => Worsened performance
So now I'm searching the changelogs for something that could've slowed down Mantis between 2.22.0 and 2.23.0. The root cause has to be lying here somewhere...

Could it be due to the upgrade of ADOdb ?