Folks,

We've been running a fairly  high-traffic mysql server for some time,
and we've been occasionally seeing messages like this in the logs:

InnoDB: Error: semaphore wait has lasted > 600 seconds
InnoDB: We intentionally crash the server, because it appears to be
hung.
040309 18:20:36  InnoDB: Assertion failure in thread 2623773248 in file
sync0arr.c line 934
InnoDB: Failing assertion: 0
InnoDB: We intentionally generate a memory trap.
InnoDB: Send a detailed bug report to [EMAIL PROTECTED]

This is a fairly critical issue for us (the latest crash borked
replication, which is never fun), so if anyone has an answer it would be
most appreciated.  I've attached the full relevant log snippet and the
my.cnf for anyone who's willing to take a look.

I'd provide more information, but it has so far been impossible to tell
what's causing it.  This server averages >2000 queries per second (25%
of which is inserts and updates, I'd guess), and is also the replication
master for another database.  It seems to be random so far.

This system is running on a dual Xeon (2.4GHz + hyperthread) with 4GB of
memory, Two U160 SCSI arrays (configured for 1TB @ RAID1+0), and the
stock RedHat 2.4.20-8smp kernel (the box is pretty much a stock RedHat 9
install).

Again, any insight would be most appreciated.

--ZS

----%<---[ Cut Here for my.cnf ]----%<---------------------

[client]
port            = 3306
socket          = /tmp/mysql.sock


[mysqld]
port            = 3306
socket          = /tmp/mysql.sock
skip-locking
key_buffer = 1024M
max_allowed_packet = 16M
table_cache = 512
sort_buffer_size = 256M
read_buffer_size = 256M
myisam_sort_buffer_size = 64M
thread_cache = 8
query_cache_size = 128M
thread_concurrency = 8
max_connections = 1000
interactive_timeout = 1800
wait_timeout = 1800
server-id       = 1
log-bin
tmpdir          = /tmp/         
innodb_data_home_dir = /usr/local/mysql/var/

# 1560GB of DB tablespace
innodb_data_file_path =
aa:1G;i2/ab:1G;ac:1G;i2/ad:1G;ae:1G;i2/af:1G;ag:1G;i2/ah:1G;ai:1G;i2/aj:1G;ak:1G;i2/al:1G;am:1G;i2/an:1G;ao:1G;i2/ap:1G;aq:1G;i2/ar:1G;as:1G;i2/at:1G;au:1G;i2/av:1G;aw:1G;i2/ax:1G;ay:1G;i2/az:1G;aA:1G;i2/aB:1G;aC:1G;i2/aD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i2/e3:1G;e4:1G;i2/e5:1G;e6:1G;i2/e7:1G;e8:1G;i2/e9:1G;fa:1G;i2/fb:1G;fc:1G;i2/fd:1G;fe:1G;i2/ff:1G;fg:1G;i2/fh:1G;fi:1G;i2/fj:1G;fk:1G;i2/fl:1G;fm:1G;i2/fn:1G;fo:1G;i2/fp:1G;fq:1G;i2/fr:1G;fs:1G;i2/ft:1G;fu:1G;i2/fv:1G;fw:1G;i2/fx:1G;fy:1G;i2/fz:1G;fA:1G;i2/fB:1G;fC:1G;i2/fD:1G;fE:1G;i2/fF:1G;fG:1G;i2/fH:1G;fI:1G;i2/fJ:1G;fK:1G;i2/fL:1G;fM:1G;i2/fN:1G;fO:1G;i2/fP:1G;fQ:1G;i2/fR:1G;fS:1G;i2/fT:1G;fU:1G;i2/fV:1G;fW:1G;i2/fX:1G;fY:1G;i2/fZ:1G;f0:1G;i2/f1:1G;f2:1G;i2/f3:1G;f4:1G;i2/f5:1G;f6:1G;i2/f7:1G;f8:1G;i2/f9:1G;ga:1G;i2/gb:1G;gc:1G;i2/gd:1G;ge:1G;i2/gf:1G;gg:1G;i2/gh:1G;gi:1G;i2/gj:1G;gk:1G;i2/gl:1G;gm:1G;i2/gn:1G;go:1G;i2/gp:1G;gq:1G;i2/gr:1G;gs:1G;i2/gt:1G;gu:1G;i2/gv:1G;gw:1G;i2/gx:1G;gy:1G;i2/gz:1G;gA:1G;i2/gB:1G

