MySQL Forums
Forum List  »  InnoDB

innodb: Error: semaphore wait has lasted > 600 seconds (during check table)
Posted by: Jeff Cobb
Date: February 24, 2005 09:03PM

During a "check table" on a ~10GB innodb table, mysql crashes and restarts with:

InnoDB: Warning: a long semaphore wait:
--Thread 10 has waited at btr0btr.c line 383 for 625.00 seconds the semaphore:
S-lock on RW-latch at 101003c40 created in file dict0dict.c line 3195
a writer (thread id 11) has reserved it in mode exclusive
number of readers 0, waiters flag 1
Last time read locked in file btr0cur.c line 337
Last time write locked in file btr0btr.c line 2466
InnoDB: Error: semaphore wait has lasted > 600 seconds
InnoDB: We intentionally crash the server, because it appears to be hung.
050224 18:20:56 InnoDB: Assertion failure in thread 7 in file sync0arr.c line 934
InnoDB: Failing assertion: 0
InnoDB: We intentionally generate a memory trap.
InnoDB: Send a detailed bug report to mysql@lists.mysql.com
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=314572800
read_buffer_size=2093056
InnoDB: Thread 050224 18:20:58 mysqld restarted
050224 18:21:03 InnoDB: Database was not shut down normally.
InnoDB: Starting recovery from log files...
InnoDB: Starting log scan based on checkpoint at
InnoDB: log sequence number 96 3535983808
InnoDB: Doing recovery: scanned up to log sequence number 96 3535983808
InnoDB: In a MySQL replication slave the last master binlog file
InnoDB: position 0 115088259, file name jocelyn-bin.020
InnoDB: Last MySQL binlog file position 0 983656024, file name ./kosh-bin.003
050224 18:21:05 InnoDB: Flushing modified pages from the buffer pool...
050224 18:21:05 InnoDB: Started
/mydisks/a/apps/mysql/bin/mysqld: ready for connections.


How can we get a table check to complete?

thanks in advance,
Jeff

Options: ReplyQuote


Subject
Views
Written By
Posted
innodb: Error: semaphore wait has lasted > 600 seconds (during check table)
4643
February 24, 2005 09:03PM


Sorry, you can't reply to this topic. It has been closed.

Content reproduced on this site is the property of the respective copyright holders. It is not reviewed in advance by Oracle and does not necessarily represent the opinion of Oracle or any other party.