質問をすることでしか得られない、回答やアドバイスがある。

15分調べてもわからないことは、質問しよう!

新規登録して質問してみよう
ただいま回答率
85.47%
MySQL

MySQL(マイエスキューエル)は、TCX DataKonsultAB社などが開発するRDBMS(リレーショナルデータベースの管理システム)です。世界で最も人気の高いシステムで、オープンソースで開発されています。MySQLデータベースサーバは、高速性と信頼性があり、Linux、UNIX、Windowsなどの複数のプラットフォームで動作することができます。

Q&A

0回答

2478閲覧

mysqlが落ちてしまう

ogoshikazuki

総合スコア6

MySQL

MySQL(マイエスキューエル)は、TCX DataKonsultAB社などが開発するRDBMS(リレーショナルデータベースの管理システム)です。世界で最も人気の高いシステムで、オープンソースで開発されています。MySQLデータベースサーバは、高速性と信頼性があり、Linux、UNIX、Windowsなどの複数のプラットフォームで動作することができます。

0グッド

1クリップ

投稿2018/08/30 06:56

mysqlの実行中に以下のエラーが発生します。

2018-08-30 06:17:41 0x7f35db7fe700 InnoDB: Assertion failure in thread 139869292586752 in file btr0cur.cc line 352 InnoDB: Failing assertion: btr_page_get_prev(get_block->frame, mtr) == page_get_page_no(page) InnoDB: We intentionally generate a memory trap. InnoDB: Submit a detailed bug report to http://bugs.mysql.com. InnoDB: If you get repeated assertion failures or crashes, even InnoDB: immediately after the mysqld startup, there may be InnoDB: corruption in the InnoDB tablespace. Please refer to InnoDB: http://dev.mysql.com/doc/refman/5.7/en/forcing-innodb-recovery.html InnoDB: about forcing recovery. 06:17:41 UTC - mysqld got signal 6 ; This could be because you hit a bug. It is also possible that this binary or one of the libraries it was linked against is corrupt, improperly built, or misconfigured. This error can also be caused by malfunctioning hardware. Attempting to collect some information that could help diagnose the problem. As this is a crash and something is definitely wrong, the information collection process might fail. key_buffer_size=268435456 read_buffer_size=131072 max_used_connections=1 max_threads=64 thread_count=1 connection_count=1 It is possible that mysqld could use up to key_buffer_size + (read_buffer_size + sort_buffer_size)*max_threads = 287576 K bytes of memory Hope that's ok; if not, decrease some variables in the equation. Thread pointer: 0x0 Attempting backtrace. You can use the following information to find out where mysqld died. If you see no messages after this, something went terribly wrong... stack_bottom = 0 thread_stack 0x40000 mysqld(my_print_stacktrace+0x2c)[0x5591319ea1ec] mysqld(handle_fatal_signal+0x479)[0x559131318e59] /lib/x86_64-linux-gnu/libpthread.so.0(+0x110c0)[0x7f363e1c60c0] /lib/x86_64-linux-gnu/libc.so.6(gsignal+0xcf)[0x7f363c952fff] /lib/x86_64-linux-gnu/libc.so.6(abort+0x16a)[0x7f363c95442a] mysqld(+0x628387)[0x5591312ef387] mysqld(+0xf07e78)[0x559131bcee78] mysqld(_Z27btr_cur_search_to_nth_levelP12dict_index_tmPK8dtuple_t15page_cur_mode_tmP9btr_cur_tmPKcmP5mtr_t+0x1e61)[0x559131bd6791] mysqld(_Z29row_ins_clust_index_entry_lowmmP12dict_index_tmP8dtuple_tmP9que_thr_tb+0x230)[0x559131af4980] mysqld(_Z25row_ins_clust_index_entryP12dict_index_tP8dtuple_tP9que_thr_tmb+0x195)[0x559131af8585] mysqld(_Z12row_ins_stepP9que_thr_t+0x39b)[0x559131afac6b] mysqld(_Z15que_run_threadsP9que_thr_t+0x68b)[0x559131ad31fb] mysqld(_Z12fts_eval_sqlP5trx_tP10que_fork_t+0x2d)[0x559131cba50d] mysqld(_Z14fts_write_nodeP5trx_tPP10que_fork_tP11fts_table_tP12fts_string_tP10fts_node_t+0x1e2)[0x559131c95542] mysqld(+0xfd2743)[0x559131c99743] mysqld(_Z14fts_sync_tableP12dict_table_tbbb+0x214)[0x559131c9f0a4] mysqld(_Z23fts_optimize_sync_tablem+0x42)[0x559131ca60b2] mysqld(_Z19fts_optimize_threadPv+0x81c)[0x559131caefec] /lib/x86_64-linux-gnu/libpthread.so.0(+0x7494)[0x7f363e1bc494] /lib/x86_64-linux-gnu/libc.so.6(clone+0x3f)[0x7f363ca08acf] The manual page at http://dev.mysql.com/doc/mysql/en/crashing.html contains information that should help you find out what is causing the crash.

こちらの解消方法をご存知の方いらっしゃいますでしょうか。
他にも情報が必要であればお伝えします。

気になる質問をクリップする

クリップした質問は、後からいつでもMYページで確認できます。

またクリップした質問に回答があった際、通知やメールを受け取ることができます。

バッドをするには、ログインかつ

こちらの条件を満たす必要があります。

m.ts10806

2018/08/30 08:03

「実行中に」とありますが、具体的に何をしたときに起きた現象ですか?
ogoshikazuki

2018/08/30 08:28

データ補正のため、1行ずつひたすらupdateを実行していた時です。レコードの総数としては20万程です。
hope_mucci

2018/08/30 12:45

補足要求。1.このエラーは継続して発生しますか? 2.update中とのことですが、autocommitしていましたか?そうでなければ、何件ぐらいupdateしたときに発生しましたか? 3.メモリの使用状況を確認してください。mysql実行状況に対して、メモリは十分足りてますか? 4.エラーメッセージに書かれている内容は読み取れますか?
hope_mucci

2018/08/30 12:50 編集

補足要求を書いたばかりですが情報連携です。 https://bugs.launchpad.net/percona-server/+bug/1428331 上記の記事とエラー発生場所が同一なので、どうやらInnoDBのバグの模様。ご愁傷様です。。。 もし継続してエラーが発生するようなら、エラーメッセージ中にリカバリー方法が記載されたURLが書いてありますので、そちらを参考に復旧されてみてはどうでしょうか。
guest

あなたの回答

tips

太字

斜体

打ち消し線

見出し

引用テキストの挿入

コードの挿入

リンクの挿入

リストの挿入

番号リストの挿入

表の挿入

水平線の挿入

プレビュー

まだ回答がついていません

会員登録して回答してみよう

アカウントをお持ちの方は

15分調べてもわからないことは
teratailで質問しよう!

ただいまの回答率
85.47%

質問をまとめることで
思考を整理して素早く解決

テンプレート機能で
簡単に質問をまとめる

質問する

関連した質問