[Bug 248982] databases/mysql57-server and malloc-lib path

bugzilla-noreply at freebsd.org bugzilla-noreply at freebsd.org
Sat Aug 29 01:48:54 UTC 2020


https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=248982

            Bug ID: 248982
           Summary: databases/mysql57-server and malloc-lib path
           Product: Ports & Packages
           Version: Latest
          Hardware: amd64
                OS: Any
            Status: New
          Severity: Affects Some People
          Priority: ---
         Component: Individual Port(s)
          Assignee: joneum at FreeBSD.org
          Reporter: chris at cretaforce.gr
          Assignee: joneum at FreeBSD.org
             Flags: maintainer-feedback?(joneum at FreeBSD.org)

Created attachment 217606
  --> https://bugs.freebsd.org/bugzilla/attachment.cgi?id=217606&action=edit
Patch for mysqld_safe

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/

-- 
You are receiving this mail because:
You are the assignee for the bug.


More information about the freebsd-ports-bugs mailing list