[MDEV-8965] cluster node (async replication slave) high memory usage Created: 2015-10-19 Updated: 2015-12-14 Resolved: 2015-12-14 |
|
| Status: | Closed |
| Project: | MariaDB Server |
| Component/s: | Galera, Storage Engine - InnoDB, wsrep |
| Affects Version/s: | 10.0.21-galera |
| Fix Version/s: | 10.0.23-galera |
| Type: | Bug | Priority: | Blocker |
| Reporter: | aftab khan | Assignee: | Nirbhay Choubey (Inactive) |
| Resolution: | Fixed | Votes: | 0 |
| Labels: | None | ||
| Attachments: |
|
||||||||
| Issue Links: |
|
||||||||
| Description |
|
We are seeing high memory usage on cluster member running as async replication slave node, whereas other cluster member's memory usage is normal. – Cluster member asynchronous replication slave node {{tprod-dba-test-sa-03:~$ top -n5 | grep mysql — Cluster member normal node {{itprod-dba-test-sa-02:~$ top -n5 | grep mysql I profiled memory usage of 2x nodes cluster using Valgrind massif tool: ms_print outputs are attached: |
| Comments |
| Comment by aftab khan [ 2015-10-19 ] |
|
memory usage on cluster member (running as async replication slave) steadily increase and then server starts swapping, so after almost 2 weeks or so we have to restart mysql to fix this issue. |
| Comment by Elena Stepanova [ 2015-10-19 ] |
|
Thanks for the report. nirbhay_c, at the very first glance it looks like the problem might be related to Galera/wsrep, could you please check it out? If it turns out to be unrelated, please reassign to Jan as InnoDB will be the next suspect. |
| Comment by Nirbhay Choubey (Inactive) [ 2015-12-14 ] |
|
https://github.com/MariaDB/server/commit/18173ddfc4081407832d9a6703d1b8356b7defe9 |