Comment 3 for bug 797396

Revision history for this message
Vadim Tkachenko (vadim-tk) wrote :

I still have this problem using revision 3099

110714 19:21:59 [Note] [DEBUG] WSREP: Prepared SST request: xtrabackup|192.168.0.99/xtrabackup_sst
110714 19:21:59 [Warning] WSREP: wsrep_notify_cmd is not defined, skipping notification.
110714 19:21:59 [Note] WSREP: Assign initial position for certification: 67681588, protocol version: 1
110714 19:21:59 [Note] WSREP: State transfer required:
        Group state: 8d0cd8e8-ab08-11e0-0800-bfeb931854e6:67681588
        Local state: 00000000-0000-0000-0000-000000000000:-1
110714 19:21:59 [Note] WSREP: Node 0 (cisco.office.percona.com) requested state transfer from '*any*'. Selected 1 (r815.office.percona.com)(SYNCED) as donor.
110714 19:21:59 [Note] WSREP: Shifting PRIMARY -> JOINER (TO: 67681588)
110714 19:21:59 [Note] WSREP: Requesting state transfer: success, donor: 1
110714 19:21:59 [Warning] WSREP: 1 (r815.office.percona.com): State transfer to 0 (cisco.office.percona.com) failed: -12 (Cannot allocate memory)
110714 19:21:59 [ERROR] WSREP: gcs/src/gcs_group.c:gcs_group_handle_join_msg():645: Will never receive state. Need to abort.
110714 19:21:59 [Note] WSREP: gcomm: terminating thread
110714 19:21:59 [Note] WSREP: gcomm: joining thread
110714 19:21:59 [Note] WSREP: gcomm: closing backend
110714 19:22:00 [Note] WSREP: evs::proto(360eb770-ae89-11e0-0800-bbd6923083d1, LEAVING, view_id(REG,360eb770-ae89-11e0-0800-bbd6923083d1,18)) uuid ce90c4f4-ae2f-11e0-0800-d841c420f3bf missing from install message, assuming partitioned
110714 19:22:00 [Note] WSREP: GMCast::handle_stable_view: view(view_id(NON_PRIM,360eb770-ae89-11e0-0800-bbd6923083d1,18) memb {
        360eb770-ae89-11e0-0800-bbd6923083d1,
} joined {
} left {
} partitioned {
        ce90c4f4-ae2f-11e0-0800-d841c420f3bf,
})
110714 19:22:00 [Note] WSREP: GMCast::handle_stable_view: view((empty))
110714 19:22:00 [Note] WSREP: gcomm: closed
110714 19:22:00 [Note] WSREP: libexec/mysqld: Terminated.
Aborted (core dumped)

then next start:

110714 19:25:13 [Note] WSREP: wsrep_load(): loading provider library '/data/opt/data/vadim/src/galera/libgalera_smm.so'
110714 19:25:13 [Note] WSREP: wsrep_load(): Galera 0.8.1 by Codership Oy <email address hidden> loaded succesfully.
110714 19:25:13 [Note] WSREP: Passing config to GCS: gcs.fc_debug = 0; gcs.fc_factor = 0.5; gcs.fc_limit = 16; gcs.fc_master_slave = NO; gcs.max_packet_size = 64500; gcs.max_throttle = 0.25; gcs.recv_q_hard_limit = 9223372036854775807; gcs.recv_q_soft_limit = 0.25; replicator.commit_order = 3
110714 19:25:13 [Note] WSREP: wsrep_sst_grab()
110714 19:25:13 [Note] WSREP: Start replication
110714 19:25:13 [Note] WSREP: Found saved state: 00000000-0000-0000-0000-000000000000:-1
110714 19:25:13 [Note] WSREP: Assign initial position for certification: -1, protocol version: 1
110714 19:25:13 [Note] WSREP: Setting initial position to 00000000-0000-0000-0000-000000000000:-1
110714 19:25:13 [Note] WSREP: protonet asio version 0
110714 19:25:13 [Note] WSREP: backend: asio
110714 19:25:13 [Note] WSREP: GMCast version 0
110714 19:25:13 [Note] WSREP: (ab7a341f-ae89-11e0-0800-fd6780d48ba3, 'tcp://0.0.0.0:4567') listening at tcp://0.0.0.0:4567
110714 19:25:13 [Note] WSREP: (ab7a341f-ae89-11e0-0800-fd6780d48ba3, 'tcp://0.0.0.0:4567') multicast: , ttl: 1
110714 19:25:13 [Note] WSREP: EVS version 0
110714 19:25:13 [Note] WSREP: PC version 0
110714 19:25:13 [Note] WSREP: gcomm: connecting to group 'big_monkey', peer '192.168.0.89:'
110714 19:25:13 [ERROR] WSREP: Address already in use
110714 19:25:13 [ERROR] WSREP: wsrep::connect() failed: 6
110714 19:25:13 [ERROR] Aborting

110714 19:25:13 [Note] WSREP: Service disconnected.
110714 19:25:14 [Note] WSREP: Some threads may fail to exit.
110714 19:25:14 [Note] libexec/mysqld: Shutdown complete

And I also I guess
-12 (Cannot allocate memory)
is also not real "Cannot allocate memory",

but I would like to see what is cause of this error.