Moodle slow when accessing "administration" menu

Moodle slow when accessing "administration" menu

by Jorge Bastos -
Number of replies: 6

Howdy,

All versions that I've been using, are slow when I try to access the menu "administration", everything works fine and fast, except that menu.

I had a 3.4x version i think, and upgraded to 3.9.4 and the issue still remains.
I have no error in apache error log, no idea where to start.

I've saw some people on the web complaining about this aswell, but no solution that could make this work.

All tables are mysql, and innodb.
Thanks in advanced,

Average of ratings: -
In reply to Jorge Bastos

Re: Moodle slow when accessing "administration" menu

by Leon Stringer -
Picture of Core developers Picture of Particularly helpful Moodlers

What theme does the site use? If it's not Boost try switching to this.

How slow is "slow"? Approximately how long to the page take to load, 10 seconds? 60 seconds?

Your browser's developer tools (for example: Network Monitor in Firefox) should show how long the whole page takes to load and how long each file takes. Is it the main admin/search.php file (assuming this is the "Site administration" link that you're clicking) that's slow or another file?

In reply to Leon Stringer

Re: Moodle slow when accessing "administration" menu

by Jorge Bastos -
Hi Leon,
It takes about 5 minutes, really!
In reply to Jorge Bastos

Re: Moodle slow when accessing "administration" menu

by Jorge Bastos -
Hi,

Any news about this?
In reply to Jorge Bastos

Re: Moodle slow when accessing "administration" menu

by Leon Stringer -
Picture of Core developers Picture of Particularly helpful Moodlers
In reply to Leon Stringer

Re: Moodle slow when accessing "administration" menu

by Jorge Bastos -
Hi,
Check the image with the network monitor.
That's odd why is happens there, and after it loads, everything's ok.

Any idea?


In reply to Jorge Bastos

Re: Moodle slow when accessing "administration" menu

by Leon Stringer -
Picture of Core developers Picture of Particularly helpful Moodlers

With a delay as long as that I think that there's a timeout involved. For example: some connection is being attempted but there's no response so the call waits and waits until the timeout expires and then carries on. Maybe it's a network connection to a website, or some service like a database.

What additional plugins are installed? See these under Site administration ▸ Plugins ▸ Plugins overview (or go to admin/plugins.php to avoid the 5 minute wait) and click Additional plugins to see only these.

Also try enabling debugging (admin/settings.php?section=debugging) by setting:

  1. Debug message: DEVELOPER
  2. Display debug messages: Yes.

Then access the slow page and see if any errors appear on screen, and also check the web server error log.