Bug #18961 | Memory for stored function calls not released in time in INSERT INTO ... SELECT | ||
---|---|---|---|
Submitted: | 10 Apr 2006 15:16 | Modified: | 11 Apr 2006 21:31 |
Reporter: | Beat Vontobel (Silver Quality Contributor) (OCA) | Email Updates: | |
Status: | Duplicate | Impact on me: | |
Category: | MySQL Server | Severity: | S1 (Critical) |
Version: | 5.0.19 | OS: | Linux (Linux 2.4.21 (SuSE Professional)) |
Assigned to: | CPU Architecture: | Any |
[10 Apr 2006 15:16]
Beat Vontobel
[11 Apr 2006 20:44]
Mark Leith
Locks up 5.0.19-max on Intel Mac, locked up the entire system, no messages in error log. Getting latest build to verify and debug.
[11 Apr 2006 21:17]
Beat Vontobel
Yes, I really like OS X, but when it comes to memory management... ;-) Maybe you better try to debug it on a Linux machine. On OS X the whole system will probably always lock up before MySQL does - and you'll never get any error messages. I was very lucky when I experienced this bug for the first time on our Linux production server that the machine didn't crash. It became absolutely unresponsive, swapping like crazy, (couldn't even log in to the shell) - but MySQL was still handling connections, slowly, but it did. And it aborted the query finally with an out of memory error and the server recovered before I could reboot!
[11 Apr 2006 21:19]
Dmitry Lenev
Hi, Beat! I think that you are experiencing problem which was already described in report for bug #17260. So I will mark this bug report as duplicate and update bug #17260 to make it more clear. Thank you for your continued interest in MySQL (and particularly in its stored routines and triggers)!
[11 Apr 2006 21:31]
Beat Vontobel
Thanks to you, Dmitri, I'm very happy to see that this is already in progress!