Moodle: Load Server Moodle

From OnnoWiki
Jump to navigation Jump to search

Processor

  • sebaiknya Xeon
  • Minimal sekali i5, kalau bisa i7

Secara umum,

Approx. Max Concurrent User = RAM (GB) * 50 (moodle 1)
Approx. Max Concurrent User = RAM (GB) * 20 (moodle 3)
Approx. Max Browsing User   = approx max. concurrent user * 5

Misalnya (untuk Moodle 1),

Server moodle dengan 4GB RAM
Max. Concurrent user =  200
Max. Browsing user   = 1000

Tips

  • Image, Video, dokumen/file/pdf dll jangan di server moodle, tapi di tempat lain, seperti youtube, google drive dll.
  • Server Moodle di PRIORITASKAN untuk UJIAN.


Contoh Di Lapangan

Di twit tgl 20191127:

yosbudi
yos prasetya budi@yosbudi
21 hours ago · Klaten Selatan
Pagi ini kali yg kesekian pake Moodle utk test semesteran.
1 server Linux sejauh ini sudah 120 user online @onnowpurbo


yosbudi
yos prasetya budi@yosbudi
18 mins ago
Hanya PC Rakitan dg Spek. Proccesor i5, MB Asus, Memory 12GB,
OS: Linux Proxmox 4.X, Switch utama : CSR 124G Mikrotik, RB 950,
AP per ruang Tenda (yg 160rban) mode bridge.
Akses client pake HP. Begitu Kang @onnowpurbo
20200810 Twitter w w@xrow3x
Sementara aman prof, pake ubuntu 20, server:Intel® Xeon® E3-1220v6 LGA 3.0G 8M 2133 1151 72W, ram8GB DDR4 2400, percona 80. Sebelumnya pake nginx, user 90an aja langsung error 502 bad gateway. Salam dr Jayapura prof 🙏


Dari Forum Moodle

https://moodle.org/mod/forum/discuss.php?d=406236

I am using cloud and when i need high conf i will put server into high conf, rest all the time keep low conf.One thing i did was while upgrading it was in low conf with 2gb ram and 2core ups.While working time it uses 16core with 64 GB ram.Now even if I increase the cpu also same latency is showing.DB server with 8 core with 8GB ram while idle, working time i will keep 16core with 64GB. Normaly I use this for weekend exams.

Last week while conducting quiz around 1200 my cpu utilisations reached upto 100% Both servers were with 16 core and 64GB RAM that time my fpm configurations was

pm = dynamic
pm.max_children = 10000
pm.start_servers = 64
pm.min_spare_servers =32
pm.max_spare_servers = 64
pm.max_requests = 5000

Now I reduced to

pm = dynamic
pm.max_children = 512
pm.start_servers = 5
pm.min_spare_servers = 5
pm.max_spare_servers = 10
pm.max_requests = 500

for 2000+concurrent users is this conf enough or some other changes i needs to do.How much Ram I should keep for php memory_limit?.Kindly suggest.



Pranala Menarik