Moodle slow when accessing "administration" menu

Moodle slow when accessing "administration" menu

Jorge Bastos -
回帖数: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,

回复Jorge Bastos

Re: Moodle slow when accessing "administration" menu

Leon Stringer -
Core developers的头像 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?

回复Leon Stringer

Re: Moodle slow when accessing "administration" menu

Jorge Bastos -
Hi Leon,
It takes about 5 minutes, really!
回复Jorge Bastos

Re: Moodle slow when accessing "administration" menu

Jorge Bastos -
Hi,

Any news about this?
回复Jorge Bastos

Re: Moodle slow when accessing "administration" menu

Leon Stringer -
Core developers的头像 Particularly helpful Moodlers的头像
回复Leon Stringer

Re: Moodle slow when accessing "administration" menu

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?


回复Jorge Bastos

Re: Moodle slow when accessing "administration" menu

Leon Stringer -
Core developers的头像 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.