MySQL crashes every morning at 5:00:01
Posted: Tue Dec 02, 2008 6:43 pm
Obviously there's a cron of some sort.
I just found this today, and it's been happening since June 14. I'm thinking it coincides with the upgrade to PHP 5.2.6 that I did from here.
I still get the good ol' "Your PHP MySQL library version 4.1.22 differs from your MySQL server version 5.0.62." And in the log it hints that part of the problem may be due to one of the libraries it was linked against is corrupt, improperly built, or misconfigured.
All my crons run at 4AM.. so I can't explain why it crashes at 5AM. It's wrecked a few tables but I managed to repair them with myisamchk.
Maybe my variables are out of whack? I've configured them many times ot get the best speed and keep the bad things out.
The server has 12 GB of memory.
Any thoughts?
I just found this today, and it's been happening since June 14. I'm thinking it coincides with the upgrade to PHP 5.2.6 that I did from here.
I still get the good ol' "Your PHP MySQL library version 4.1.22 differs from your MySQL server version 5.0.62." And in the log it hints that part of the problem may be due to one of the libraries it was linked against is corrupt, improperly built, or misconfigured.
All my crons run at 4AM.. so I can't explain why it crashes at 5AM. It's wrecked a few tables but I managed to repair them with myisamchk.
Maybe my variables are out of whack? I've configured them many times ot get the best speed and keep the bad things out.
The server has 12 GB of memory.
Any thoughts?
Code: Select all
081202 5:00:01 - mysqld got signal 11 ;
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=536870912
read_buffer_size=131072
max_used_connections=17
max_connections=100
threads_connected=1
It is possible that mysqld could use up to
key_buffer_size + (read_buffer_size + sort_buffer_size)*max_connections = 741887 K
bytes of memory
Hope that's ok; if not, decrease some variables in the equation.
thd=0x2ad7b0b410
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...
Cannot determine thread, fp=0x45394fe8, backtrace may not be correct.
Bogus stack limit or frame pointer, fp=0x45394fe8, stack_bottom=0x45390000, thread_stack=262144, aborting backtrace.
Trying to get some variables.
Some pointers may be invalid and cause the dump to abort...
thd->query at 0x2ad90e4c90 is invalid pointer
thd->thread_id=646685
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.
Number of processes running now: 0
081202 05:00:01 mysqld restarted
InnoDB: The log sequence number in ibdata files does not match
InnoDB: the log sequence number in the ib_logfiles!
081202 5:00:01 InnoDB: Database was not shut down normally!
InnoDB: Starting crash recovery.
InnoDB: Reading tablespace information from the .ibd files...
InnoDB: Restoring possible half-written data pages from the doublewrite
InnoDB: buffer...
081202 5:00:01 InnoDB: Started; log sequence number 0 2450975268
081202 5:00:01 [Note] /usr/libexec/mysqld: ready for connections.
Version: '5.0.62-log' socket: '/var/lib/mysql/mysql.sock' port: 3306 Source distribution