My moodle server is still running high CPU even after making several changes that have been suggested on the forums. My CPU remains high but the memory is still staying low.
We have 2200 students in our school. Right now we have 24-30 students on Moodle at a time but are going to train and require two buildings to use Moodle in the next couple of weeks.
The current setup is..
Moodle 1.9.5+ (Build: 20090923)
xampp 1.7.2 (PHP 5.3.0 MySQL 5.1.37)
Linux OS
VMware
3GB Ram
(2) Dual 3.2Ghz Processors
Performance
256M - Extra PHP memory
eaccelerator
Yes – Record cache
10 – Record cache TTL 10
50 - Int. cache max
no – memcached
My.cnf
skip-locking
key_buffer = 150M
Max_allowed_packet = 1M
table_cache = 512
sort_buffer_size = 2M
net_buffer_length = 8k
read_buffer_size = 1M
read_rnd_buffer_size = 512k
myisam_sort_buffer_size = 10M
query_cache_size = 250M
thread_cache_size = 512M
tmp_table_size = 512M
max_heap_table_size = 512M
query_cache_min_res_unit = 2M
query_cache_limit=10M
join_buffer_size=2M
I have Optimized and Repaired Tables in my database. The mysqltuner.pl show OK except for on fragmented table that will not go away.
Thank you,
Ryan Kelley
Network Engineer
Belding Area Schools