Ver Mensaje Individual
  #7 (permalink)  
Antiguo 16/12/2010, 11:05
jorge_kai
 
Fecha de Ingreso: noviembre-2003
Ubicación: Madrid
Mensajes: 43
Antigüedad: 21 años, 1 mes
Puntos: 0
Respuesta: Problemas en mi servidor

por cierto, el tamaño de la bbdd es de unos 10GB.

Por si sirve de refernecia, este es el my.cnf

Código MySQL:
Ver original
  1. [mysqld]
  2. set-variable=local-infile=0
  3. datadir=/var/lib/mysql
  4. socket=/var/lib/mysql/mysql.sock
  5. user=mysql
  6. skip-bdb
  7. safe-show-database
  8. old_passwords
  9. back_log = 50
  10. max_connections = 600
  11. key_buffer_size = 800M
  12. myisam_sort_buffer_size = 256M
  13. innodb_buffer_pool_size=46M
  14. join_buffer_size = 8M
  15. read_buffer_size = 8M
  16. sort_buffer_size = 8M
  17. table_cache = 8000
  18. thread_cache_size = 768
  19. wait_timeout = 20
  20. connect_timeout = 10
  21. tmp_table_size = 384M
  22. max_heap_table_size = 128M
  23. max_allowed_packet = 128M
  24. net_buffer_length = 16384
  25. max_connect_errors = 100000
  26. thread_concurrency = 16
  27. concurrent_insert = 2
  28. table_lock_wait_timeout = 30
  29. read_rnd_buffer_size = 2M
  30. bulk_insert_buffer_size = 64M
  31. query_cache_limit = 4M
  32. query_cache_size = 256M
  33. query_cache_type = 1
  34. query_prealloc_size = 262144
  35. query_alloc_block_size = 65536
  36. transaction_alloc_block_size = 8192
  37. transaction_prealloc_size = 4096
  38. default-storage-engine = MyISAM
  39. max_write_lock_count = 8
  40. long_query_time = 5
  41. log-slow-queries = /root/slow.log
  42.  
  43. [mysqld_safe]
  44. log-error=/var/log/mysqld.log
  45. pid-file=/var/run/mysqld/mysqld.pid
  46. nice = -5
  47. open_files_limit = 8192
  48.  
  49. [mysqldump]
  50. max_allowed_packet = 64M
  51.  
  52. [myisamchk]
  53. key_buffer = 1024M
  54. sort_buffer = 64M
  55. read_buffer = 16M
  56. write_buffer = 16M