Classification: UNCLASSIFIED Caveats: NONE
All, Having stability issues w/ Mysql 4.1.10 (innodb) on RH Linux 2.4.9-e.59smp running AS 2.1. DB crashes randomly during execution of various SQL code (all using user variables and temporarly tables and mostly simple selects, inserts, joins, etc.). Using source-compiled binaries (./configure --prefix /data/mysql-4.1.10 --with-extra-charsets=complex --enable-thread-safe-client --enable-local-infile --enable-assembler --disable-shared --with-client-ldflags=-all-static --with-mysqld-ldflags=-all-static). Database crashes about 3-5 times a day and usually recovers, but sometimes dies with: [ERROR] Can't start server: Bind on TCP/IP port: Address already in use [ERROR] Do you already have another mysqld server running on port: 3306 ? [ERROR] Aborting relevant log is: 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=402653184 read_buffer_size=2093056 max_used_connections=3 max_connections=100 threads_connected=2 It is possible that mysqld could use up to key_buffer_size + (read_buffer_size + sort_buffer_size)*max_connections = 802415 K bytes of memory Hope that's ok; if not, decrease some variables in the equation. thd=0x952cd40 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=0xbe3ff328, backtrace may not be correct. Stack range sanity check OK, backtrace follows: 0x808ed97 0x82f348a 0x80e1a59 0x80b87b8 0x808517a 0x808e977 0x809c2d0 0x82f0c27 0x831fc9a New value of fp=(nil) failed sanity check, terminating stack trace! Please read HYPERLINK http://dev.mysql.com/doc/mysql/en/Using_stack_trace.html http://dev.mysql.com/doc/mysql/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 Trying to get some variables. Some pointers may be invalid and cause the dump to abort... thd->query at (nil) is invalid pointer thd->thread_id=18 The manual page at HYPERLINK http://www.mysql.com/doc/en/Crashing.html 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 050328 15:07:27 mysqld restarted 050328 15:07:28 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... 050328 15:07:28 InnoDB: Starting log scan based on checkpoint at InnoDB: log sequence number 15 2363300476. InnoDB: Doing recovery: scanned up to log sequence number 15 2363307777 050328 15:07:28 InnoDB: Starting an apply batch of log records to the database... InnoDB: Progress in percents: 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: Last MySQL binlog file position 0 90221, file name ./performdb-1-bin.000107 050328 15:07:29 InnoDB: Flushing modified pages from the buffer pool... 050328 15:07:29 InnoDB: Started; log sequence number 15 2363307777 /data/mysql-4.1.10/libexec/mysqld: ready for connections. Version: '4.1.10-log' socket: '/tmp/mysql.sock' port: 3306 Source distribution Performed stack trace on all recent crashes with same results for each: 0x808ed97 handle_segfault + 423 0x82f348a pthread_sighandler + 162 0x80e1a59 write__9MYSQL_LOGP9Log_event + 1817 0x80b87b8 close_temporary_tables__FP3THD + 248 0x808517a cleanup__3THD + 106 0x808e977 end_thread__FP3THDb + 23 0x809c2d0 handle_one_connection + 928 0x82f0c27 pthread_start_thread + 171 0x831fc9a thread_start + 4 Anyone have an idea as the the meaning of the trace? Any help greatly appreciated. What other information can I provide? Thinking of trying standard binaries .... Thanks, Tate Classification: UNCLASSIFIED Caveats: NONE