glibc 2.26 memory leak with MySQL?

Michael Brunnbauer brunni@netestate.de
Sun Aug 13 12:29:00 GMT 2017


re

in the meantime, the problem has occured on more MySQL deployments.
I have recompiled glibc with --disable-experimental-malloc and hope this helps.
If you hear nothing from me within a week, assume it has helped.

Regards,

Michael Brunnbauer

On Sat, Aug 12, 2017 at 04:19:38PM +0200, Michael Brunnbauer wrote:
> 
> hi all,
> 
> since upgrading from glibc-2.23 to 2.26, I have observed out of memory errors
> in 2 different mysql deployments after 2-3 days of runtime:
> 
> 170812 15:51:42 [ERROR] /usr/bin/mysqld: Out of memory (Needed 1675264 bytes)
> 170812 15:52:01 [ERROR] /usr/bin/mysqld: Out of memory (Needed 1677712 bytes)
> 
> I've never had such Problems with those mysql deployments before and one
> of them is configured for very modest memory usage.
> 
> I use mysql 5.5.57 and Kernel 3.16.46. glibc has been compiled with gcc-4.9.4 
> like this:
> 
>  echo "CFLAGS += -march=i686" > configparms
>  ../configure --enable-add-ons --prefix=/usr --enable-kernel=2.6.25 --host=i686-pc-linux-gnu
> 
> MySQL has not been recompiled since upgrading glibc and gcc (previous version
> 4.8.5).
> 
> Have there been any changes that can explain this, e.g. the per-thread cache
> for malloc?
> 
> Regards,
> 
> Michael Brunnbauer
> 
> -- 
> ++  Michael Brunnbauer
> ++  netEstate GmbH
> ++  Geisenhausener Straße 11a
> ++  81379 München
> ++  Tel +49 89 32 19 77 80
> ++  Fax +49 89 32 19 77 89 
> ++  E-Mail brunni@netestate.de
> ++  http://www.netestate.de/
> ++
> ++  Sitz: München, HRB Nr.142452 (Handelsregister B München)
> ++  USt-IdNr. DE221033342
> ++  Geschäftsführer: Michael Brunnbauer, Franz Brunnbauer
> ++  Prokurist: Dipl. Kfm. (Univ.) Markus Hendel



-- 
++  Michael Brunnbauer
++  netEstate GmbH
++  Geisenhausener Straße 11a
++  81379 München
++  Tel +49 89 32 19 77 80
++  Fax +49 89 32 19 77 89 
++  E-Mail brunni@netestate.de
++  http://www.netestate.de/
++
++  Sitz: München, HRB Nr.142452 (Handelsregister B München)
++  USt-IdNr. DE221033342
++  Geschäftsführer: Michael Brunnbauer, Franz Brunnbauer
++  Prokurist: Dipl. Kfm. (Univ.) Markus Hendel
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 198 bytes
Desc: not available
URL: <http://sourceware.org/pipermail/libc-help/attachments/20170813/7fdf9ce6/attachment.sig>


More information about the Libc-help mailing list