Not full cleanup at crash
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
MySQL patches by Codership |
Fix Released
|
Medium
|
Alex Yurchenko | ||
codership-maria |
Fix Committed
|
Medium
|
Alex Yurchenko |
Bug Description
When JOINER crashes during rsync process , it does not kills bash and rsync, so they stay in memory.
This is netstat -anp I see after crash:
netstat -anp | grep -P "(bash|rsync)"
tcp 0 0 0.0.0.0:4567 0.0.0.0:* LISTEN 1776/bash
tcp 0 0 0.0.0.0:4444 0.0.0.0:* LISTEN 1793/rsync
tcp 0 0 10.11.12.220:44326 10.11.12.234:4567 CLOSE_WAIT 1776/bash
tcp 0 0 :::4444 :::* LISTEN 1793/rsync
unix 2 [ ] DGRAM 401833 1793/rsync
With these processes I can't start node, it complains "address is in use"
There is more log how I've got crash:
110614 12:54:00 [Note] WSREP: Requesting state transfer: success, donor: 1
110614 12:54:00 [Warning] WSREP: 1 (localhost.
110614 12:54:00 [ERROR] WSREP: gcs/src/
110614 12:54:00 [Note] WSREP: gcomm: terminating thread
110614 12:54:00 [Note] WSREP: gcomm: joining thread
110614 12:54:00 [Note] WSREP: gcomm: closing backend
110614 12:54:00 [Note] WSREP: evs::proto(
110614 12:54:00 [Note] WSREP: GMCast:
} joined {
} left {
} partitioned {
})
110614 12:54:00 [Note] WSREP: GMCast:
110614 12:54:00 [Note] WSREP: gcomm: closed
110614 12:54:00 [ERROR] mysqld got signal 6 ;
This could be because you hit a bug. It is also possible that this binary
Changed in codership-mysql: | |
status: | New → Confirmed |
Changed in codership-mysql: | |
importance: | Undecided → Medium |
assignee: | nobody → Alex Yurchenko (ayurchen) |
milestone: | none → 0.8.1 |
Changed in codership-maria: | |
status: | New → Confirmed |
importance: | Undecided → Medium |
assignee: | nobody → Alex Yurchenko (ayurchen) |
Changed in codership-mysql: | |
status: | Confirmed → Fix Committed |
Changed in codership-maria: | |
status: | Confirmed → Fix Committed |
Changed in codership-mysql: | |
status: | Fix Committed → Fix Released |
On related note:
When JOINER gets error localdomain) : State transfer to 0 (localhost. localdomain) failed: -12 (Cannot allocate memory)" from DONOR,
"110614 12:54:00 [Warning] WSREP: 1 (localhost.
I guess it makes sense to try another DONOR, rather than crash mysqld.