Hello,
I have Xeon 1230 v2 with 8GB of Ram, we are having Wordpress having about 800MB Database
my.cnf configuration is :
PHP handler is fcgi and we do use cache plugin and eaccelerator, also nginxcp is running. Also we are using MariaDB
worth checking
[email protected] [/usr/local/src/publicnginx]# free -m
total used free shared buffers cached
Mem: 7958 7869 89 0 415 4099
-/+ buffers/cache: 3354 4603
Swap: 2047 48 1998
[email protected] [/usr/local/src/publicnginx]#
Support suggesting to add more Ram.
please help me figuring some value at my.cnf
I have Xeon 1230 v2 with 8GB of Ram, we are having Wordpress having about 800MB Database
my.cnf configuration is :
Code:
[mysqld]
back_log=300
local-infile=0
datadir=/var/lib/mysql
long_query_time=2
;log_output=file
slow_query_log
slow_query_log_file=/var/log/mysql-slow-queries.log
;log_queries_not_using_indexes
join_buffer_size=32M
query_cache_limit=256M
query_cache_size=192M
query_cache_type=1
max_user_connections=200
max_connections=150
thread_cache_size=128
table_cache=6196
key_buffer_size=32M
#max_connect_errors=20
max_allowed_packet=16M
sort_buffer_size=2M
read_buffer_size=8M
read_rnd_buffer_size=1M
thread_concurrency=4
myisam_sort_buffer_size=16M
concurrent_insert=2
local-infile=0
table_definition_cache=2500
max_heap_table_size=256M
tmp_table_size=256M
open_files_limit=10632
#####fixed innodb options
innodb_buffer_pool_size = 1G
innodb_write_io_threads = 8
innodb_read_io_threads = 8
innodb_thread_concurrency = 16
innodb_log_buffer_size = 8M
innodb_max_dirty_pages_pct = 90
innodb_file_per_table
#####for 5.5 trees ## Uncomment for 5.5
innodb_buffer_pool_instances=16
worth checking
[email protected] [/usr/local/src/publicnginx]# free -m
total used free shared buffers cached
Mem: 7958 7869 89 0 415 4099
-/+ buffers/cache: 3354 4603
Swap: 2047 48 1998
[email protected] [/usr/local/src/publicnginx]#
Support suggesting to add more Ram.
please help me figuring some value at my.cnf