[MDEV-6300] memory leak in 5.5.37-galera Created: 2014-06-04 Updated: 2020-06-02 Resolved: 2020-06-02 |
|
| Status: | Closed |
| Project: | MariaDB Server |
| Component/s: | Galera |
| Affects Version/s: | 5.5.37-galera, 5.5.39-galera |
| Fix Version/s: | N/A |
| Type: | Bug | Priority: | Major |
| Reporter: | Daniel Black | Assignee: | Seppo Jaakola |
| Resolution: | Won't Fix | Votes: | 0 |
| Labels: | galera | ||
| Environment: |
Ubuntu 12.04.4 LTS (GNU/Linux 2.6.32-28-server x86_64) |
||
| Attachments: |
|
| Description |
|
package versions: 3 or 4 servers have a similar memory leak profile to the memory-month-g1 image attached. Variables and settings attached are from the g1 server. The dates that an increase in memory usage occurs is the same on all server. The 4th server, memory-month-repl1 is only used as read only and has significantly lower traffic and lower memory usage overall. The restart at the beginning of the graph was an upgrade from an upgrade from 5.5.32. Looking at the year graphs it appears there was a leak there too that I hadn't noticed before. Client has another regional database on 5.5.37-MariaDB-1~precise-log (non-galera) with similar structured databases and code usage. If this non-galera instance has a leak is much slower.
I've restarted repl with no query cache and lower usage settings as it was overallocated. There is a UAT environment with this that I can test out patches with. Would trying the patch from |
| Comments |
| Comment by Daniel Black [ 2014-06-19 ] |
|
graphing showed small increase of memory usage over a day on a test server. I'm not 100 I've captured this. Happy to try other patches and test stuff out. |
| Comment by Nirbhay Choubey (Inactive) [ 2014-06-19 ] |
|
I will take a look at the uploaded data. BTW, the fix for MDEV#4974 is already in mariadb-galera-5.5.37. |
| Comment by Daniel Black [ 2014-06-20 ] |
|
ack. going to try valgrind running on running process today. |
| Comment by Nirbhay Choubey (Inactive) [ 2014-07-24 ] |
|
Valgrind report (picked from |
| Comment by Daniel Black [ 2014-07-24 ] |
|
i'm not sure that valgrind report is going to help. I did attempt to get a valgrind on a UAT instance. Unfortunately there was insufficient RAM On the UAT instance to successfully run valgrind even with innodb_buffer_size set abnormally low. This week the UAT instance RAM has been upgraded and I'm running valgrind on the instance as I type. Apologies for the delay and lack of communication. |
| Comment by Nirbhay Choubey (Inactive) [ 2014-07-25 ] |
|
Besides some seemingly acceptable valgrind errors, I am still not able to reproduce this. Also tried to populate tables from the uploaded script with some sample data but no luck so far. |
| Comment by Jan Lindström (Inactive) [ 2017-03-27 ] |
|
Could you try with 5.5.54-galera and see if this repeats? |
| Comment by Daniel Black [ 2017-03-29 ] |
|
Sorry I've no access to this former employeer's client any more. arjen can say if its still a problem. MDEV-12205 has a prototype for debugging memory leaks that shouldn't be too invasive. |
| Comment by Ralf Gebhardt [ 2020-06-02 ] |
|
Unsupported version of Galera Cluster |