Random crashes
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
OurDelta |
Incomplete
|
Undecided
|
Arjen Lentz |
Bug Description
Our MySQL server is crashing randomly (sometimes several times per day, sometimes once per month). From syslog:
Feb 27 12:23:37 server mysqld[2917]: 100227 12:23:37 - mysqld got signal 11 ;
Feb 27 12:23:37 server mysqld[2917]: This could be because you hit a bug. It is also possible that this binary
Feb 27 12:23:37 server mysqld[2917]: or one of the libraries it was linked against is corrupt, improperly built,
Feb 27 12:23:37 server mysqld[2917]: or misconfigured. This error can also be caused by malfunctioning hardware.
Feb 27 12:23:37 server mysqld[2917]: We will try our best to scrape up some info that will hopefully help diagnose
Feb 27 12:23:37 server mysqld[2917]: the problem, but since we have already crashed, something is definitely wrong
Feb 27 12:23:37 server mysqld[2917]: and this may fail.
Feb 27 12:23:37 server mysqld[2917]:
Feb 27 12:23:37 server mysqld[2917]: key_buffer_
Feb 27 12:23:37 server mysqld[2917]: read_buffer_
Feb 27 12:23:37 server mysqld[2917]: max_used_
Feb 27 12:23:37 server mysqld[2917]: max_connections=200
Feb 27 12:23:37 server mysqld[2917]: threads_
Feb 27 12:23:37 server mysqld[2917]: It is possible that mysqld could use up to
Feb 27 12:23:37 server mysqld[2917]: key_buffer_size + (read_buffer_size + sort_buffer_
Feb 27 12:23:37 server mysqld[2917]: bytes of memory
Feb 27 12:23:37 server mysqld[2917]: Hope that's ok; if not, decrease some variables in the equation.
Feb 27 12:23:37 server mysqld[2917]:
Feb 27 12:23:37 server mysqld[2917]: thd=0x7fdbc88ae5a0
Feb 27 12:23:37 server mysqld[2917]: Attempting backtrace. You can use the following information to find out
Feb 27 12:23:37 server mysqld[2917]: where mysqld died. If you see no messages after this, something went
Feb 27 12:23:37 server mysqld[2917]: terribly wrong...
Feb 27 12:23:37 server mysqld[2917]: Cannot determine thread, fp=0x7fdbc88ae5a0, backtrace may not be correct.
Feb 27 12:23:37 server mysqld[2917]: Bogus stack limit or frame pointer, fp=0x7fdbc88ae5a0, stack_bottom=
Feb 27 12:23:37 server mysqld[2917]: Trying to get some variables.
Feb 27 12:23:37 server mysqld[2917]: Some pointers may be invalid and cause the dump to abort...
Feb 27 12:23:37 server mysqld[2917]: thd->query at 0x4cde8d0 = SET NAMES 'cp1250'
Feb 27 12:23:37 server mysqld[2917]: thd->thread_
Feb 27 12:23:37 server mysqld[2917]: The manual page at http://
Feb 27 12:23:37 server mysqld[2917]: information that should help you find out what is causing the crash.
Feb 27 12:23:37 server mysqld[2917]: pure virtual method called
Feb 27 12:23:37 server mysqld[2917]: terminate called without an active exception
Feb 27 12:23:37 server mysqld[2917]: Fatal signal 6 while backtracing
Feb 27 12:23:37 server mysqld[2917]: pure virtual method called
Feb 27 12:23:37 server mysqld[2917]: terminate called recursively
Feb 27 12:23:37 server mysqld_safe[27213]: Number of processes running now: 0
Feb 27 12:23:37 eserver mysqld_safe[27215]: restarted
We are using version 5.0.87-
Invalid stack... hmm. Can you please try without user_statistics enabled, i.e. userstat_running = 0
By the way tmp_table_size = 700M makes no sense, you wouldn't have enough memory; and tmp tables get limited by max_heap_table_size anyway, so that's why this incorrect setting hasn't hurt you yet.