Bug #13197 NDB needs better error message for not enough memory.
Submitted: 14 Sep 2005 19:08 Modified: 13 Oct 2005 11:20
Reporter: Jonathan Miller Email Updates:
Status: Closed Impact on me:
None 
Category:MySQL Cluster: Cluster (NDB) storage engine Severity:S3 (Non-critical)
Version:4.1 OS:Linux (Linux)
Assigned to: Tomas Ulin CPU Architecture:Any

[14 Sep 2005 19:08] Jonathan Miller
Description:
Was Analyzing http://bugs.mysql.com/bug.php?id=11729 and had set my memory down on the main cluster and restarted. I assume there was not enough memory to recover the atae database, but I am not 100% sure that is the issue due to the error message:

Date/Time: Wednesday 14 September 2005 - 20:56:27
Type of error: error
Message: Internal program error (failed ndbrequire)
Fault ID: 2341
Problem data: DbtupSystemRestart.cpp
Object of reference: DBTUP (Line: 190) 0x0000000a
ProgramName: /home/ndbdev/jmiller/builds/libexec/ndbd
ProcessID: 5746
TraceFile: /space/run/ndb_7_trace.log.1
Version 5.1.2 (a_drop5p4)

How to repeat:
Create large database:
change config.ini for a much low amount of memory
try to restart cluster

Suggested fix:
Date/Time: Wednesday 14 September 2005 - 20:56:27
Type of error: error
Message: Not enough memory <----- would be better 
Fault ID: 2341
Problem data: DbtupSystemRestart.cpp
Object of reference: DBTUP (Line: 190) 0x0000000a
ProgramName: /home/ndbdev/jmiller/builds/libexec/ndbd
ProcessID: 5746
TraceFile: /space/run/ndb_7_trace.log.1
Version 5.1.2 (a_drop5p4)
[3 Oct 2005 16:44] Bugs System
A patch for this bug has been committed. After review, it may
be pushed to the relevant source trees for release in the next
version. You can access the patch from:

  http://lists.mysql.com/internals/30649
[3 Oct 2005 16:45] Tomas Ulin
Added the following error messages

Time: Monday 3 October 2005 - 20:32:31
Status: Permanent error, external action needed
Message: Out of data memory during system restart (Configuration error)
Error: 6800
Error data: DbtupSystemRestart.cpp
Error object: DBTUP (Line: 190) 0x0000000a
Program: /home/tomas/mysql-5.0/ndb/src/kernel/ndbd
Pid: 1027
Trace: /home/tomas/mysql-5.0/mysql-test/ndbcluster-1186/ndb_2_trace.log.2
Version: Version 5.0.15 (rc)

Time: Monday 3 October 2005 - 20:42:08
Status: Permanent error, external action needed
Message: Out of index memory during system restart (Configuration error)
Error: 6600
Error data: DbaccMain.cpp
Error object: DBACC (Line: 8161) 0x0000000a
Program: /home/tomas/mysql-5.0/ndb/src/kernel/ndbd
Pid: 12107
Trace: /home/tomas/mysql-5.0/mysql-test/ndbcluster-1186/ndb_2_trace.log.4
Version: Version 5.0.15 (rc)
[10 Oct 2005 6:09] Tomas Ulin
Bug #13197, Bug #11749, Bug #12786, Bug #11739

New and improved Error messages from 5.0.15.  Error messages not updated in 4.1.
[13 Oct 2005 11:20] Jon Stephens
Thank you for your bug report. This issue has been committed to our
source repository of that product and will be incorporated into the
next release.

If necessary, you can access the source repository and build the latest
available version, including the bugfix, yourself. More information 
about accessing the source trees is available at
    http://www.mysql.com/doc/en/Installing_source_tree.html

Additional info:

Documented in 5.0.15 changelog. Closed.