Current

Current

by Cesar Almanza -
Number of replies: 4

Currently,  I am running Moodle 2.4 in a Virtual WinSer 2008-R2, RAM 4 GB, Xeon 2.13 Ghz(dual core). Moodle has around 1600 users on Mysql; using XAMPP.

I am having issues supporting more than 5 users at the same time with these specs. I should go on production very soon. I wonder what the current best server specifications are for 1600 users with 100 online at the same time. Another thing is, does SQL-Server work fine In Moodle?

 Thank you very much!  


Average of ratings: -
In reply to Cesar Almanza

Re: Current

by Howard Miller -
Picture of Core developers Picture of Documentation writers Picture of Particularly helpful Moodlers Picture of Peer reviewers Picture of Plugin developers

Not all VMs are created equally unfortunately. 

Your question is asked all the time and is incredibly hard to answer. IF this was a real server (not a VM) and given you are running Windows (rather less efficient than Linux) I would say your specs are marginal. You'd be safer with at least twice that RAM. However, this is still an educated guess. 

Unfortunately, this is a VM so who knows? You really need to be running some monitoring on your server to establish where the issue is when it slows up and then fix that.

Also, make sure you have a fast file system. Some VMs have terrible file IO performance. This will kill your site in standard configuration. 

Average of ratings: Useful (1)
In reply to Cesar Almanza

Re: Current

by Usman Asar -
Picture of Plugin developers Picture of Testers

a VM and on top XAMPP --> can't be better recipe for performance degradation.

XAMPP is never recommended for Production, but only for development purposes. Either you're using Apache on Linux or IIS on Windows, even using Apache on windows doesn't gives out absolute performance as expected.

SQL-Server works fine with Moodle, as long as you're better with managing SQL Server more than other open source/Free databases like MariaDB or MySQL, even on Windows platform I would still recommend going with MariaDB or MySQL for if in future you've to move to Linux based server, than it will be simple transfer  of files rather than changing whole database from MS-SQL to MySQL/MariaDB.

regarding users, mentioning the number of registered users wont mean anything in terms of required hardware, as you have 16,000 registered on same specs without issues, the only issues that comes in considering how many users are online and what they do, as per Moodle's documentation you'll be needing 1GB RAM for every 20 users as a safe quota allocated. people in community have different opinions but I tend to agree on this number as a fail safe measure, as of course the type of hardware used and with PHP 7, requirements may even be less.

If you intend to use Windows as server platform, then you can go to this link learning all about setting up server for Moodle installation in production environment.

http://goo.gl/RKSpQJ

Average of ratings: Useful (4)