Koc
Новичок
Беру базу с лайва, восстанавливаю ее, все работает нормально 2-3 дня. Потом начинаются "mysql has gone away".
ubuntu 12.04 (virtualbox), 4Gb RAM, mysql 5.5.24, таблицы, на которых все валится - innodb. innodb force recovery не помогает. Что-то не так с диском или что? Как чинить? Сливать базу раз в 2 дня возможности нет
ubuntu 12.04 (virtualbox), 4Gb RAM, mysql 5.5.24, таблицы, на которых все валится - innodb. innodb force recovery не помогает. Что-то не так с диском или что? Как чинить? Сливать базу раз в 2 дня возможности нет
Код:
InnoDB: End of page dump
130605 16:47:23 InnoDB: Page checksum 888709230, prior-to-4.0.14-form checksum 3520341267
InnoDB: stored checksum 837407184, prior-to-4.0.14-form stored checksum 3520341267
InnoDB: Page lsn 9 468977944, low 4 bytes of lsn at page end 468977944
InnoDB: Page number (if stored to page already) 606467,
InnoDB: space id (if created with >= MySQL-4.1.1 and stored already) 0
InnoDB: Page may be an index page where index id is 6593
InnoDB: (index "PRIMARY" of table "oleg_xxx_20130516"."newsfeed_event")
InnoDB: Database page corruption on disk or a failed
InnoDB: file read of page 606467.
InnoDB: You may have to recover from a backup.
InnoDB: It is also possible that your operating
InnoDB: system has corrupted its own file cache
InnoDB: and rebooting your computer removes the
InnoDB: error.
InnoDB: If the corrupt page is an index page
InnoDB: you can also try to fix the corruption
InnoDB: by dumping, dropping, and reimporting
InnoDB: the corrupt table. You can use CHECK
InnoDB: TABLE to scan your table for corruption.
InnoDB: See also http://dev.mysql.com/doc/refman/5.5/en/forcing-innodb-recovery.html
InnoDB: about forcing recovery.
InnoDB: Ending processing because of a corrupt database page.
130605 16:47:23 InnoDB: Assertion failure in thread 140434064729856 in file buf0buf.c line 3608
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.5/en/forcing-innodb-recovery.html
InnoDB: about forcing recovery.
13:47:23 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.
We will try our best to scrape up some info that will hopefully help
diagnose the problem, but since we have already crashed,
something is definitely wrong and this may fail.
key_buffer_size=16777216
read_buffer_size=131072
max_used_connections=1
max_threads=151
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 = 346679 K bytes of memory
Hope that's ok; if not, decrease some variables in the equation.
Thread pointer: 0x7fb95dbc6010
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 = 7fb95a8ade60 thread_stack 0x30000
mysqld(my_print_stacktrace+0x29)[0x7fb95ae46459]
mysqld(handle_fatal_signal+0x483)[0x7fb95ad0c1d3]
/lib/x86_64-linux-gnu/libpthread.so.0(+0xfcb0)[0x7fb959a60cb0]
/lib/x86_64-linux-gnu/libc.so.6(gsignal+0x35)[0x7fb9590cc425]
/lib/x86_64-linux-gnu/libc.so.6(abort+0x17b)[0x7fb9590cfb8b]
mysqld(+0x61f220)[0x7fb95af17220]
mysqld(+0x62a927)[0x7fb95af22927]
mysqld(+0x62b002)[0x7fb95af23002]
mysqld(+0x61b0f6)[0x7fb95af130f6]
mysqld(+0x607361)[0x7fb95aeff361]
mysqld(+0x5cb055)[0x7fb95aec3055]
mysqld(+0x5aa697)[0x7fb95aea2697]
mysqld(+0x31e924)[0x7fb95ac16924]
mysqld(_Z10sub_selectP4JOINP13st_join_tableb+0x61)[0x7fb95ac145a1]
mysqld(+0x31a5cc)[0x7fb95ac125cc]
mysqld(_Z10sub_selectP4JOINP13st_join_tableb+0x7e)[0x7fb95ac145be]
mysqld(+0x31a5cc)[0x7fb95ac125cc]
mysqld(_Z10sub_selectP4JOINP13st_join_tableb+0x7e)[0x7fb95ac145be]
mysqld(+0x31a5cc)[0x7fb95ac125cc]
mysqld(_Z10sub_selectP4JOINP13st_join_tableb+0x7e)[0x7fb95ac145be]
mysqld(+0x32ce55)[0x7fb95ac24e55]
mysqld(_ZN4JOIN4execEv+0xbd6)[0x7fb95ac34656]
mysqld(_Z12mysql_selectP3THDPPP4ItemP10TABLE_LISTjR4ListIS1_ES2_jP8st_orderSB_S2_SB_yP13select_resultP18st_select_lex_unitP13st_select_lex+0x130)[0x7fb95ac2fdd0]
mysqld(_Z13handle_selectP3THDP3LEXP13select_resultm+0x17c)[0x7fb95ac35d2c]
mysqld(+0x2f4524)[0x7fb95abec524]
mysqld(_Z21mysql_execute_commandP3THD+0x293e)[0x7fb95abf51de]
mysqld(_Z11mysql_parseP3THDPcjP12Parser_state+0x10f)[0x7fb95abf8bef]
mysqld(_Z16dispatch_command19enum_server_commandP3THDPcj+0x1365)[0x7fb95abfa025]
mysqld(_Z24do_handle_one_connectionP3THD+0x1bd)[0x7fb95ac9c7cd]
mysqld(handle_one_connection+0x50)[0x7fb95ac9c830]
/lib/x86_64-linux-gnu/libpthread.so.0(+0x7e9a)[0x7fb959a58e9a]
/lib/x86_64-linux-gnu/libc.so.6(clone+0x6d)[0x7fb959189cbd]
Trying to get some variables.
Some pointers may be invalid and cause the dump to abort.
Query (7fb934005bc0): is an invalid pointer
Connection ID (thread ID): 2
Status: NOT_KILLED
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.