moodle server very slow for me

moodle server very slow for me

jayaraj mohan -
回帖数:4
Hi ,

I have moodle 1.9 version. I have used this for past one year. now i am trying to login more than 100 students at a time, but it seems very slow.

It wouldnt support more than 20 students..

my os: redhat 8 , 2GB ram, p4 1.5GHz ,80GB hard disk

I am sure this is enough for 100 students at a time.

I think i need to configure some thing in apache and mysql

I am using LAMP

any ideas?

Regards,
JayarajMohan.J

回复jayaraj mohan

Re: moodle server very slow for me

Henning Bostelmann -
Core developers的头像 Plugin developers的头像
Hi,

from your post, it's very hard to figure out where the cause of the problem is. You would need to investigate a bit more. Try the following while the server is under load:
  • Execute "top", and have a look at the output. Is the CPU usage high (see "...%us" in the third line)? If so, which process is consuming the CPU time? Is the server waiting for disk I/O (see "...%wa" in the third line)?
  • Login into your database as administrator, and issue the command "SHOW FULL PROCESSLIST;". How many use connections are not idle? Do you see any "Waiting for lock" messages or similar?
If you're using keeping your session data in the database, please note that there is a bug in Moodle which prevents it from delivering more than approx. 1 page per second.

Henning
回复jayaraj mohan

Re: moodle server very slow for me

Visvanath Ratnaweera -
Particularly helpful Moodlers的头像 Translators的头像
> I have used this for past one year. now i am trying to login more than 100 students at a time, but it seems very slow.

So this degration happened without you changing any thing in the software? In that case corrupted mysql tables could be a cause.
回复jayaraj mohan

Re: moodle server very slow for me

Tadeu do Carmo Alves -

Man i agree with chad outten

like he said 50 per 1gb of memory

but look for some accelerators like memcached or eaccelerator (donno if the two of them will cause a bug), i was using eaccelerator to see the benefits of it but donno the answer yet.

Will be good to put some fast hard drives like SCSI OR SAS about 10k-15K RPM makes the server fast uses too some raid 0 with raid 1 (about 4 hard drives 2 for raid 0 and more 2 for raid 1 (mirroring))

Can you put bellow your apache configuration about modules you are using and mysql variables??