+ Post New Thread
Results 1 to 8 of 8
Virtual Learning Platforms Thread, New moodle install really slow? in Technical; Hi, I have just installed moodle however it is really slow, even loading the homepage which is blank takes five ...
  1. #1

    Join Date
    Nov 2011
    Posts
    628
    Thank Post
    87
    Thanked 21 Times in 19 Posts
    Rep Power
    10

    New moodle install really slow?

    Hi,

    I have just installed moodle however it is really slow, even loading the homepage which is blank takes five second.

    The server is a new install and is running i3 processor, 4gb ram. No other server apps running.
    Heres the process i went through to install it:

    Install iis, mysql, php
    Set Fast cgi up in iis 7.5
    uncomment out all of the required extensions in php.ini and keys such as cgi.force = 0
    increase fastcgi timeout to 900
    create database and give a user access to it,
    ran the http://localhost/install.php] installer
    Installed the config.php file.
    Followed the instructions.


    Is there somethign that still needs to be set?

    Have had a look online and cant seem to find any solutions.

    Ram is running at 816mb and processor at 0-1% normally.
    Last edited by dany2010; 14th January 2013 at 10:50 AM.

  2. #2

    Join Date
    Jul 2010
    Location
    Wakefield
    Posts
    87
    Thank Post
    3
    Thanked 11 Times in 11 Posts
    Rep Power
    10
    Have you tried a PHP accelator?

    Where does the DNS get resolved? Is it directly across your network, or does it leave your building? We have had issues where our Moodle access is out via a broadband link and then back in via broadband, instead of direct when using a network machine. There are obvious overheads.

    Also, what are the specs of the server you are running on? Way back when we were using Moodle 1.9 (might even be earlier), we had speed issues. Sticking in a load of RAM and making sure that the server had enough disk space helped, as did phpaccelarator.

    Phil

  3. #3

    Join Date
    Nov 2011
    Posts
    628
    Thank Post
    87
    Thanked 21 Times in 19 Posts
    Rep Power
    10
    Thanks for the reply,

    Dns is on another server on the same switch. Just tested it out and seems normal.

    At the minute its on my laptop (testing),
    Specs:

    Intel i3-2328m 2.2GHz
    4gb ram
    1GB network

    Just tried windows web server instead of server 2008 r2 and its prety much the same.

  4. #4

    Join Date
    Jul 2010
    Location
    Wakefield
    Posts
    87
    Thank Post
    3
    Thanked 11 Times in 11 Posts
    Rep Power
    10
    That doesnt seem like a particularly good set up, even for testing - but Im way out of date on the specs.

    Installing Moodle - MoodleDocs Is a basic spec but I think youare exceeding that. Have you tried watching task manager on the laptop when it is in use? Anything obvious?

    Other than that, Ive no idea - like I say my server side experience is a little dated, if its not the DNS routing then I dont know!

    Phil

  5. #5

    Join Date
    Mar 2007
    Posts
    1,800
    Thank Post
    85
    Thanked 296 Times in 227 Posts
    Rep Power
    87
    What is the disk usage like?

  6. #6
    t4ll1f3r's Avatar
    Join Date
    Jun 2007
    Posts
    46
    Thank Post
    1
    Thanked 9 Times in 8 Posts
    Rep Power
    16
    We had to update IE on the clients when we upgraded our Moodle.

  7. #7
    mrverrall's Avatar
    Join Date
    Feb 2011
    Location
    Lancaster
    Posts
    16
    Thank Post
    2
    Thanked 1 Time in 1 Post
    Rep Power
    0
    This is such a massive topic it is really hard to know where to begin.

    Firstly take a look at your MySql config and configure it to make good use of the RAM you have available. There is no point in having lots of RAM if nothing is configured to use it.

    Secondly take a look at using an PHP opcode cache, such as xcache or php apc. Without one you are basically having to compile each pages code every time you load it. Again configure the cache to use the RAM you have available.

    From the Moodle config side make sure you have theme designer mode turned off and Javascipt caching turned on.

    Lastly think about some real hardware if you are going to be running a production system. On a laptop with one piddly hard disk you are going to have a crap-tonne of IO contention between the DB and other service for disk access as soon as you have even a handful of users on it. Get some suitable hardware and set it up well.

    Some people will probably suggest running on a Linux OS, and they may have a good point. However if you are going to be running and maintaining this systems stick to the OS you are most comfortable with. There is a heap of helpful posts on the moodle.org forums also, that is your best source of advice on moodle in general.

    Oh, and one more thing. If none of this makes any sense think about getting a professionally hosted Moodle and make tuning it someone else's problem.

    Hope that helps somewhat.
    Last edited by mrverrall; 15th January 2013 at 02:36 PM.

  8. #8

    Join Date
    Nov 2011
    Posts
    628
    Thank Post
    87
    Thanked 21 Times in 19 Posts
    Rep Power
    10
    Thanks mrverrall.

    They have really complicated this when you look at the difference between 1.9 and 2.

    The theme we have is so simple and i understand quite alot of it. Moodle 2 themes just loose me in seconds.

    Will give a php cache a go if i can ever get a good theme up. That and running on a proper server might be the answer.


    Really want to avoid using another hosted version. The support weve had from what is supposed to be one of the best companies is just terrible.

SHARE:
+ Post New Thread

Similar Threads

  1. Microsoft Office 2003 Clipart Really SLOW!!!
    By BKGarry in forum Educational Software
    Replies: 26
    Last Post: 7th January 2008, 10:47 AM
  2. Moodle Installation Difficulties
    By kerrymoralee9280 in forum Virtual Learning Platforms
    Replies: 15
    Last Post: 11th May 2007, 12:29 PM
  3. New Server: Install LNM?
    By woody in forum Learning Network Manager
    Replies: 3
    Last Post: 1st February 2007, 11:29 AM
  4. Moodle Installation Problems
    By EvLPhenom in forum Virtual Learning Platforms
    Replies: 15
    Last Post: 1st December 2006, 07:04 PM
  5. Moodle Installation Instructions
    By GrumbleDook in forum Virtual Learning Platforms
    Replies: 2
    Last Post: 10th July 2006, 07:01 AM

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •