Uploaded image for project: 'Percona XtraDB Cluster'
  1. Percona XtraDB Cluster
  2. PXC-1007

LP #1327763: Random crash on the same node

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Done
    • Priority: High
    • Resolution: Done
    • Affects Version/s: None
    • Fix Version/s: None
    • Component/s: None
    • Labels:

      Description

      **Reported in Launchpad by dannie last update 20-05-2016 14:41:57

      This is the third time the same node crashes.

      First 2 times were consistent at 2am, I then upgraded from Ubuntu Precise to Trusty to see if that would change anything, and now I'm running with a compiled version of Xtradb Cluster 5.6.17-65.0 on both servers (third is a garbd instance).

      Memory does not seem to be an issue http://puu.sh/9kaaQ/c0061882d1.png
      Total memory 16GB.
      innodb_buffer_pool_size = 8G

      2014-06-08 13:03:19 27080 [Warning] WSREP: BF applier failed to open_and_lock_tables: 1615, fatal: 0 wsrep = (exec_mode: 1 conflict_state: 5 seqno: 10486174)
      2014-06-08 13:03:19 27080 [Warning] WSREP: RBR event 3 Update_rows apply warning: 1615, 10486174
      2014-06-08 13:03:19 27080 [Warning] WSREP: Failed to apply app buffer: seqno: 10486174, status: 1
      at galera/src/trx_handle.cpp:apply():340
      Retrying 2th time
      2014-06-08 13:03:19 27080 [Warning] WSREP: BF applier failed to open_and_lock_tables: 1615, fatal: 0 wsrep = (exec_mode: 1 conflict_state: 5 seqno: 10486174)
      2014-06-08 13:03:19 27080 [Warning] WSREP: RBR event 3 Update_rows apply warning: 1615, 10486174
      2014-06-08 13:03:19 27080 [Warning] WSREP: Failed to apply app buffer: seqno: 10486174, status: 1
      at galera/src/trx_handle.cpp:apply():340
      Retrying 3th time
      2014-06-08 13:03:19 27080 [Warning] WSREP: BF applier failed to open_and_lock_tables: 1615, fatal: 0 wsrep = (exec_mode: 1 conflict_state: 5 seqno: 10486174)
      2014-06-08 13:03:19 27080 [Warning] WSREP: RBR event 3 Update_rows apply warning: 1615, 10486174
      2014-06-08 13:03:19 27080 [Warning] WSREP: Failed to apply app buffer: seqno: 10486174, status: 1
      at galera/src/trx_handle.cpp:apply():340
      Retrying 4th time
      2014-06-08 13:03:19 27080 [Warning] WSREP: BF applier failed to open_and_lock_tables: 1615, fatal: 0 wsrep = (exec_mode: 1 conflict_state: 5 seqno: 10486174)
      2014-06-08 13:03:19 27080 [Warning] WSREP: RBR event 3 Update_rows apply warning: 1615, 10486174
      2014-06-08 13:03:19 27080 [Warning] WSREP: failed to replay trx: source: 8739bc85-ec9d-11e3-86e7-6b013cd9f468 version: 3 local: 1 state: REPLAYING flags: 1 conn_id: 746343 trx_id: 4385353381 seqnos (l: 2978809, g: 10486174, s: 10486166,
      2014-06-08 13:03:19 27080 [Warning] WSREP: Failed to apply trx 10486174 4 times
      2014-06-08 13:03:19 27080 [ERROR] WSREP: trx_replay failed for: 6, query: void
      2014-06-08 13:03:19 27080 [ERROR] Aborting

      2014-06-08 13:03:21 27080 [Note] WSREP: killing local connection: 746345
      2014-06-08 13:03:21 27080 [Note] WSREP: killing local connection: 746348
      2014-06-08 13:03:21 27080 [Note] WSREP: killing local connection: 746349
      2014-06-08 13:03:21 27080 [Note] WSREP: Closing send monitor...
      2014-06-08 13:03:21 27080 [Note] WSREP: Closed send monitor.
      2014-06-08 13:03:21 27080 [Note] WSREP: gcomm: terminating thread
      2014-06-08 13:03:21 27080 [Note] WSREP: gcomm: joining thread
      2014-06-08 13:03:21 27080 [Note] WSREP: gcomm: closing backend
      2014-06-08 13:03:22 27080 [Note] WSREP: view(view_id(NON_PRIM,04544223-ed52-11e3-b428-eebb72a5cca2,50) memb {
      8739bc85-ec9d-11e3-86e7-6b013cd9f468,0
      } joined {
      } left {
      } partitioned {
      04544223-ed52-11e3-b428-eebb72a5cca2,0
      09f6ccfa-e9c8-11e3-a608-6eeac628a08a,0
      })
      2014-06-08 13:03:22 27080 [Note] WSREP: view((empty))
      2014-06-08 13:03:22 27080 [Note] WSREP: New COMPONENT: primary = no, bootstrap = no, my_idx = 0, memb_num = 1
      2014-06-08 13:03:22 27080 [Note] WSREP: gcomm: closed
      2014-06-08 13:03:22 27080 [Note] WSREP: Flow-control interval: [16, 16]
      2014-06-08 13:03:22 27080 [Note] WSREP: Received NON-PRIMARY.
      2014-06-08 13:03:22 27080 [Note] WSREP: Shifting SYNCED -> OPEN (TO: 10486223)
      2014-06-08 13:03:22 27080 [Note] WSREP: Received self-leave message.
      2014-06-08 13:03:22 27080 [Note] WSREP: Flow-control interval: [0, 0]
      2014-06-08 13:03:22 27080 [Note] WSREP: Received SELF-LEAVE. Closing connection.
      2014-06-08 13:03:22 27080 [Note] WSREP: Shifting OPEN -> CLOSED (TO: 10486223)
      2014-06-08 13:03:22 27080 [Note] WSREP: RECV thread exiting 0: Success
      2014-06-08 13:03:22 27080 [Note] WSREP: recv_thread() joined.
      2014-06-08 13:03:22 27080 [Note] WSREP: Closing replication queue.
      2014-06-08 13:03:22 27080 [Note] WSREP: Closing slave action queue.
      2014-06-08 13:03:22 27080 [Note] WSREP: Service disconnected.
      2014-06-08 13:03:22 27080 [Note] WSREP: rollbacker thread exiting
      2014-06-08 13:03:23 27080 [Note] WSREP: Some threads may fail to exit.
      2014-06-08 13:03:23 27080 [Note] Binlog end
      2014-06-08 13:03:23 27080 [Note] Shutting down plugin 'partition'
      2014-06-08 13:03:23 27080 [Note] Shutting down plugin 'PERFORMANCE_SCHEMA'
      2014-06-08 13:03:23 27080 [Note] Shutting down plugin 'INNODB_CHANGED_PAGES'
      2014-06-08 13:03:23 27080 [Note] Shutting down plugin 'INNODB_SYS_DATAFILES'
      2014-06-08 13:03:23 27080 [Note] Shutting down plugin 'INNODB_SYS_TABLESPACES'
      2014-06-08 13:03:23 27080 [Note] Shutting down plugin 'INNODB_SYS_FOREIGN_COLS'
      2014-06-08 13:03:23 27080 [Note] Shutting down plugin 'INNODB_SYS_FOREIGN'
      2014-06-08 13:03:23 27080 [Note] Shutting down plugin 'INNODB_SYS_FIELDS'
      2014-06-08 13:03:23 27080 [Note] Shutting down plugin 'INNODB_SYS_COLUMNS'
      2014-06-08 13:03:23 27080 [Note] Shutting down plugin 'INNODB_SYS_INDEXES'
      2014-06-08 13:03:23 27080 [Note] Shutting down plugin 'INNODB_SYS_TABLESTATS'
      2014-06-08 13:03:23 27080 [Note] Shutting down plugin 'INNODB_SYS_TABLES'
      2014-06-08 13:03:23 27080 [Note] Shutting down plugin 'INNODB_FT_INDEX_TABLE'
      2014-06-08 13:03:23 27080 [Note] Shutting down plugin 'INNODB_FT_INDEX_CACHE'
      2014-06-08 13:03:23 27080 [Note] Shutting down plugin 'INNODB_FT_CONFIG'
      2014-06-08 13:03:23 27080 [Note] Shutting down plugin 'INNODB_FT_BEING_DELETED'
      2014-06-08 13:03:23 27080 [Note] Shutting down plugin 'INNODB_FT_DELETED'
      2014-06-08 13:03:23 27080 [Note] Shutting down plugin 'INNODB_FT_DEFAULT_STOPWORD'
      2014-06-08 13:03:23 27080 [Note] Shutting down plugin 'INNODB_METRICS'
      2014-06-08 13:03:23 27080 [Note] Shutting down plugin 'INNODB_BUFFER_POOL_STATS'
      2014-06-08 13:03:23 27080 [Note] Shutting down plugin 'INNODB_BUFFER_PAGE_LRU'
      2014-06-08 13:03:23 27080 [Note] Shutting down plugin 'INNODB_BUFFER_PAGE'
      2014-06-08 13:03:23 27080 [Note] Shutting down plugin 'INNODB_CMP_PER_INDEX_RESET'
      2014-06-08 13:03:23 27080 [Note] Shutting down plugin 'INNODB_CMP_PER_INDEX'
      2014-06-08 13:03:23 27080 [Note] Shutting down plugin 'INNODB_CMPMEM_RESET'
      2014-06-08 13:03:23 27080 [Note] Shutting down plugin 'INNODB_CMPMEM'
      2014-06-08 13:03:23 27080 [Note] Shutting down plugin 'INNODB_CMP_RESET'
      2014-06-08 13:03:23 27080 [Note] Shutting down plugin 'INNODB_CMP'
      2014-06-08 13:03:23 27080 [Note] Shutting down plugin 'INNODB_LOCK_WAITS'
      2014-06-08 13:03:23 27080 [Note] Shutting down plugin 'INNODB_LOCKS'
      2014-06-08 13:03:23 27080 [Note] Shutting down plugin 'INNODB_TRX'
      2014-06-08 13:03:23 27080 [Note] Shutting down plugin 'XTRADB_RSEG'
      2014-06-08 13:03:23 27080 [Note] Shutting down plugin 'XTRADB_INTERNAL_HASH_TABLES'
      2014-06-08 13:03:23 27080 [Note] Shutting down plugin 'XTRADB_READ_VIEW'
      2014-06-08 13:03:23 27080 [Note] Shutting down plugin 'InnoDB'
      2014-06-08 13:03:23 27080 [Note] InnoDB: FTS optimize thread exiting.
      2014-06-08 13:03:23 27080 [Note] InnoDB: Starting shutdown...
      11:03:23 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 https://bugs.launchpad.net/percona-xtradb-cluster

      key_buffer_size=12582912
      read_buffer_size=131072
      max_used_connections=68
      max_threads=502
      thread_count=12
      connection_count=12
      It is possible that mysqld could use up to
      key_buffer_size + (read_buffer_size + sort_buffer_size)*max_threads = 212606 K bytes of memory
      Hope that's ok; if not, decrease some variables in the equation.

      Thread pointer: 0x10a04b10
      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 = 7fb778271e20 thread_stack 0x30000
      /usr/local/mysql/bin/mysqld(my_print_stacktrace+0x2c)[0x93b21c]
      /usr/local/mysql/bin/mysqld(handle_fatal_signal+0x35f)[0x6967bf]
      /lib/x86_64-linux-gnu/libpthread.so.0(+0x10340)[0x7fb9e97a9340]
      /usr/local/mysql/bin/mysqld[0x6b716b]
      /usr/local/mysql/bin/mysqld[0x6b8049]
      /usr/local/mysql/bin/mysqld[0x6b831e]
      /usr/local/mysql/bin/mysqld[0x6a9f59]
      /usr/local/mysql/bin/mysqld[0x6a9474]
      /usr/local/mysql/bin/mysqld(_Z16acl_authenticateP3THDj+0x1c3)[0x6bd773]
      /usr/local/mysql/bin/mysqld[0x6eead1]
      /usr/local/mysql/bin/mysqld(_Z16login_connectionP3THD+0x3d)[0x6f008d]
      /usr/local/mysql/bin/mysqld(_Z22thd_prepare_connectionP3THD+0x24)[0x6f0864]
      /usr/local/mysql/bin/mysqld(_Z24do_handle_one_connectionP3THD+0x137)[0x6f0b97]
      /usr/local/mysql/bin/mysqld(handle_one_connection+0x39)[0x6f0de9]
      /usr/local/mysql/bin/mysqld(pfs_spawn_thread+0x140)[0xb9abd0]
      /lib/x86_64-linux-gnu/libpthread.so.0(+0x8182)[0x7fb9e97a1182]
      /lib/x86_64-linux-gnu/libc.so.6(clone+0x6d)[0x7fb9e8cae30d]

      Trying to get some variables.
      Some pointers may be invalid and cause the dump to abort.
      Query (0): is an invalid pointer
      Connection ID (thread ID): 746356
      Status: NOT_KILLED

      You may download the Percona XtraDB Cluster operations manual by visiting
      http://www.percona.com/software/percona-xtradb-cluster/. You may find information
      in the manual which will help you identify the cause of the crash.
      140608 13:03:23 mysqld_safe Number of processes running now: 0
      140608 13:03:23 mysqld_safe WSREP: not restarting wsrep node automatically
      140608 13:03:23 mysqld_safe mysqld from pid file /var/run/mysqld/mysqld.pid ended

        Attachments

          Activity

            People

            Assignee:
            krunal.bauskar Krunal Bauskar (Inactive)
            Reporter:
            lpjirasync lpjirasync (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Dates

              Created:
              Updated:

                Smart Checklist