List:Cluster« Previous MessageNext Message »
From:Jim Hoadley Date:May 3 2005 1:45am
Subject:failed ndbrequire -- reason?
View as plain text  
After running for many days, my cluster crashed this 
afternoon. Can someone help me understand the reason?

Any help would be greatly appreciated.

This was the sequence of events. Node 1 crashed while I
was logged in with the mysql client. I restarted node 1,
then both node 1 and node 3 (both on the same host) crashed.
I restarted nodes 1 and 3 successfully and they're still running.

Here's what the error log for node1 says. Node 3 did not 
have an error log. Please let me know which lines from the 
trace logs are relevant and I'll post theose too.

   Date/Time: Monday 2 May 2005 - 17:49:05
   Type of error: error
   Message: Internal program error (failed ndbrequire)
   Fault ID: 2341
   Problem data: DbtcMain.cpp
   Object of reference: DBTC (Line: 12251) 0x0000000a
   ProgramName: ndbd
   ProcessID: 3669
   TraceFile: /usr/local/mysql/ndb_1_trace.log.2

   Date/Time: Monday 2 May 2005 - 17:52:14
   Type of error: error
   Message: Node failed during system restart
   Fault ID: 2308
   Problem data: Unhandled node failure of started node during restart
   Object of reference: NDBCNTR (Line: 1417) 0x0000000a
   ProgramName: ndbd
   ProcessID: 13585
   TraceFile: /usr/local/mysql/ndb_1_trace.log.3

These are my specs.

3-host cluster:

   host1 = node [1], node [3], API [6]
   host2 = node [2], node [4], API [7]
   host3 = mgm [5]

Each host has 6GB RAM and 2 3.6G Xeons
RedHat Enterprise Linux 3 with hugemem kernel
2.4.21-27.0.4.ELhugemem #1 SMP

Here's my config.ini:

   [ndbd default]
   NoOfReplicas= 2
   DataMemory= 1900M
   IndexMemory= 400M
   Diskless= 0
   DataDir= /var/mysql-cluster
   NoOfDiskPagesToDiskAfterRestartTUP=54   #40
   NoOfDiskPagesToDiskAfterRestartACC=8    #20
   MaxNoOfAttributes = 2000                #1000
   MaxNoOfOrderedIndexes = 5000            #128
   MaxNoOfUniqueHashIndexes = 5000         #64

   PortNumber= 2200
   [tcp default]
   PortNumber= 2202

And show:

   ndb_mgm> show
   Connected to Management Server at:
   Cluster Configuration
   [ndbd(NDB)]     4 node(s)
   id=1    @  (Version: 4.1.11, Nodegroup: 0)
   id=2    @  (Version: 4.1.11, Nodegroup: 0, Master)
   id=3    @  (Version: 4.1.11, Nodegroup: 1)
   id=4    @  (Version: 4.1.11, Nodegroup: 1)
   [ndb_mgmd(MGM)] 1 node(s)
   id=5    @  (Version: 4.1.11)
   [mysqld(API)]   2 node(s)
   id=6    @  (Version: 4.1.11)
   id=7    @  (Version: 4.1.11)

Thanks in advance.

-- Jim

Do You Yahoo!?
Tired of spam?  Yahoo! Mail has the best spam protection around 
failed ndbrequire -- reason?Jim Hoadley3 May
Re: failed ndbrequire -- reason?Jim Hoadley3 May
  • Re: failed ndbrequire -- reason?Jonas Oreland4 May
    • RAIDLeonard Cremer4 May
Re: RAIDMikael Ronström4 May
  • Re: RAIDSimon Garner5 May
    • Re: RAIDMikael Ronström5 May
    • Re: RAIDpekka6 May
Re: RAIDClint Byrum4 May
  • Re: RAIDMikael Ronström5 May