We have just migrated from vBulletin 3.8 to xenForo and at the same time upgraded our server to much more powerful one.
Our virtual server's specifications:
CentOS 6 64bit
2 processor cores
8 Gb RAM
100 GB SSD
Apache with Zend Opcache
MySQL
Our forum has peaks of 2400-2800 visitors at the same time, so the traffic is quite heavy. When the peaks occur, the forum becomes almost unusable. Currently with about 1200 visitors, the server loads are around 8-9.
I have crawled through this community forum and tried almost every trick proposed here, but nothing seems to work.
Our my.cnf:
Relevant parts from Apache conf file:
Does anyone have any propositions to what do to next to get the forum run faster?
Our virtual server's specifications:
CentOS 6 64bit
2 processor cores
8 Gb RAM
100 GB SSD
Apache with Zend Opcache
MySQL
Our forum has peaks of 2400-2800 visitors at the same time, so the traffic is quite heavy. When the peaks occur, the forum becomes almost unusable. Currently with about 1200 visitors, the server loads are around 8-9.
I have crawled through this community forum and tried almost every trick proposed here, but nothing seems to work.
Our my.cnf:
[mysqld]
datadir=/data/mysql
socket=/var/lib/mysql/mysql.sock
user=mysql
symbolic-links=0
innodb_buffer_pool_size = 4G
innodb_additional_mem_pool_size = 10M
innodb_flush_log_at_trx_commit = 2
innodb_lock_wait_timeout = 100
key_buffer_size=2G
max_connections = 300
interactive_timeout = 100
wait_timeout = 100
connect_timeout = 10
query_cache_size =64M
query_cache_type=1
query_cache_limit=1048576
table_open_cache=64
thread_cache_size=4
max_heap_table_size = 32M
tmp_table_size = 32M
[mysqld_safe]
log-error=/var/log/mysqld.log
pid-file=/var/run/mysqld/mysqld.pid
Relevant parts from Apache conf file:
Timeout 45
KeepAlive On
MaxKeepAliveRequests 1000
KeepAliveTimeout 1
<IfModule prefork.c>
StartServers 5
MinSpareServers 5
MaxSpareServers 40
ServerLimit 256
MaxClients 256
MaxRequestsPerChild 25000
</IfModule>
<IfModule worker.c>
StartServers 4
MaxClients 200
MinSpareThreads 25
MaxSpareThreads 75
ThreadsPerChild 25
MaxRequestsPerChild 0
</IfModule>
Does anyone have any propositions to what do to next to get the forum run faster?