innodb_log_group_home_dir = /usr/local/mysql/var/
innodb_log_arch_dir = /usr/local/mysql/var/
innodb_buffer_pool_size = 1024M
innodb_additional_mem_pool_size = 128M
innodb_log_file_size = 256M
innodb_log_buffer_size = 64M
innodb_flush_log_at_trx_commit = 1
innodb_lock_wait_timeout = 50

[mysqldump]
quick
max_allowed_packet = 64M

[mysql]
no-auto-rehash

[isamchk]
key_buffer = 256M
sort_buffer_size = 256M
read_buffer = 2M
write_buffer = 2M

[myisamchk]
key_buffer = 256M
sort_buffer_size = 256M
read_buffer = 2M
write_buffer = 2M

[mysqlhotcopy]
interactive-timeout

-----------------------------------------------------------



--
Steven M. Doyle, Evil Programmer                         
[EMAIL PROTECTED]
(and still Keeper of the Bamboo Stick!)                  [EMAIL PROTECTED]

               Don't the hours grow  shorter as the days go by
                  You never get to stop and open your eyes
                One minute you're waiting for the sky to fall
               The next you're dazzled by the beauty of it all

               (Barenaked Ladies / Lovers in a Dangerous Time)


040305 21:15:01  mysqld started
040305 21:15:02  InnoDB: Started
/usr/local/mysql/libexec/mysqld: ready for connections.
Version: '4.0.17-log'  socket: '/tmp/mysql.sock'  port: 3306
InnoDB: Warning: a long semaphore wait:
--Thread 2694511424 has waited at ../../innobase/include/trx0sys.ic line 99 for 242.00 
seconds the semaphore:
X-lock on RW-latch at 94635b64 created in file buf0buf.c line 444
a writer (thread id 2694511424) has reserved it in mode wait exclusive
number of readers 1, waiters flag 1
Last time read locked in file buf0flu.c line 469
Last time write locked in file ../../innobase/include/trx0sys.ic line 99
InnoDB: ###### Starts InnoDB Monitor for 30 secs to print diagnostic info:
InnoDB: ###### Diagnostic info printed to the standard output
InnoDB: Warning: a long semaphore wait:
--Thread 2694511424 has waited at ../../innobase/include/trx0sys.ic line 99 for 274.00 
seconds the semaphore:
X-lock on RW-latch at 94635b64 created in file buf0buf.c line 444
a writer (thread id 2694511424) has reserved it in mode wait exclusive
number of readers 1, waiters flag 1
Last time read locked in file buf0flu.c line 469
Last time write locked in file ../../innobase/include/trx0sys.ic line 99
InnoDB: ###### Starts InnoDB Monitor for 30 secs to print diagnostic info:
InnoDB: ###### Diagnostic info printed to the standard output
InnoDB: Warning: a long semaphore wait:
--Thread 2694511424 has waited at ../../innobase/include/trx0sys.ic line 99 for 306.00 
seconds the semaphore:
X-lock on RW-latch at 94635b64 created in file buf0buf.c line 444
a writer (thread id 2694511424) has reserved it in mode wait exclusive
number of readers 1, waiters flag 1
Last time read locked in file buf0flu.c line 469
Last time write locked in file ../../innobase/include/trx0sys.ic line 99
InnoDB: ###### Starts InnoDB Monitor for 30 secs to print diagnostic info:
InnoDB: ###### Diagnostic info printed to the standard output
InnoDB: Warning: a long semaphore wait:
--Thread 2694511424 has waited at ../../innobase/include/trx0sys.ic line 99 for 338.00 
seconds the semaphore:
X-lock on RW-latch at 94635b64 created in file buf0buf.c line 444
a writer (thread id 2694511424) has reserved it in mode wait exclusive
number of readers 1, waiters flag 1
Last time read locked in file buf0flu.c line 469
Last time write locked in file ../../innobase/include/trx0sys.ic line 99
InnoDB: Warning: a long semaphore wait:
--Thread 2671042368 has waited at ../../innobase/include/trx0sys.ic line 99 for 265.00 
seconds the semaphore:
X-lock on RW-latch at 94635b64 created in file buf0buf.c line 444
a writer (thread id 2694511424) has reserved it in mode wait exclusive
number of readers 1, waiters flag 1
Last time read locked in file buf0flu.c line 469
Last time write locked in file ../../innobase/include/trx0sys.ic line 99
InnoDB: Warning: a long semaphore wait:
--Thread 1103296448 has waited at trx0trx.c line 600 for 264.00 seconds the semaphore:
Mutex at 4a131168 created file srv0srv.c line 1653, lock var 1
Last time reserved in file trx0trx.c line 600, waiters flag 1
InnoDB: Warning: a long semaphore wait:
--Thread 2615384768 has waited at srv0srv.c line 2589 for 264.00 seconds the semaphore:
Mutex at 4a131168 created file srv0srv.c line 1653, lock var 1
Last time reserved in file trx0trx.c line 600, waiters flag 1
InnoDB: ###### Starts InnoDB Monitor for 30 secs to print diagnostic info:
InnoDB: ###### Diagnostic info printed to the standard output
InnoDB: Warning: a long semaphore wait:
--Thread 2694511424 has waited at ../../innobase/include/trx0sys.ic line 99 for 370.00 
seconds the semaphore:
X-lock on RW-latch at 94635b64 created in file buf0buf.c line 444
a writer (thread id 2694511424) has reserved it in mode wait exclusive
number of readers 1, waiters flag 1
Last time read locked in file buf0flu.c line 469
Last time write locked in file ../../innobase/include/trx0sys.ic line 99
InnoDB: Warning: a long semaphore wait:
--Thread 2671042368 has waited at ../../innobase/include/trx0sys.ic line 99 for 297.00 
seconds the semaphore:
X-lock on RW-latch at 94635b64 created in file buf0buf.c line 444
a writer (thread id 2694511424) has reserved it in mode wait exclusive
number of readers 1, waiters flag 1
Last time read locked in file buf0flu.c line 469
Last time write locked in file ../../innobase/include/trx0sys.ic line 99
InnoDB: Warning: a long semaphore wait:
--Thread 1103296448 has waited at trx0trx.c line 600 for 296.00 seconds the semaphore:
Mutex at 4a131168 created file srv0srv.c line 1653, lock var 1
Last time reserved in file trx0trx.c line 600, waiters flag 1
InnoDB: Warning: a long semaphore wait:
--Thread 2615384768 has waited at srv0srv.c line 2589 for 296.00 seconds the semaphore:
Mutex at 4a131168 created file srv0srv.c line 1653, lock var 1
Last time reserved in file trx0trx.c line 600, waiters flag 1
InnoDB: ###### Starts InnoDB Monitor for 30 secs to print diagnostic info:
InnoDB: ###### Diagnostic info printed to the standard output
InnoDB: Warning: a long semaphore wait:
--Thread 2694511424 has waited at ../../innobase/include/trx0sys.ic line 99 for 402.00 
seconds the semaphore:
X-lock on RW-latch at 94635b64 created in file buf0buf.c line 444
a writer (thread id 2694511424) has reserved it in mode wait exclusive
number of readers 1, waiters flag 1
Last time read locked in file buf0flu.c line 469
Last time write locked in file ../../innobase/include/trx0sys.ic line 99
InnoDB: Warning: a long semaphore wait:
--Thread 2671042368 has waited at ../../innobase/include/trx0sys.ic line 99 for 329.00 
seconds the semaphore:
X-lock on RW-latch at 94635b64 created in file buf0buf.c line 444
a writer (thread id 2694511424) has reserved it in mode wait exclusive
number of readers 1, waiters flag 1
Last time read locked in file buf0flu.c line 469
Last time write locked in file ../../innobase/include/trx0sys.ic line 99
InnoDB: Warning: a long semaphore wait:
--Thread 1103296448 has waited at trx0trx.c line 600 for 328.00 seconds the semaphore:
Mutex at 4a131168 created file srv0srv.c line 1653, lock var 1
Last time reserved in file trx0trx.c line 600, waiters flag 1
InnoDB: Warning: a long semaphore wait:
--Thread 2615384768 has waited at srv0srv.c line 2589 for 328.00 seconds the semaphore:
Mutex at 4a131168 created file srv0srv.c line 1653, lock var 1
Last time reserved in file trx0trx.c line 600, waiters flag 1
InnoDB: ###### Starts InnoDB Monitor for 30 secs to print diagnostic info:
InnoDB: ###### Diagnostic info printed to the standard output
InnoDB: Warning: a long semaphore wait:
--Thread 2694511424 has waited at ../../innobase/include/trx0sys.ic line 99 for 434.00 
seconds the semaphore:
X-lock on RW-latch at 94635b64 created in file buf0buf.c line 444
a writer (thread id 2694511424) has reserved it in mode wait exclusive
number of readers 1, waiters flag 1
Last time read locked in file buf0flu.c line 469
Last time write locked in file ../../innobase/include/trx0sys.ic line 99
InnoDB: Warning: a long semaphore wait:
--Thread 2671042368 has waited at ../../innobase/include/trx0sys.ic line 99 for 361.00 
seconds the semaphore:
X-lock on RW-latch at 94635b64 created in file buf0buf.c line 444
a writer (thread id 2694511424) has reserved it in mode wait exclusive
number of readers 1, waiters flag 1
Last time read locked in file buf0flu.c line 469
Last time write locked in file ../../innobase/include/trx0sys.ic line 99
InnoDB: Warning: a long semaphore wait:
--Thread 1103296448 has waited at trx0trx.c line 600 for 360.00 seconds the semaphore:
Mutex at 4a131168 created file srv0srv.c line 1653, lock var 1
Last time reserved in file trx0trx.c line 600, waiters flag 1
InnoDB: Warning: a long semaphore wait:
--Thread 2615384768 has waited at srv0srv.c line 2589 for 360.00 seconds the semaphore:
Mutex at 4a131168 created file srv0srv.c line 1653, lock var 1
Last time reserved in file trx0trx.c line 600, waiters flag 1
InnoDB: ###### Starts InnoDB Monitor for 30 secs to print diagnostic info:
InnoDB: ###### Diagnostic info printed to the standard output
InnoDB: Warning: a long semaphore wait:
--Thread 2694511424 has waited at ../../innobase/include/trx0sys.ic line 99 for 466.00 
seconds the semaphore:
X-lock on RW-latch at 94635b64 created in file buf0buf.c line 444
a writer (thread id 2694511424) has reserved it in mode wait exclusive
number of readers 1, waiters flag 1
Last time read locked in file buf0flu.c line 469
Last time write locked in file ../../innobase/include/trx0sys.ic line 99
InnoDB: Warning: a long semaphore wait:
--Thread 2671042368 has waited at ../../innobase/include/trx0sys.ic line 99 for 393.00 
seconds the semaphore:
X-lock on RW-latch at 94635b64 created in file buf0buf.c line 444
a writer (thread id 2694511424) has reserved it in mode wait exclusive
number of readers 1, waiters flag 1
Last time read locked in file buf0flu.c line 469
Last time write locked in file ../../innobase/include/trx0sys.ic line 99
InnoDB: Warning: a long semaphore wait:
--Thread 1103296448 has waited at trx0trx.c line 600 for 392.00 seconds the semaphore:
Mutex at 4a131168 created file srv0srv.c line 1653, lock var 1
Last time reserved in file trx0trx.c line 600, waiters flag 1
InnoDB: Warning: a long semaphore wait:
--Thread 2615384768 has waited at srv0srv.c line 2589 for 392.00 seconds the semaphore:
Mutex at 4a131168 created file srv0srv.c line 1653, lock var 1
Last time reserved in file trx0trx.c line 600, waiters flag 1
InnoDB: ###### Starts InnoDB Monitor for 30 secs to print diagnostic info:
InnoDB: ###### Diagnostic info printed to the standard output
InnoDB: Warning: a long semaphore wait:
--Thread 2694511424 has waited at ../../innobase/include/trx0sys.ic line 99 for 498.00 
seconds the semaphore:
X-lock on RW-latch at 94635b64 created in file buf0buf.c line 444
a writer (thread id 2694511424) has reserved it in mode wait exclusive
number of readers 1, waiters flag 1
Last time read locked in file buf0flu.c line 469
Last time write locked in file ../../innobase/include/trx0sys.ic line 99
InnoDB: Warning: a long semaphore wait:
--Thread 2671042368 has waited at ../../innobase/include/trx0sys.ic line 99 for 425.00 
seconds the semaphore:
X-lock on RW-latch at 94635b64 created in file buf0buf.c line 444
a writer (thread id 2694511424) has reserved it in mode wait exclusive
number of readers 1, waiters flag 1
Last time read locked in file buf0flu.c line 469
Last time write locked in file ../../innobase/include/trx0sys.ic line 99
InnoDB: Warning: a long semaphore wait:
--Thread 1103296448 has waited at trx0trx.c line 600 for 424.00 seconds the semaphore:
Mutex at 4a131168 created file srv0srv.c line 1653, lock var 1
Last time reserved in file trx0trx.c line 600, waiters flag 1
InnoDB: Warning: a long semaphore wait:
--Thread 2615384768 has waited at srv0srv.c line 2589 for 424.00 seconds the semaphore:
Mutex at 4a131168 created file srv0srv.c line 1653, lock var 1
Last time reserved in file trx0trx.c line 600, waiters flag 1
InnoDB: ###### Starts InnoDB Monitor for 30 secs to print diagnostic info:
InnoDB: ###### Diagnostic info printed to the standard output
InnoDB: Warning: a long semaphore wait:
--Thread 2694511424 has waited at ../../innobase/include/trx0sys.ic line 99 for 530.00 
seconds the semaphore:
X-lock on RW-latch at 94635b64 created in file buf0buf.c line 444
a writer (thread id 2694511424) has reserved it in mode wait exclusive
number of readers 1, waiters flag 1
Last time read locked in file buf0flu.c line 469
Last time write locked in file ../../innobase/include/trx0sys.ic line 99
InnoDB: Warning: a long semaphore wait:
--Thread 2671042368 has waited at ../../innobase/include/trx0sys.ic line 99 for 457.00 
seconds the semaphore:
X-lock on RW-latch at 94635b64 created in file buf0buf.c line 444
a writer (thread id 2694511424) has reserved it in mode wait exclusive
number of readers 1, waiters flag 1
Last time read locked in file buf0flu.c line 469
Last time write locked in file ../../innobase/include/trx0sys.ic line 99
InnoDB: Warning: a long semaphore wait:
--Thread 1103296448 has waited at trx0trx.c line 600 for 456.00 seconds the semaphore:
Mutex at 4a131168 created file srv0srv.c line 1653, lock var 1
Last time reserved in file trx0trx.c line 600, waiters flag 1
InnoDB: Warning: a long semaphore wait:
--Thread 2615384768 has waited at srv0srv.c line 2589 for 456.00 seconds the semaphore:
Mutex at 4a131168 created file srv0srv.c line 1653, lock var 1
Last time reserved in file trx0trx.c line 600, waiters flag 1
InnoDB: ###### Starts InnoDB Monitor for 30 secs to print diagnostic info:
InnoDB: ###### Diagnostic info printed to the standard output
InnoDB: Warning: a long semaphore wait:
--Thread 2694511424 has waited at ../../innobase/include/trx0sys.ic line 99 for 562.00 
seconds the semaphore:
X-lock on RW-latch at 94635b64 created in file buf0buf.c line 444
a writer (thread id 2694511424) has reserved it in mode wait exclusive
number of readers 1, waiters flag 1
Last time read locked in file buf0flu.c line 469
Last time write locked in file ../../innobase/include/trx0sys.ic line 99
InnoDB: Warning: a long semaphore wait:
--Thread 2671042368 has waited at ../../innobase/include/trx0sys.ic line 99 for 489.00 
seconds the semaphore:
X-lock on RW-latch at 94635b64 created in file buf0buf.c line 444
a writer (thread id 2694511424) has reserved it in mode wait exclusive
number of readers 1, waiters flag 1
Last time read locked in file buf0flu.c line 469
Last time write locked in file ../../innobase/include/trx0sys.ic line 99
InnoDB: Warning: a long semaphore wait:
--Thread 1103296448 has waited at trx0trx.c line 600 for 488.00 seconds the semaphore:
Mutex at 4a131168 created file srv0srv.c line 1653, lock var 1
Last time reserved in file trx0trx.c line 600, waiters flag 1
InnoDB: Warning: a long semaphore wait:
--Thread 2615384768 has waited at srv0srv.c line 2589 for 488.00 seconds the semaphore:
Mutex at 4a131168 created file srv0srv.c line 1653, lock var 1
Last time reserved in file trx0trx.c line 600, waiters flag 1
InnoDB: ###### Starts InnoDB Monitor for 30 secs to print diagnostic info:
InnoDB: ###### Diagnostic info printed to the standard output
InnoDB: Warning: a long semaphore wait:
--Thread 2694511424 has waited at ../../innobase/include/trx0sys.ic line 99 for 594.00 
seconds the semaphore:
X-lock on RW-latch at 94635b64 created in file buf0buf.c line 444
a writer (thread id 2694511424) has reserved it in mode wait exclusive
number of readers 1, waiters flag 1
Last time read locked in file buf0flu.c line 469
Last time write locked in file ../../innobase/include/trx0sys.ic line 99
InnoDB: Warning: a long semaphore wait:
--Thread 2671042368 has waited at ../../innobase/include/trx0sys.ic line 99 for 521.00 
seconds the semaphore:
X-lock on RW-latch at 94635b64 created in file buf0buf.c line 444
a writer (thread id 2694511424) has reserved it in mode wait exclusive
number of readers 1, waiters flag 1
Last time read locked in file buf0flu.c line 469
Last time write locked in file ../../innobase/include/trx0sys.ic line 99
InnoDB: Warning: a long semaphore wait:
--Thread 1103296448 has waited at trx0trx.c line 600 for 520.00 seconds the semaphore:
Mutex at 4a131168 created file srv0srv.c line 1653, lock var 1
Last time reserved in file trx0trx.c line 600, waiters flag 1
InnoDB: Warning: a long semaphore wait:
--Thread 2615384768 has waited at srv0srv.c line 2589 for 520.00 seconds the semaphore:
Mutex at 4a131168 created file srv0srv.c line 1653, lock var 1
Last time reserved in file trx0trx.c line 600, waiters flag 1
InnoDB: ###### Starts InnoDB Monitor for 30 secs to print diagnostic info:
InnoDB: ###### Diagnostic info printed to the standard output
InnoDB: Warning: a long semaphore wait:
--Thread 2694511424 has waited at ../../innobase/include/trx0sys.ic line 99 for 626.00 
seconds the semaphore:
X-lock on RW-latch at 94635b64 created in file buf0buf.c line 444
a writer (thread id 2694511424) has reserved it in mode wait exclusive
number of readers 1, waiters flag 1
Last time read locked in file buf0flu.c line 469
Last time write locked in file ../../innobase/include/trx0sys.ic line 99
InnoDB: Error: semaphore wait has lasted > 600 seconds
InnoDB: We intentionally crash the server, because it appears to be hung.
040309 18:20:36  InnoDB: Assertion failure in thread 2623773248 in file sync0arr.c 
line 934
InnoDB: Failing assertion: 0
InnoDB: We intentionally generate a memory trap.
InnoDB: Send a detailed bug report to [EMAIL PROTECTED]
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=1073741824
read_buffer_size=268431360
max_used_connections=110
max_connections=1000
threads_connected=93
It is possible that mysqld could use up to 
key_buffer_size + (read_buffer_size + sort_buffer_size)*max_connections = 1044568 K
bytes of memory
Hope that's ok; if not, decrease some variables in the equation.

