Moodle Connection Limitations

Moodle Connection Limitations

by Heena Khan -
Number of replies: 2
Is their any limitation for Moodle concurrent user connection.
I am using Moodle and I was trying to login with 100 concurrent users, but I am facing the problem I am getting the databse error.
can any one please suggest what may be the cause?
My server Ram is of 14 Gb.

Thanks in advance.

Average of ratings: -
In reply to Heena Khan

Re: Moodle Connection Limitations

by Tim Hunt -
Picture of Core developers Picture of Documentation writers Picture of Particularly helpful Moodlers Picture of Peer reviewers Picture of Plugin developers
There is no limit, as such, in Moodle. Just the limit of what your hardware can cope with.

You may be better posting in the Hardware and Performance forum.
In reply to Heena Khan

Re: Moodle Connection Limitations

by Ann Adamcik -
Which database are you using? In most versions of mysql, the max_connections variable defaults to 100. You can increase it, if your hardware will support more connections. You'll probably need to tune other variables as well. See http://dev.mysql.com/doc/refman/5.1/en/too-many-connections.html and http://docs.moodle.org/en/Performance to start with.