Cita:
He migrado desde mi anterior VPS que tenía 256MB de RAM, pero creo que no me han actualizado my.cnf de MySql para este nuevo servidor.server load >14.0
Memory Used 13 %
Swap Used 0.00 %
Memory Used 13 %
Swap Used 0.00 %
Cita:
informacion del VPS actual
VPS con 2GB de RAM
CentOS 4.X Linux + cPanel + WHM
httpd (1.3.37 (Unix)) up
mysql (4.1.22-standard-log) up
Processor #8 Vendor: GenuineIntel
Processor #8 Name: Intel(R) Xeon(R) CPU E5310 @ 1.60GHz
Processor #8 speed: 200.088 MHz
Processor #8 cache size: 4096 KB
VPS con 2GB de RAM
CentOS 4.X Linux + cPanel + WHM
httpd (1.3.37 (Unix)) up
mysql (4.1.22-standard-log) up
Processor #8 Vendor: GenuineIntel
Processor #8 Name: Intel(R) Xeon(R) CPU E5310 @ 1.60GHz
Processor #8 speed: 200.088 MHz
Processor #8 cache size: 4096 KB
Cita:
agradeceré si alguien me dá un ejemplo del archivo my.cnf de su VPS y características basicas del VPS archivo /etc/my.cnf
[mysqld]
max_connections = 250
max_user_connections = 30
# tendria que ser el numero de CPU's * 2, pero estaba en 2
thread_concurrency = 4
key_buffer = 32M
myisam_sort_buffer_size = 32M
join_buffer_size = 1M
read_buffer_size = 1M
sort_buffer_size = 1M
record_buffer = 1M
max_allowed_packet = 16M
table_cache = 500
thread_cache_size = 128
wait_timeout = 15
connect_timeout = 15
interactive_timeout = 15
max_connect_errors = 10
query_cache_type = 1
query_cache_limit = 2M
query_cache_size = 32M
skip-locking
skip-innodb
safe-show-database
log-slow-queries = /var/log/mysql/log-slow-queries.log
long_query_time = 2
[mysqld_safe]
open_files_limit = 8192
[mysqldump]
quick
max_allowed_packet = 16M
[myisamchk]
key_buffer = 64M
sort_buffer = 32M
read_buffer = 16M
write_buffer = 16M
[mysqld]
max_connections = 250
max_user_connections = 30
# tendria que ser el numero de CPU's * 2, pero estaba en 2
thread_concurrency = 4
key_buffer = 32M
myisam_sort_buffer_size = 32M
join_buffer_size = 1M
read_buffer_size = 1M
sort_buffer_size = 1M
record_buffer = 1M
max_allowed_packet = 16M
table_cache = 500
thread_cache_size = 128
wait_timeout = 15
connect_timeout = 15
interactive_timeout = 15
max_connect_errors = 10
query_cache_type = 1
query_cache_limit = 2M
query_cache_size = 32M
skip-locking
skip-innodb
safe-show-database
log-slow-queries = /var/log/mysql/log-slow-queries.log
long_query_time = 2
[mysqld_safe]
open_files_limit = 8192
[mysqldump]
quick
max_allowed_packet = 16M
[myisamchk]
key_buffer = 64M
sort_buffer = 32M
read_buffer = 16M
write_buffer = 16M