Зависает MySQL, slava, 08-Июн-05, 17:53 [смотреть все]Доброе время суток. Помогите разобраться с такой проблемой, периодически падает mysql, естественно делаю рестарт, Рестарт не помагает (service mysql restart хоть и пишет все ОК), мускул остается висеть, делаю killall -9 mysqld, после чего запускаю мускула. система Linux RH 9.0 Mysql : Version: '4.0.20-standard' my.cnf # The MySQL server [mysqld] set-variable = wait_timeout=28800 set-variable = max_connections=500 set-variable = max_connect_errors=100 set-variable = max_user_connections=200 safe-show-database open-files-limit=8192 #log=/var/lib/mysql/mysql.log #log-slow-queries=/var/lib/mysql/mysql-slow.log #log-long-format #set-variable = long_query_time=1 default-character-set=win1251ukr port = 3306 socket = /var/lib/mysql/mysql.sock skip-locking key_buffer = 256M max_allowed_packet = 1M table_cache = 512 sort_buffer_size = 1M read_buffer_size = 1M myisam_sort_buffer_size = 64M thread_cache = 8 #thread_stack = 192K query_cache_size = 16M # Try number of CPU's*2 for thread_concurrency thread_concurrency = 2 может кто что посоветует? :) |
- Зависает MySQL, fez, 20:37 , 08-Июн-05 (1)
- Зависает MySQL, slava, 10:51 , 09-Июн-05 (2)
>В логах что пишет? >результат выполнения df покажи в логах вот что: 050605 2:51:21 InnoDB error: Cannot find table drag_irenny/about from the internal data dictionary of InnoDB though the .frm file for the table exists. Maybe you have deleted and recreated InnoDB data files but have forgotten to delete the corresponding .frm files of InnoDB tables, or you have moved .frm files to another database? Look from section 15.1 of http://www.innodb.com/ibman.html how you can resolve the problem. 050605 2:51:22 InnoDB error: Cannot find table drag_koms/article from the internal data dictionary of InnoDB though the .frm file for the table exists. Maybe you have deleted and recreated InnoDB data files but have forgotten to delete the corresponding .frm files of InnoDB tables, or you have moved .frm files to another database? Look from section 15.1 of http://www.innodb.com/ibman.html how you can resolve the problem. 050605 3:37:45 InnoDB error: Cannot find table demo_dim/test3 from the internal data dictionary of InnoDB though the .frm file for the table exists. Maybe you have deleted and recreated InnoDB data files but have forgotten to delete the corresponding .frm files of InnoDB tables, or you have moved .frm files to another database? Look from section 15.1 of http://www.innodb.com/ibman.html how you can resolve the problem. 050605 4:01:14 Aborted connection 741777 to db: 'poster_news' user: 'poster_sm anews' host: `domen.com' (Got timeout reading communication packets) 050605 4:05:22 Aborted connection 810967 to db: 'webdate_top' user: 'webdate_m ax' host: `domen.com' (Got an error reading communication packets) --------- и еще такое 050608 4:55:04 /usr/sbin/mysqld: Forcing close of thread 607927 user: '' 050608 4:55:04 /usr/sbin/mysqld: Forcing close of thread 607919 user: '' [root@domen mysql]# df Filesystem 1K-blocks Used Available Use% Mounted on /dev/hda5 75529312 39607624 32084968 56% / /dev/hda1 101089 14189 81681 15% /boot /dev/hda3 248895 4201 231842 2% /tmp [root@bomen mysql]#
- Зависает MySQL, fez, 12:39 , 09-Июн-05 (3)
- Зависает MySQL, slava, 14:43 , 09-Июн-05 (4)
>>Look from section 15.1 of http://www.innodb.com/ibman.html >Сюда ходил? Читал? Ходил читал естественно. Еще одна особенность. сам мускул работает но когда делаешь попытку соедиться, говорит что слишком много соединений. В логах только потытки неудачных соединений. Только killall -9 mysqld помагает. И еще структура такая 2 сервера соединеные между собой 100 Мб линком и на одном крутиться апач с скриптами а на другом мускул. причем самое интересное что падает только ночью... :)
- Зависает MySQL, slava, 15:31 , 09-Июн-05 (5)
>>>Look from section 15.1 of http://www.innodb.com/ibman.html >>Сюда ходил? Читал? > >Ходил читал естественно. > >Еще одна особенность. сам мускул работает но когда делаешь попытку соедиться, говорит >что слишком много соединений. >В логах только потытки неудачных соединений. >Только killall -9 mysqld помагает. >И еще структура такая 2 сервера соединеные между собой 100 Мб линком > >и на одном крутиться апач с скриптами а на другом мускул. >причем самое интересное что падает только ночью... :) Еще один момент в логах начинают появляться такие ошибки: 050609 11:25:21 Aborted connection 214 to db: 'test_smile' user: 'test_smile' host: `domain.com' (Got timeout reading communication packets)
|