Ciao a tutti, devo mettere le mani ad un vecchio server web che contiene circa 10 siti in PHP con codice legacy, tra cui un MediaWiki, PHPList ed altre applicazioni old-style e per niente orientate agli oggetti. Comunque funzionicchia...
Se non fosse che da un mese circa, il consumo di memoria di MySql server tende a crescere progressivamente fino (nel giro di 3-4 gg) ad arrivare a 20Gb di memoria RAM occupata. Dopodiché è necessario riavviare il processo perché si blocca. Le tabelle sono 90% MyISAM. Tale macchina sta eseguendo lo un vecchio stack LAMP, è così: - 64GB RAM (20GB liberi ca) - CPU Core i7 3930K con 12 core (uso medio 30%) - Debian 6 Kernel 2.6.x - Apache 2.2.16: media 90 req/sec - MySql 5.5.31: media 800 query/sec Qualcuno ha un'idea di come capire la causa del problema? In coda il file my.cnf, per capire se ci sono bestialità :-) Grazie, Fabio M _________________________________ [client] port = 3306 socket = /var/run/mysqld/mysqld.sock [mysqld_safe] socket = /var/run/mysqld/mysqld.sock nice = 0 default-character-set=utf8 [mysqld] user = mysql pid-file = /var/run/mysqld/mysqld.pid socket = /var/run/mysqld/mysqld.sock port = 3306 basedir = /usr datadir = /var/lib/mysql tmpdir = /tmp language = /usr/share/mysql/english skip-external-locking default-character-set=utf8 bind-address = 127.0.0.1 key_buffer = 8192M max_allowed_packet = 32M thread_stack = 1024K thread_cache_size = 8 myisam-recover = BACKUP max_connections = 500 query_cache_limit = 5M query_cache_size = 4096M join_buffer_size = 512K tmp_table_size = 64M max_heap_table_size = 64M table_cache = 256 innodb_buffer_pool_size = 96M log_slow_queries = /var/log/mysql/mysql-slow.log long_query_time = 1 expire_logs_days = 10 max_binlog_size = 100M log-warnings = 0 [mysqldump] quick quote-names max_allowed_packet = 16M default-character-set=utf8 [mysql] default-character-set=utf8 [isamchk] key_buffer = 16M !includedir /etc/mysql/conf.d/ -- Per REVOCARE l'iscrizione alla lista, inviare un email a [email protected] con oggetto "unsubscribe". Per problemi inviare un email in INGLESE a [email protected] To UNSUBSCRIBE, email to [email protected] with a subject of "unsubscribe". Trouble? Contact [email protected] Archive: http://lists.debian.org/cap4cyj-nb9refyj+zgwyw61qtqurtk+hcj+9sm46qjsy-0z...@mail.gmail.com

