Help answer threads with 0 replies.
Go Back > Forums > Linux Forums > Linux - Software
User Name
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.


  Search this Thread
Old 04-19-2005, 10:27 AM   #1
Registered: Jan 2004
Distribution: Fedora & Debian
Posts: 43

Rep: Reputation: 15
MySQL Innodb troubles


I'm running MySQL 3.23.xx on a server about 10 months without a problem, but today the service just stopped. I looked in the mysql.log and noticed that the service tried to restart itself without any user intervened
Then i tried to start the service again, but it failed becaus mysql could not bind to /var/lib/mysql/mysql.sock. After two attempts to start the service i get a useful entry in the mysql.log:
050419 14:16:23  mysqld started
InnoDB: Fatal error: cannot allocate 367017984 bytes of
InnoDB: memory with malloc! Total allocated memory
InnoDB: by InnoDB 25282872 bytes. Operating system errno: 12
InnoDB: Cannot continue operation!
InnoDB: Check if you should increase the swap file or
InnoDB: ulimits of your operating system.
InnoDB: On FreeBSD check you have compiled the OS with
InnoDB: a big enough maximum process size.
InnoDB: We now intentionally generate a seg fault so that
InnoDB: on Linux we get a stack trace.
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

It is possible that mysqld could use up to
key_buffer_size + (record_buffer + sort_buffer)*max_connections = 1096188 K
bytes of memory
Hope that's ok, if not, decrease some variables in the equation

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...
Bogus stack limit or frame pointer, fp=0xbff00e0c, stack_bottom=0x3020100, thread_stack=65536, aborting backtrace.
Trying to get some variables.
Some pointers may be invalid and cause the dump to abort...
thd->query at 0x7f8e7f90  is invalid pointer

Successfully dumped variables, if you ran with --log, take a look at the
details of what thread 0 did to cause the crash.  In some cases of really
bad corruption, the values shown above may be invalid

The manual page at contains
information that should help you find out what is causing the crash
050419 14:16:25  mysqld ended
I remembered when i setup mysql on the server i configured also mysql to use InnoDB, but never used it.
The values in my.cnf are:
innodb_data_file_path = ibdata1:50M:autoextend
set-variable = innodb_buffer_pool_size=350M
set-variable = innodb_additional_mem_pool_size=20M

For a quick solution i added skip-innodb to my.cnf and the mysql service went back online
But i want to know what happened so i can avoid such downtime.
BTW, the ibdata1 has exectly 50M now. Has the ibdata1 reached the maximum file size or was it created with 50M the first time i started mysql with innodb values?

Thank you in advance!
Old 04-20-2005, 09:01 AM   #2
Registered: Jan 2004
Distribution: Fedora & Debian
Posts: 43

Original Poster
Rep: Reputation: 15
Is nobody familiar with mysql who could help me?


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off

Similar Threads
Thread Thread Starter Forum Replies Last Post
MySQL & InnoDB riluve Linux - Software 0 03-13-2005 09:19 PM
Help mysql innodb recovery from .frm pig.2003 SUSE / openSUSE 0 11-10-2004 03:25 AM
Help mysql innodb recovery from .frm pig.2003 Linux - Software 0 11-10-2004 02:35 AM
mysql troubles! cav Slackware 2 02-07-2004 03:25 AM
InnoDB problem with MySQL jerry_redhat Linux - Software 2 07-09-2003 12:20 AM > Forums > Linux Forums > Linux - Software

All times are GMT -5. The time now is 09:29 PM.

Main Menu
Write for LQ is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration