Hello,
I would appreciate any help for optimization
I use VPS server with next configuration
Total processors: 10
Intel(R) Xeon(R) CPU E5620 @ 2.40GHz
Total memory: 2GB
mysql 5.1.56
with daily visitors round 8000.
Mysql works stable except I can see that it uses lot of memory
and sometimes causes memory used peeks up to 56%
Does anybody see in this my.cnf something that could cause issue or solve it
Thank You
This is my.cnf
I would appreciate any help for optimization
I use VPS server with next configuration
Total processors: 10
Intel(R) Xeon(R) CPU E5620 @ 2.40GHz
Total memory: 2GB
mysql 5.1.56
with daily visitors round 8000.
Mysql works stable except I can see that it uses lot of memory
and sometimes causes memory used peeks up to 56%
Does anybody see in this my.cnf something that could cause issue or solve it
Thank You
This is my.cnf
Code:
[mysqld]
max_connections=200
max_user_connections=50
key_buffer_size=256M
myisam_sort_buffer_size=64M
join_buffer_size=2M
read_buffer_size=1M
sort_buffer_size=1M
table_open_cache=2500
thread_cache_size=128
interactive_timeout=45
wait_timeout=20
connect_timeout=8
max_allowed_packet=16M
max_connect_errors=10
query_cache_limit=1M
query_cache_size=64M
query_cache_type=1
#flush
#flush_time=60
table_definition_cache = 512
max_heap_table_size = 32M
tmp_table_size = 32M
[mysqld_safe]
open_files_limit=8192
[mysqldump]
max_allowed_packet=16M
[myisamchk]
key_buffer_size=64M
sort_buffer_size=64M
read_buffer_size=16M
write_buffer_size=16M
[mysqlhotcopy]
interactive-timeout