I have two VMs located in two different servers, which are hosted by our educational partner in Kuwait. One of the VM is used for running our Moodle production site (Moodle 2.2.4) and the other VM is for a test site, which is an exact mirror of our production site, in terms of Moodle version, php and MySQL settings, RAM memory, etc.
The hardware conditions for both servers are excellent: dedicated machines (no other application of site are running in any of the servers), 8 GB RAM memory, 60 GB c drive, 100 GB E drive (this is the disk in which moodle and moodle data directories are)
The OS is Windows Server 2008, service package 1 installed, for both machines.
Moodle version: Moodle 2.2.4
Php version: 5.3.10
* .NET Extensibility
* ISAPI Extensions
* ISAPI Filters
* Basic Authentication
In both Moodle sites, there is a delay of around 3-5 seconds since the moment that you click on a link to a resource (for instance, a Moodle course from the home page, or a Moodle activity, etc), until the resource is displayed.
The delay for loging in the Moodle site is around 5 seconds.
I am using the option keep alive: true for the connections, because when I changed it to false, it only increased the loading time. I read in Windows IIS documentation that this option should be kept to true.
What I have noticed monitoring the number of request in Firebug is that the number of requests while navigating between Moodle courses/resources is around 90/100. I don't know if this is normal or I should decrease the number of requests.
For logging in the frontpage of Moodle, the request that takes more time is:
Request GET learning.health.org.kw
Timeline: 5.05s receiving.
Connection: Keep alive
and when I log in a Moodle course from the homepage, the request that takes more time is:
Request GET view.php?id=58
Waiting time: 3.57s
Event timing relation to the request start:
Our theme does not use jquery or anything strange that could increase the loading time. Obviously, I have disable designer mode in the theme settings.
With regard to the fast-cgi settings, I have the following settings:
Instance MaxRequests: 10000
Activity Timeout = 600
Idle Timeout = 300
Request timeout = 600
I have to increase the instance max requests to 10.000 because we have some timeout problems while uploading files when the number was lower.
I have played around decreasing the number of instance max requests, but it doesn't make any difference.
We don't keep ldap passwords in cache.
I have also played with the option