HomeFreeBSD

MySQL 5.7 mysqld_safe allows malloc-lib files only in certain locations.

Description

MySQL 5.7 mysqld_safe allows malloc-lib files only in certain locations.
google-perftools port puts libtcmalloc_minimal.so inside /usr/local/lib
To use tcmalloc memory allocator we need mysqld_safe to load libraries from /usr/local/lib

More information about why to use tcmalloc instead of jemalloc here:

https://forums.freebsd.org/threads/freebsd-12-x-and-mysql-5-7-and-importing-file-with-lots-of-small-lines-exhaust-ram-and-swap.72733/

PR: 248982
Sponsored by: Netzkommune GmbH

Details

Provenance
joneumAuthored on
Parents
rP548589: math/rumur: Update 2020.07.28 -> 2020.09.06
Branches
Unknown
Tags
Unknown