Moodle Pages Slow to Load / Respond. Moodle performance issu

  • Brian Cunningham
  • Topic Author
  • Offline
  • Senior Member
  • Senior Member
More
15 years 1 month ago - 15 years 2 weeks ago #1 by Brian Cunningham
We have three issues that I think are related.
  1. When setting up new menu items, the process fails with SQL error. See screen shots. Every so ften the process will succeed. At the moment I can not create a new menue item.
  2. Access Joomdle pages often fails in a similar way. This is much less often and feels like it's a first thing in the morning thing.
  3. Joomdle pages are always slow to render.



Joomdle Sys tools passed.

I just reinstalled Joomdle to see if that would help but no.

Moodle 2.x Joomla 1.5.2
Last edit: 15 years 2 weeks ago by Chris.

Please Log in or Create an account to join the conversation.

  • Brian Cunningham
  • Topic Author
  • Offline
  • Senior Member
  • Senior Member
More
15 years 1 month ago #2 by Brian Cunningham
Replied by Brian Cunningham on topic Re: Joomla Menu Item set up fails + Joomdle pages time out
By the way I found this in the /administrator/error_log...

[30-Mar-2011 13:03:14] PHP Warning: call_user_func_array() expects parameter 1 to be a valid callback, function 'plug_joomdlehookscb_uninstall' not found or invalid function name in /home/clique/public_html/administrator/components/com_comprofiler/library/cb/cb.installer.php on line 1254

Please Log in or Create an account to join the conversation.

More
15 years 4 weeks ago #3 by Antonio Durán
Hi Brian.

I have only seen similar sql errors trying to install on a low-memory server.

Does the error only happen with joomdle menu items? All items?
When did error started to appear?

Please Log in or Create an account to join the conversation.

  • Brian Cunningham
  • Topic Author
  • Offline
  • Senior Member
  • Senior Member
More
15 years 4 weeks ago #4 by Brian Cunningham
Replied by Brian Cunningham on topic Re: Joomla Menu Item set up fails + Joomdle pages time out
At the moment we think this is a Moodle DB performance issue. I'll let you know what we find.

Please Log in or Create an account to join the conversation.

More
15 years 2 weeks ago #5 by Enid Newberg
I'm having the same issue. At times nothing opens and it times out. Other times it works fine. Sometimes a page will simply say it cannot be found and then you click again and its there. What is the minimum memory recommended? Can this work on a shared server?

Please Log in or Create an account to join the conversation.

  • Brian Cunningham
  • Topic Author
  • Offline
  • Senior Member
  • Senior Member
More
15 years 2 weeks ago #6 by Brian Cunningham
Replied by Brian Cunningham on topic Re: Joomla Menu Item set up fails + Joomdle pages time out
Turns out our problem was related to a Moodle cache setting. Admin ---> Themes --> Theme settings --> Theme designer mode was set to yes. Pretty stupid really.

Not a complete loss of time though. Some of the performance tweaks we tested did help. Apache MemCache gave a notable boost.

Please Log in or Create an account to join the conversation.

More
15 years 2 weeks ago #7 by Enid Newberg
This is the one of the error messages I get

Error: Database connection failed
It is possible that the database is overloaded or otherwise not running properly.
The site administrator should also check that the database details have been correctly specified in config.php
Warning: mysqli::close() [mysqli.close]: Couldn't fetch mysqli in /home/cosmic14/public_html/classes/lib/dml/mysqli_native_moodle_database.php on line 336

Please Log in or Create an account to join the conversation.

  • Brian Cunningham
  • Topic Author
  • Offline
  • Senior Member
  • Senior Member
More
15 years 2 weeks ago #8 by Brian Cunningham
Replied by Brian Cunningham on topic Re: Joomla Menu Item set up fails + Joomdle pages time out
Might be the same type of error. The cache configuration problem was slowing everything else down to the point were we were getting DB time out issues. We are not using mysqli so it could be something else completely.

It's defiantly a Moodle issue though, not Joomdle.

Please Log in or Create an account to join the conversation.

More
15 years 2 weeks ago #9 by Enid Newberg
I checked that cache setting and it was already turned off. I do think it is a Moodle 2.0.2 issue - I was over on the Moodle forums and more people than I were noting how slow it is, even in comparison with 2.0.1.

Please Log in or Create an account to join the conversation.

More
15 years 2 weeks ago #10 by Chris
@bscunningham

Thanks for your solution and feedback on this. Personally, I have not moved to Moodle 2 and am a little worried now :(


I will keep this thread open in case there is anything other information that can help out even though it's not Joomdle related.

Please Log in or Create an account to join the conversation.