Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 29 Aug 2020 01:48:53 +0000
From:      bugzilla-noreply@freebsd.org
To:        ports-bugs@FreeBSD.org
Subject:   [Bug 248982] databases/mysql57-server and malloc-lib path
Message-ID:  <bug-248982-7788@https.bugs.freebsd.org/bugzilla/>

next in thread | raw e-mail | index | archive | help
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D248982

            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@FreeBSD.org
          Reporter: chris@cretaforce.gr
          Assignee: joneum@FreeBSD.org
             Flags: maintainer-feedback?(joneum@FreeBSD.org)

Created attachment 217606
  --> https://bugs.freebsd.org/bugzilla/attachment.cgi?id=3D217606&action=
=3Dedit
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/

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



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?bug-248982-7788>