+ Post New Thread
Results 1 to 5 of 5
Virtual Learning Platforms Thread, Moodle login timeouts in Technical; Quite often users get "session timeout" before they've even tried to login. Seems to be when it's busier (but by ...
  1. #1

    synaesthesia's Avatar
    Join Date
    Jan 2009
    Location
    Northamptonshire
    Posts
    6,227
    Thank Post
    603
    Thanked 1,092 Times in 840 Posts
    Blog Entries
    15
    Rep Power
    485

    Moodle login timeouts

    Quite often users get "session timeout" before they've even tried to login. Seems to be when it's busier (but by busy we're only talking up to 30 concurrent logins) but happens rather often. Waiting for a little whilst seems to resolve the problem however it takes time out of a lesson.

    Any clues on where one might start to fix this?

    Moodle 2.4.6 on Ubuntu 10.04LTS, running on a VM with plenty of grunt. Network speed appears ok - running iperf to a VM machine with 2 hops inbetween gives us 900Mb/s.
    Last edited by synaesthesia; 16th June 2014 at 09:56 AM.

  2. #2
    penfold_99's Avatar
    Join Date
    Feb 2008
    Location
    East Sussex
    Posts
    985
    Thank Post
    58
    Thanked 165 Times in 117 Posts
    Rep Power
    68
    There could be a number of cause.

    Have you tried empting the sessions folder in moodledata directory?
    Another reason could be the database is being slow to respond, whats the load like?

  3. Thanks to penfold_99 from:

    synaesthesia (16th June 2014)

  4. #3

    synaesthesia's Avatar
    Join Date
    Jan 2009
    Location
    Northamptonshire
    Posts
    6,227
    Thank Post
    603
    Thanked 1,092 Times in 840 Posts
    Blog Entries
    15
    Rep Power
    485
    Load is near empty; it's pretty much sat there doing nothing. Wouldn't mind testing it though, is there a go-to method of doing this?
    (Please bear in mind we have *no* expertise with Moodle, it's being punted off to someone who can soon hopefully!)
    Checked the sessions directory which is chock full as I expect but didn't fancy clearing it out without knowing what it does, if it kicks anyone out etc.

  5. #4

    unixman_again's Avatar
    Join Date
    Nov 2011
    Posts
    827
    Thank Post
    34
    Thanked 160 Times in 120 Posts
    Rep Power
    139
    We've seen this. Have a look at Settings > Site administration > Server > Session Handling and see if the use database is set. We disabled it on ours and the problem went away. Another method, of course, would be to get the settings right if you are using the database for sessions, but it seems to me to be overkill for session handling.

    http://docs.moodle.org/24/en/Sessions_FAQ

  6. Thanks to unixman_again from:

    synaesthesia (16th June 2014)

  7. #5

    synaesthesia's Avatar
    Join Date
    Jan 2009
    Location
    Northamptonshire
    Posts
    6,227
    Thank Post
    603
    Thanked 1,092 Times in 840 Posts
    Blog Entries
    15
    Rep Power
    485
    Ours isn't set (so database isn't being used). I might try changing that later when it's not in use.

SHARE:
+ Post New Thread

Similar Threads

  1. Moodle Login Problems
    By aerospacemango in forum Virtual Learning Platforms
    Replies: 3
    Last Post: 28th April 2010, 01:18 PM
  2. Internet Explorer (7) rejecting correct Moodle logins
    By CarolBooth in forum Virtual Learning Platforms
    Replies: 4
    Last Post: 13th October 2009, 08:50 AM
  3. Moodle Login Block on Joomla Homepage
    By ict.teacher in forum Virtual Learning Platforms
    Replies: 2
    Last Post: 13th November 2008, 04:43 PM
  4. Moodle login/out popup
    By Thepurplegenie in forum Virtual Learning Platforms
    Replies: 1
    Last Post: 22nd October 2008, 11:37 AM
  5. Moodle Login Errors - Strange
    By ICTNUT in forum Virtual Learning Platforms
    Replies: 5
    Last Post: 28th November 2007, 09:35 PM

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
  •