Very slow admin login

Very slow admin login

by Ruslan Voronkov -
Number of replies: 13
My admins frontpage is $CFG->wwwroot, its actually a index.php in moodle root directory.
It takes about 7 min. to load the page. i did not modify this file.

web-server:
PHP 5.2.4-2ubuntu5.4
MySql : 5.0.51a
Apache: 2.2.9
OS : ubuntu 8.10

any thoughts why is this happening?
Average of ratings: -
In reply to Ruslan Voronkov

Re: Very slow admin login

by Ian Robotham -
Hi Ruslan,

Can you provide a bit more detail? Do you get any error messages? Which version of Moodle are you using and have you installed any modules?

$CFG->wwwroot should be the http(s) root of your moodle install e.g. http://www.mysite.com/moodle


In reply to Ian Robotham

Re: Very slow admin login

by Marc Triola -
I am seeing this as well after I upgraded from 1.8.7 to 1.9.4+. Regular users appear to be working but the Admin account is taking so long to load pages and log in that its essentially unusable.
In reply to Ian Robotham

Re: Very slow admin login

by Marc Triola -
More info: for our setup mysql is on a different server. Shortly after posting above and finally getting into the Admin site, moodle consumed all of our database connections for the whole DB server. It appears to be mysql query related.
In reply to Marc Triola

Re: Very slow admin login

by Janak Sodha -
I am using Moodle 1.9.4 with the same problem. My web site is janaksodha.com

If the admin block is hidden, then admin can login normally. If the admin block is visibale, it can take about 3 mins to login. Other users are NOT affected. The admin block script seems to be timing out while it loops through moodle.

Please, can an expert help to me to solve this problem.

Thanks.

Janak
In reply to Janak Sodha

Re: Very slow admin login

by jlh 437 -
We are having the same problems with 1.9.5, and when admin is finally logged on lands on a blank page with only main and blog menu showing. Admin then has to click an item in main menu to retrieve breadcrumbs to be able to get to the front page.
We are using WIMP (Windows IIS MYSQL and PHP) set up.
Strangely, we have an identical set up on a test server and Admin logs in immediately to the front page with no problems.
In reply to Janak Sodha

Re: Very slow admin login

by Daniel Vader -

Hello Janak Sodha, I want to ask you, how did you manage to get your website fast?  I just installed Moodle versión 3.2 and the admin page loads wrong, I mean, like with no format. What did you had to do to fix that issue? thanks for reading this.

In reply to Ruslan Voronkov

Re: Very slow admin login

by Miren Ugalde -
Hi,

do you have all that services: mysql, server and moodle in the same server or in different machines? Virtual machines, or something that requires a network connection between them?

Regards,
In reply to Ruslan Voronkov

Re: Very slow admin login

by Séverin Terrier -
Picture of Documentation writers Picture of Particularly helpful Moodlers Picture of Testers Picture of Translators
I also have a somehow similar problem, but not with Administrator...

With latest 1.9.5+, on a server dedicated for Moodle, that had no problem with 1.9.3+ from some months ago...
In reply to Séverin Terrier

Re: Very slow admin login

by William Kotze -

I have a similar issue, Idid not find any resolution on the forum.

We have 1 virtual machine on VMware 4.1, backend connecting to SAN. Our company runs most of our servers on VMware infrastructure with no issues at all.

Moodle, has dedicated server with 2Gig of RAM, 1 processor and no students as this is our delvelopment box.

We have no issues with any login, even tested normal user (which works fine), added them to administrator group, then this login takes 3-4 minutes to load.

Any help will be much appreciated.

William

In reply to William Kotze

Re: Very slow admin login

by Steve Froehlich -

Hello ~

We have the same issue.  I have noticed that this occurs for us for admin users only when going over https.  Over standard http, we do not see the same performance.  Regular users work fine both over http and https.

~ Steve