Bug #22961 mysqld crashes
Submitted: 3 Oct 2006 20:18 Modified: 23 Dec 2006 16:49
Reporter: Martin Bündgens Email Updates:
Status: No Feedback Impact on me:
None 
Category:MySQL Server Severity:S1 (Critical)
Version:5.0.24a OS:Linux (Ubuntu 6.0.6 (64Bit))
Assigned to: CPU Architecture:Any

[3 Oct 2006 20:18] Martin Bündgens
Description:
All, i know is, that the system crashs very often.

Screenshot:
http://www.animemanga.de/mysql.jpg

No real mysql error output. Hopefully somebody can use the Screenshot.

How to repeat:
Reason unknown.
[3 Oct 2006 20:24] MySQL Verification Team
Hi Martin, please post complete mysqld error log, which should be in the datadir with a .err extension.
[3 Oct 2006 20:30] Martin Bündgens
That won`t help alot. Here it 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=33554432
read_buffer_size=131072
max_used_connections=162
max_connections=350
threads_connected=13
It is possible that mysqld could use up to
key_buffer_size + (read_buffer_size + sort_buffer_size)*max_connections = 435965 K
bytes of memory
Hope that's ok; if not, decrease some variables in the equation.

That is a 4GB RAM Server.
[4 Oct 2006 11:51] Valeriy Kravchuk
Please, send your my.cnf content and the results of:

free
file mysqld

Linux commands.
[4 Oct 2006 13:51] Martin Bündgens
# The MySQL database server configuration file.
#
# You can copy this to one of:
# - "/etc/mysql/my.cnf" to set global options,
# - "/var/lib/mysql/my.cnf" to set server-specific options or
# - "~/.my.cnf" to set user-specific options.
#
# One can use all long options that the program supports.
# Run program with --help to get a list of available options and with
# --print-defaults to see which it would actually understand and use.
#
# For explanations see
# http://dev.mysql.com/doc/mysql/en/server-system-variables.html

# This will be passed to all mysql clients
# It has been reported that passwords should be enclosed with ticks/quotes
# escpecially if they contain "#" chars...
# Remember to edit /etc/mysql/debian.cnf when changing the socket location.
[client]
port            = 3306
socket          = /var/run/mysqld/mysqld.sock

# Here is entries for some specific programs
# The following values assume you have at least 32M ram

# This was formally known as [safe_mysqld]. Both versions are currently parsed.
[mysqld_safe]
socket                  = /var/run/mysqld/mysqld.sock
nice                    = -5
open_files_limit        = 8192

[mysqld]
#
# * Basic Settings
#
user            = mysql
pid-file        = /var/run/mysqld/mysqld.pid
socket          = /var/run/mysqld/mysqld.sock
port            = 3306
#basedir        = /usr
datadir         = /var/lib/mysql
tmpdir          = /tmp
#language       = /usr/share/mysql/english
skip-external-locking
#
# For compatibility to other Debian packages that still use
# libmysqlclient10 and libmysqlclient12.
old_passwords   = 1
#
# Instead of skip-networking the default is now to listen only on
# localhost which is more compatible and is not less secure.
#bind-address           = 127.0.0.1
#
# * Fine Tuning
#
safe-show-database
back_log                = 75
skip-innodb
skip-bdb
skip-name-resolve
max_connections         = 600
max_user_connections    = 150
key_buffer              = 16M
myisam_sort_buffer_size = 64M
join_buffer_size        = 1M
read_buffer_size        = 1M
sort_buffer_size        = 1M
bulk_insert_buffer_size = 8M
table_cache             = 1800
thread_cache_size       = 128
#tmp_table_size         = 64M
wait_timeout            = 60
connect_timeout         = 10
max_allowed_packet      = 64M
max_connect_errors      = 10000
# thread_concurrency    = 2
query_cache_limit       = 3M
query_cache_size        = 64M
query_cache_type        = 1
query_prealloc_size     = 16384
query_alloc_block_size  = 32768

long_query_time         = 30
log-slow-queries        = /var/log/mysql/mysql-slow.log

default-storage-engine  = MyISAM

[mysqldump]
quick
max_allowed_packet      = 64M

[mysql]
#no-auto-rehash # faster start of mysql but no tab completition

[myisamchk]
key_buffer              = 64M
sort_buffer             = 64M
read_buffer             = 16M
write_buffer            = 16M
[4 Oct 2006 13:59] Martin Bündgens
total       used       free     shared    buffers     cached
Mem:       2027728    2011860      15868          0     103964    1564752
-/+ buffers/cache:     343144    1684584
Swap:      3903672        132    3903540

(that`s from another MySQL Server; all crashed..) Looks perfectly fine.

File:
mysqld: ELF 64-bit LSB executable, AMD x86-64, version 1 (SYSV), for GNU/Linux 2.6.0, dynamically linked (uses shared libs), for GNU/Linux 2.6.0, not stripped
[23 Nov 2006 16:49] Valeriy Kravchuk
Please, try to repeat with a newer version of MySQL server, 5.0.27 (MySQL binaries). In case of similar crashes, please, check if there is any core file created, and, once again, send complete error log.
[24 Dec 2006 0:00] Bugs System
No feedback was provided for this bug for over a month, so it is
being suspended automatically. If you are able to provide the
information that was originally requested, please do so and change
the status of the bug back to "Open".