I am already have a system moodle with interval 7000 student, server of me is the IBM x3450 with 12GB ram, CPU 3.0. However, if interval 700 student the same access access does system is too load, out of memory.I am already attempt to config mysql but not good.
I am you want to use the system cho 2000 student the same access, me not as what? Make you please for me reply recommends.
Sorry because my English very bad
This is the configuration file my.cnf of me
[mysqld]
datadir = /var/lib/mysql
socket = /var/lib/mysql/mysql.sock
skip-locking
skip-name-resolve
skip-bdb
safe-show-database
query_cache_limit=1M
query_cache_size=512M
query_cache_type=1
max_user_connections=50
max_connections=500
interactive_timeout=10
wait_timeout=20
connect_timeout=30
thread_cache_size=100
key_buffer=512M
myisam_sort_buffer_size= 64M
#myisam_max_sort_file_size= 1M
myisam_repair_threads= 4
#myisam_recover= BACKUP
join_buffer=1M
max_connect_errors=100
max_allowed_packet=32M
table_cache=1024
record_buffer=1M
sort_buffer_size=1M
read_buffer_size=1M
read_rnd_buffer_size=8M
thread_concurrency=8
server-id=1
#log = /var/log/mysql-queries.log
log_slow_queries=/var/log/mysql-slow-queries.log
max_binlog_size = 128M
binlog_cache_size=64K
long_query_time=10
collation-server=latin1_general_ci
old-passwords
innodb_buffer_pool_size=512M
tmp_table_size=256M
max_heap_table_size=256M
[mysql.server]
user=mysql
basedir=/var/lib
[safe_mysqld]
err-log=/var/log/mysqld.log
pid-file=/var/lib/mysql/mysql.pid
open_files_limit=8192
[mysqldump]
quick
max_allowed_packet=32M
[mysql]
no-auto-rehash
[isamchk]
key_buffer=256M
sort_buffer=256M
read_buffer=2M
write_buffer=2M
[myisamchk]
key_buffer=256M
sort_buffer=256M
read_buffer=2M
write_buffer=2M
[mysqlhotcopy]
interactive-timeout
And system status with 120 student access