Bug #69726 | MySQL is using up all Memory, then it gets restarted | ||
---|---|---|---|
Submitted: | 11 Jul 2013 17:23 | Modified: | 14 Aug 2013 12:51 |
Reporter: | Frederic Steinfels | Email Updates: | |
Status: | Can't repeat | Impact on me: | |
Category: | MySQL Server: General | Severity: | S1 (Critical) |
Version: | 5.6.12 | OS: | Linux (Fedora) |
Assigned to: | CPU Architecture: | Any | |
Tags: | crash, Memory, restart |
[11 Jul 2013 17:23]
Frederic Steinfels
[11 Jul 2013 18:26]
MySQL Verification Team
Hi Frederic, how many of the innodb tables have FULLTEXT indexes?
[12 Jul 2013 4:40]
MySQL Verification Team
There is a known and fixed memory consumption bug in innodb fulltext. Until 5.6.13 is released, I'd suggest this and see if things improve o) run FLUSH TABLES every x minutes o) convert all fulltext tables to MyISAM
[12 Jul 2013 10:33]
Frederic Steinfels
FLUSH TABLES is releasing some of the memory but I can never return to the amount that was used when mysql was fresh. So even with FLUSH TABLES, memory consumption seems to be growing. If you gave me that patch for the 5.6.12, I would recompile and check if the bug was gone. I will try MyISAM later.
[25 Jul 2013 14:04]
Frederic Steinfels
MySQL is crashing two times a day - plotted memory usage
Attachment: mysql_memory_usage.png (image/png, text), 60.31 KiB.
[5 Aug 2013 11:28]
Frederic Steinfels
Most MySQL Memory Leaks have been fixed with 5.6.13, some smaller ones are still remaining
Attachment: mysql_memory_usage2.png (image/png, text), 90.63 KiB.
[14 Aug 2013 12:42]
Frederic Steinfels
It seems memory usage has leveld out
Attachment: mysql_memory_usage3.png (image/png, text), 86.30 KiB.
[14 Aug 2013 12:44]
Frederic Steinfels
As of my last measurement, the memory usage has leveled out. I will continue measuring and come back to this bug if there should be a long time upward trend. In the meantime, you might consider this bug resolved.
[14 Aug 2013 12:51]
MySQL Verification Team
Let us consider this bug to have been the known innodb Fulltext leak bug. If any further slower leaks are happening, it is a new bug that needs opening..