Hello ,
i would like please your suggestions to decrease Mysql RAM consumption , actually it take more than 35% and still increasing day after day .
Intel(R) Core(TM) i5 CPU 760 @ 2.80GHz
4 CPU
8G RAM
CENTOS 5.*
Around 200 small sites with CMS ( WP , Joomla ... )
Less than 5000 visitors per day .
Here is my /etc/my.cnf
i would like please your suggestions to decrease Mysql RAM consumption , actually it take more than 35% and still increasing day after day .
Intel(R) Core(TM) i5 CPU 760 @ 2.80GHz
4 CPU
8G RAM
CENTOS 5.*
Around 200 small sites with CMS ( WP , Joomla ... )
Less than 5000 visitors per day .
Here is my /etc/my.cnf
Code:
[mysqld]
skip-name-resolve
myisam_use_mmap=1
max_connections=100
max_user_connections = 50
log-slow-queries=mysql-slow.log
long_query_time = 1
safe-show-database
query_cache_type = 1
query_cache_size = 75M
query_cache_limit = 2M
join_buffer_size=1M
read_rnd_buffer_size=1M
max_allowed_packet=268435456
tmp_table_size=25M
max_heap_table_size=25M
table_open_cache = 7500
thread_cache_size = 25
open_files_limit=50000
key_buffer_size = 500M
myisam_sort_buffer_size = 256M
innodb_file_per_table=1
innodb_buffer_pool_size = 1G
innodb_log_file_size = 64M
innodb_log_buffer_size = 8M