We're running MySQL version 4.1.12 on Fedora Core 3 64-bit.  we've
been crashing; here is a mysqld.err file from one crash:

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=335544320
read_buffer_size=131072
max_used_connections=2049
max_connections=2048
threads_connected=371
It is possible that mysqld could use up to
key_buffer_size + (read_buffer_size +
sort_buffer_size)*max_connections = 4784112 K
bytes of memory
Hope that's ok; if not, decrease some variables in the equation.

060108 14:43:07  InnoDB: Database was not shut down normally!
InnoDB: Starting crash recovery.
[InnoDB crash recovery elided]
-----------------------------------------
We have 6G of memory on the server, and we checked -- we're not
running out of memory.

I'm guessing that mysqld crashed because of that 2049th connection --
shouldn't it just refuse the connection, not crash?

The variables in the mysqld.err match the /etc/my.cnf:

[mysqld]
old-passwords
tmpdir                  = /tmp/
datadir                 = /var/lib/mysql
socket                  = /var/lib/mysql/mysql.sock
port                    = 3306
key_buffer              = 320M
max_allowed_packet      = 16M
table_cache             = 1024
thread_cache            = 80
ft_min_word_len         = 3

# Use this to prevent access via TCP/IP
# skip_networking

# Query Cache Settings - OFF due to overload of Session table
query_cache_size = 32M
query_cache_type = 2

# Log queries taking longer than "long_query_time" seconds
long_query_time = 4
log-slow-queries = /var/lib/mysql/slow-queries.log
log-error = /var/lib/mysql/mysqld.err

# Try number of CPU's*2 for thread_concurrency
thread_concurrency = 12

interactive_timeout = 28800
wait_timeout = 30

# when you change this recalculate total possible mysqld memory usage!!
# key_buffer_size + (read_buffer_size + sort_buffer_size)*max_connections

max_connections         = 2048
max_connect_errors      = 128
# Replication Master Server (default)
# binary logging is required for replication
log-bin
server-id       = 15
max_binlog_size = 2G

# InnoDB tables
innodb_data_home_dir = /var/lib/mysql/
innodb_data_file_path = ibdata1:3G;ibdata2:3G;
innodb_log_group_home_dir = /var/lib/mysql/
innodb_log_arch_dir = /var/lib/mysql/
innodb_buffer_pool_size = 4G
innodb_additional_mem_pool_size = 40M
innodb_log_file_size = 160M
innodb_log_buffer_size = 80M
innodb_flush_log_at_trx_commit = 0
innodb_lock_wait_timeout = 50
innodb_thread_concurrency = 8
innodb_file_io_threads = 4
--------------------------------------------------------------------------------

Any help is appreciated.  We've been crashing around the same time
every day, our busiest time of day.

-Sheeri

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

Reply via email to