# All nodes in cluster failed.

**URL:** <https://forums.percona.com/t/all-nodes-in-cluster-failed/3277>\
**Category:** Percona XtraDB Cluster 5.x\
**Created:** [February 14, 2014, 7:54am UTC](https://forums.percona.com/t/all-nodes-in-cluster-failed/3277 "2014-02-14T07:54:11Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![alecv](https://avatars.discourse-cdn.com/v4/letter/a/6a8cbe/32.png) [@alecv](https://forums.percona.com/u/alecv)\
**Post date:** [February 14, 2014, 7:54am UTC](https://forums.percona.com/t/all-nodes-in-cluster-failed/3277/1 "2014-02-14T07:54:11Z")

</div>

Hello,

Today my cluster with 2 nodes in it unexpectedly went offline. Both nodes were down with following error in error log:

12:07:53 UTC - 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.  
Please help us make Percona XtraDB Cluster better by reporting any  
bugs at [url][https://bugs.launchpad.net/percona-xtradb-cluster[/url]](https://bugs.launchpad.net/percona-xtradb-cluster%5B/url%5D)

key\_buffer\_size=2147483648  
read\_buffer\_size=20971520  
max\_used\_connections=54  
max\_threads=153  
thread\_count=21  
connection\_count=21  
It is possible that mysqld could use up to  
key\_buffer\_size + (read\_buffer\_size + sort\_buffer\_size)\*max\_threads = 8366310 K bytes of memory  
Hope that’s ok; if not, decrease some variables in the equation.

Thread pointer: 0xc1d3db0  
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…  
stack\_bottom = 7fc52c43dd28 thread\_stack 0x40000  
/usr/sbin/mysqld(my\_print\_stacktrace+0x35)[0x901e65]  
/usr/sbin/mysqld(handle\_fatal\_signal+0x4c4)[0x67fc34]  
/lib64/libpthread.so.0(+0xfae0)[0x7fc55a946ae0]  
/usr/lib64/libgalera\_smm.so(\_ZN6galera13Certification10do\_test\_v3EPNS\_9TrxHandleEb+0x1b1)[0x7fc538a4f571]  
/usr/lib64/libgalera\_smm.so(\_ZN6galera13Certification7do\_testEPNS\_9TrxHandleEb+0x36f)[0x7fc538a52d1f]  
/usr/lib64/libgalera\_smm.so(\_ZN6galera13Certification4testEPNS\_9TrxHandleEb+0x28)[0x7fc538a52ee8]  
/usr/lib64/libgalera\_smm.so(\_ZN6galera13Certification10append\_trxEPNS\_9TrxHandleE+0x8a)[0x7fc538a52f8a]  
/usr/lib64/libgalera\_smm.so(\_ZN6galera13ReplicatorSMM4certEPNS\_9TrxHandleE+0x8b)[0x7fc538a7f3fb]  
/usr/lib64/libgalera\_smm.so(\_ZN6galera13ReplicatorSMM10pre\_commitEPNS\_9TrxHandleEP14wsrep\_trx\_meta+0x59)[0x7fc538a7f8d9]  
/usr/lib64/libgalera\_smm.so(galera\_pre\_commit+0x148)[0x7fc538a90728]  
/usr/sbin/mysqld(\_Z22wsrep\_run\_wsrep\_commitP3THDP10handlertonb+0x9a2)[0x7ba0f2]  
/usr/sbin/mysqld[0x7baa83]  
/usr/sbin/mysqld(\_Z14ha\_prepare\_lowP3THDb+0x8c)[0x5c37bc]  
/usr/sbin/mysqld(\_Z15ha\_commit\_transP3THDbb+0x27c)[0x5c50dc]  
/usr/sbin/mysqld(\_Z12trans\_commitP3THD+0x49)[0x79ff59]  
/usr/sbin/mysqld(\_Z21mysql\_execute\_commandP3THD+0x3571)[0x7045a1]  
/usr/sbin/mysqld(\_Z11mysql\_parseP3THDPcjP12Parser\_state+0x608)[0x7072e8]  
/usr/sbin/mysqld[0x707411]  
/usr/sbin/mysqld(\_Z16dispatch\_command19enum\_server\_commandP3THDPcj+0x1ad4)[0x709694]  
/usr/sbin/mysqld(\_Z10do\_commandP3THD+0x1e3)[0x70aa63]  
/usr/sbin/mysqld(\_Z24do\_handle\_one\_connectionP3THD+0x17f)[0x6d430f]  
/usr/sbin/mysqld(handle\_one\_connection+0x47)[0x6d44e7]  
/usr/sbin/mysqld(pfs\_spawn\_thread+0x12a)[0xb3b63a]  
/lib64/libpthread.so.0(+0x7ddb)[0x7fc55a93eddb]  
/lib64/libc.so.6(clone+0x6d)[0x7fc55907ca1d]

Trying to get some variables.  
Some pointers may be invalid and cause the dump to abort.  
Query (7fc2e803b660): is an invalid pointer  
Connection ID (thread ID): 9004  
Status: NOT\_KILLED

You may download the Percona XtraDB Cluster operations manual by visiting  
[url][http://www.percona.com/software/percona-xtradb-cluster/[/url]](http://www.percona.com/software/percona-xtradb-cluster/%5B/url%5D). You may find information  
in the manual which will help you identify the cause of the crash.  
140214 12:07:54 mysqld\_safe Number of processes running now: 0  
140214 12:07:54 mysqld\_safe WSREP: not restarting wsrep node automatically  
140214 12:07:54 mysqld\_safe mysqld from pid file /var/lib/mysql/ip-10-1-7-144.pid ended

datadir=/var/lib/mysql  
user=mysql  
wsrep\_provider=/usr/lib64/libgalera\_smm.so  
wsrep\_cluster\_address=gcomm://10.1.7.144,10.1.8.218  
binlog\_format=ROW  
default\_storage\_engine=InnoDB  
innodb\_locks\_unsafe\_for\_binlog=1  
innodb\_buffer\_pool\_size=6G  
key\_buffer\_size = 2048M  
max\_allowed\_packet = 50M  
table\_open\_cache = 1024  
sort\_buffer\_size = 20M  
read\_buffer\_size = 20M  
read\_rnd\_buffer\_size = 80M  
myisam\_sort\_buffer\_size = 64M  
thread\_cache\_size = 32  
query\_cache\_size = 32M  
thread\_concurrency = 4  
innodb\_flush\_method=O\_DIRECT  
innodb\_log\_file\_size=1G  
innodb\_buffer\_pool\_size=6G  
innodb\_autoinc\_lock\_mode=2  
wsrep\_node\_address=10.1.7.144  
wsrep\_sst\_method=xtrabackup  
wsrep\_cluster\_name=my\_centos\_cluster  
wsrep\_sst\_auth=“sstuser:s3cret”  
[mysql]  
prompt=\u@\h [\d]\>\_

This is weird that both nodes went offline, can someone suggest how to avoid this in future please?

---

<div class="post-metadata">

**Author:** ![madhusudan](https://avatars.discourse-cdn.com/v4/letter/m/76d3ee/32.png) [@madhusudan](https://forums.percona.com/u/madhusudan)\
**Post date:** [February 17, 2014, 2:14am UTC](https://forums.percona.com/t/all-nodes-in-cluster-failed/3277/2 "2014-02-17T02:14:20Z")

</div>

There could be many causes for this type of problem!, make sure you are not setting higher values that could run out of resources like (memory,disk space etc…).

In your above config u have specified [COLOR=#252C2F]

for more info u can go through below links. (see if altering the values could do any better…)  
[url][http://www.mysqlperformanceblog.com/2007/11/01/innodb-performance-optimization-basics/[/url]](http://www.mysqlperformanceblog.com/2007/11/01/innodb-performance-optimization-basics/%5B/url%5D)  
[url][http://www.mysqlperformanceblog.com/2007/11/03/choosing-innodb\_buffer\_pool\_size/[/url]](http://www.mysqlperformanceblog.com/2007/11/03/choosing-innodb_buffer_pool_size/%5B/url%5D)

---

<div class="post-metadata">

**Author:** ![alecv](https://avatars.discourse-cdn.com/v4/letter/a/6a8cbe/32.png) [@alecv](https://forums.percona.com/u/alecv)\
**Post date:** [February 17, 2014, 5:21am UTC](https://forums.percona.com/t/all-nodes-in-cluster-failed/3277/3 "2014-02-17T05:21:11Z")

</div>

Thank you for your response, will check these links. As for [COLOR=#252C2F]
