large number of students - cannot login simultaneously

large number of students - cannot login simultaneously

Suresh kumar發表於
Number of replies: 2
Hi

When around 60 students login simultaneously, some database error occurs. Of course they are able to log in after say a minute. Any suggestions?

suresh
評比平均分數: -
In reply to Suresh kumar

Re: large number of students - cannot login simultaneously

Ken Wilson發表於

Hi Suresh

With this number of simultaneous logins, check that you have sufficient RAM first (see http://docs.moodle.org/en/Installing_Moodle#How_many_users.3F) - around 1Gb should be OK - but this depends on how your database and webserver are configured. I'm not sure which database you're using, but if it is MySQL look at adjusting the max connections value in the my.cnf file (or my.ini for Windows). This and some other database tips are shown in the Performance docs (http://docs.moodle.org/en/Performance#Database_performance). Note though that increasing the number of connections the software can handle without adding more RAM can cause Moodle to actually run slower.

Can you post back what these database errors are?

Thanks

Ken

In reply to Ken Wilson

Re: large number of students - cannot login simultaneously

Suresh kumar發表於
Thanks Ken,

Let me go through these links and talk to my system admin. Will get back if my problem is not yet solved.

suresh