<현상>
memory leak by replication
stop slave; set global slave_parallel_workers=8; start slave; top in a while , you will notice the memory problem, you can also use the script bellow to watch the memory used by mysqld; while true do date >> ps.log ps aux | grep mysqld >> ps.log sleep 60 done
<해결 방법>
[23 Jan 5:35] qinglin zhang
set the following three parameters may stop the leak: master_info_repository=file relay_log_info_repository=file slave_parallel_workers=0
출처
http://bugs.mysql.com/bug.php?id=71197
http://bugs.mysql.com/bug.php?id=71425
'DB' 카테고리의 다른 글
limit 사용시 항상 order by를 염두하기 (1) | 2014.05.02 |
---|---|
mysql partitioning 관련된 좋은 정보 (0) | 2014.02.06 |
[mysql] function 정보 (0) | 2014.02.04 |
[mysql] Tip - group_concat, if/ifnull/case (0) | 2013.12.19 |
Mysql HA (0) | 2013.04.23 |