Bug #69075 | Memory leak slave_parallel_workers | ||
---|---|---|---|
Submitted: | 26 Apr 2013 3:07 | Modified: | 19 Feb 2014 10:39 |
Reporter: | raza lei | Email Updates: | |
Status: | Duplicate | Impact on me: | |
Category: | MySQL Server: Memory storage engine | Severity: | S3 (Non-critical) |
Version: | 5.6.11, 5.6.15 | OS: | Any |
Assigned to: | CPU Architecture: | Any | |
Tags: | memory leak |
[26 Apr 2013 3:07]
raza lei
[7 May 2013 18:12]
Sveta Smirnova
Bug #69066 was marked as duplicate of this one.
[19 Jun 2013 14:37]
MySQL Verification Team
200M+ for open table handlers maybe perfectly normal depending on configuration. Can we see the entire massif output, as well as: SHOW GLOBAL WHERE VALUE; SHOW GLOBAL VARIABLES; SHOW OPEN TABLES; SHOW ENGINE PERFORMANCE_SCHEMA STATUS;
[20 Jul 2013 1:00]
Bugs System
No feedback was provided for this bug for over a month, so it is being suspended automatically. If you are able to provide the information that was originally requested, please do so and change the status of the bug back to "Open".
[6 Feb 2014 8:09]
Simon Mudd
I have a server which crashes due to this. Seen in MySQL-server-5.6.15-1.el6.x86_64. So please update the version affected as I can't do this. CentOS 6 kernel says on a 96 GB dedicated server.: Feb 6 00:53:38 myserver kernel: Out of memory: Kill process 20381 (mysqld) score 982 or sacrifice child Feb 6 00:53:38 myserver kernel: Killed process 20381, UID 158, (mysqld) total-vm:102792932kB, anon-rss:97162236kB, file-rss:976kB So the memory leak takes down a MEM slave using (slave_parallel_workers = 10) in a few days. For now applying a workaround of disabling the value. If you need further feedback from me please let me know.
[6 Feb 2014 17:07]
Sveta Smirnova
Simon, please send information, requested by Shane: [19 Jun 2013 14:37] Shane Bester 200M+ for open table handlers maybe perfectly normal depending on configuration. Can we see the entire massif output, as well as: SHOW GLOBAL WHERE VALUE; SHOW GLOBAL VARIABLES; SHOW OPEN TABLES; SHOW ENGINE PERFORMANCE_SCHEMA STATUS;
[7 Feb 2014 11:38]
Simon Mudd
ok. Also note, my configuration uses the following settings which I believe may be relevant: the master_info_repository = TABLE relay_log_info_repository = TABLE changing the slave_parallel_workers to 0 after doing stop slave, and then doing start slave does not seem to resolve the leak from what I can tell.
[7 Feb 2014 11:49]
Luis Soares
See also: BUG#71197.
[7 Feb 2014 11:55]
Simon Mudd
output from a slave that has this slave_parallel_worker set
Attachment: log_output (application/octet-stream, text), 243.55 KiB.
[13 Feb 2014 16:27]
Aaron Johnson
My testing shows that changing slave workers from a value of greater than 0 back to 0 and restarting the slave does *not* recoup the memory as pointed out in another comment. I think the severity of this issue should be higher.
[19 Feb 2014 10:39]
Jon Stephens
This appears to be a duplicate of Bug #71197, which is fixed in MySQL 5.6.17 and 5.7.4. Closed.