thd=(nil)
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=0x9c6390fc, backtrace may not be correct.
Stack range sanity check OK, backtrace follows:
0x80f74ea
0x40043618
(nil)
0x4003e2b6
0x420de407
New value of fp=(nil) failed sanity check, terminating stack trace!
Please read http://www.mysql.com/doc/en/Using_stack_trace.html and follow instructions 
on how to resolve the stack trace. Resolved
stack trace is much more helpful in diagnosing the problem, so please do 
resolve it
The manual page at http://www.mysql.com/doc/en/Crashing.html contains
information that should help you find out what is causing the crash.

Number of processes running now: 0
040309 18:20:38  mysqld restarted
040309 18:20:44  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 12 2044636752
InnoDB: Doing recovery: scanned up to log sequence number 12 2049879552
InnoDB: Doing recovery: scanned up to log sequence number 12 2055122432
InnoDB: Doing recovery: scanned up to log sequence number 12 2060365312
InnoDB: Doing recovery: scanned up to log sequence number 12 2065608192
InnoDB: Doing recovery: scanned up to log sequence number 12 2070851072
InnoDB: Doing recovery: scanned up to log sequence number 12 2076093952
InnoDB: Doing recovery: scanned up to log sequence number 12 2081336832
InnoDB: Doing recovery: scanned up to log sequence number 12 2086579712
InnoDB: Doing recovery: scanned up to log sequence number 12 2091822592
InnoDB: Doing recovery: scanned up to log sequence number 12 2097065472
InnoDB: Doing recovery: scanned up to log sequence number 12 2102308352
InnoDB: Doing recovery: scanned up to log sequence number 12 2107551232
InnoDB: Doing recovery: scanned up to log sequence number 12 2112794112
InnoDB: Doing recovery: scanned up to log sequence number 12 2118036992
InnoDB: Doing recovery: scanned up to log sequence number 12 2123279872
InnoDB: Doing recovery: scanned up to log sequence number 12 2128522752
InnoDB: Doing recovery: scanned up to log sequence number 12 2133518516
040309 18:20:51  InnoDB: Starting an apply batch of log records to the database...
InnoDB: Progress in percents: 0 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 
22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 
51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 
80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 
InnoDB: Apply batch completed
InnoDB: In a MySQL replication slave the last master binlog file
InnoDB: position 0 757943028, file name rdb-bin.010
InnoDB: Last MySQL binlog file position 0 111773384, file name ./bdb-bin.008
040309 18:29:26  InnoDB: Flushing modified pages from the buffer pool...
040309 18:29:41  InnoDB: Started
/usr/local/mysql/libexec/mysqld: ready for connections.
Version: '4.0.17-log'  socket: '/tmp/mysql.sock'  port: 3306

-- 
MySQL General Mailing List
For list archives: http://lists.mysql.com/mysql
To unsubscribe:    http://lists.mysql.com/[EMAIL PROTECTED]

Reply via email to