glibc 2.26 memory leak with MySQL?

Michael Brunnbauer brunni@netestate.de
Sat Aug 12 14:19:00 GMT 2017


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
-------------- 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/20170812/63d6f521/attachment.sig>


More information about the Libc-help mailing list