Type:
Bug
Priority:
Minor
Resolution:
Fixed
Affects Version/s:
5.5(EOL) , 10.0(EOL) , 10.1(EOL) , 10.2(EOL) , 10.3(EOL)
When using a custom memory allocator, e.g.
[mysqld_safe]
malloc-lib=jemalloc
When starting MariaDB , the mysqld_safe script attempts to learn which lib directories to use by executing mysql_config command.
However this is only provided by the MariaDB-devel package, and so isn't installed on most production servers.
As such, we get an error each time we start MariaDB , in the form of:
180703 12:52:39 mysqld_safe Can not run mysql_config --variable=pkglibdir from '/usr/bin/mysql_config'
MariaDB still starts OK because the mysqld_safe script also looks in the normal lib directories, where jemalloc is installed to by CentOS .
I do not think we need to see this error, as it will be common for mysql_config not to be installed. Perhaps only show the error if the allocator library isn't found in any of the normal library directories?
relates to
MDEV-24130
Cannot launch mariadbd via mysqld_safe
Closed
{"report":{"fcp":855.4000000953674,"ttfb":181.60000014305115,"pageVisibility":"visible","entityId":68495,"key":"jira.project.issue.view-issue","isInitial":true,"threshold":1000,"elementTimings":{},"userDeviceMemory":8,"userDeviceProcessors":64,"apdex":1,"journeyId":"1613975e-02c6-4d00-846b-475126c342cd","navigationType":0,"readyForUser":909.9000000953674,"redirectCount":0,"resourceLoadedEnd":949.4000000953674,"resourceLoadedStart":187,"resourceTiming":[{"duration":208.60000014305115,"initiatorType":"link","name":"https://jira.mariadb.org/s/2c21342762a6a02add1c328bed317ffd-CDN/lu2bu7/820016/12ta74/0a8bac35585be7fc6c9cc5a0464cd4cf/_/download/contextbatch/css/_super/batch.css","startTime":187,"connectEnd":0,"connectStart":0,"domainLookupEnd":0,"domainLookupStart":0,"fetchStart":187,"redirectEnd":0,"redirectStart":0,"requestStart":0,"responseEnd":395.60000014305115,"responseStart":0,"secureConnectionStart":0},{"duration":208.5,"initiatorType":"link","name":"https://jira.mariadb.org/s/7ebd35e77e471bc30ff0eba799ebc151-CDN/lu2bu7/820016/12ta74/8679b4946efa1a0bb029a3a22206fb5d/_/download/contextbatch/css/jira.browse.project,project.issue.navigator,jira.view.issue,jira.general,jira.global,atl.general,-_super/batch.css?agile_global_admin_condition=true&jag=true&jira.create.linked.issue=true&slack-enabled=true","startTime":187.20000004768372,"connectEnd":0,"connectStart":0,"domainLookupEnd":0,"domainLookupStart":0,"fetchStart":187.20000004768372,"redirectEnd":0,"redirectStart":0,"requestStart":0,"responseEnd":395.7000000476837,"responseStart":0,"secureConnectionStart":0},{"duration":216.89999985694885,"initiatorType":"script","name":"https://jira.mariadb.org/s/fbf975c0cce4b1abf04784eeae9ba1f4-CDN/lu2bu7/820016/12ta74/0a8bac35585be7fc6c9cc5a0464cd4cf/_/download/contextbatch/js/_super/batch.js?locale=en","startTime":187.30000019073486,"connectEnd":187.30000019073486,"connectStart":187.30000019073486,"domainLookupEnd":187.30000019073486,"domainLookupStart":187.30000019073486,"fetchStart":187.30000019073486,"redirectEnd":0,"redirectStart":0,"requestStart":187.30000019073486,"responseEnd":404.2000000476837,"responseStart":404.2000000476837,"secureConnectionStart":187.30000019073486},{"duration":259.7000000476837,"initiatorType":"script","name":"https://jira.mariadb.org/s/099b33461394b8015fc36c0a4b96e19f-CDN/lu2bu7/820016/12ta74/8679b4946efa1a0bb029a3a22206fb5d/_/download/contextbatch/js/jira.browse.project,project.issue.navigator,jira.view.issue,jira.general,jira.global,atl.general,-_super/batch.js?agile_global_admin_condition=true&jag=true&jira.create.linked.issue=true&locale=en&slack-enabled=true","startTime":187.5,"connectEnd":187.5,"connectStart":187.5,"domainLookupEnd":187.5,"domainLookupStart":187.5,"fetchStart":187.5,"redirectEnd":0,"redirectStart":0,"requestStart":187.5,"responseEnd":447.2000000476837,"responseStart":447.2000000476837,"secureConnectionStart":187.5},{"duration":262.7999999523163,"initiatorType":"script","name":"https://jira.mariadb.org/s/94c15bff32baef80f4096a08aceae8bc-CDN/lu2bu7/820016/12ta74/c92c0caa9a024ae85b0ebdbed7fb4bd7/_/download/contextbatch/js/atl.global,-_super/batch.js?locale=en","startTime":187.60000014305115,"connectEnd":187.60000014305115,"connectStart":187.60000014305115,"domainLookupEnd":187.60000014305115,"domainLookupStart":187.60000014305115,"fetchStart":187.60000014305115,"redirectEnd":0,"redirectStart":0,"requestStart":187.60000014305115,"responseEnd":450.40000009536743,"responseStart":450.30000019073486,"secureConnectionStart":187.60000014305115},{"duration":263.10000014305115,"initiatorType":"script","name":"https://jira.mariadb.org/s/d41d8cd98f00b204e9800998ecf8427e-CDN/lu2bu7/820016/12ta74/1.0/_/download/batch/jira.webresources:calendar-en/jira.webresources:calendar-en.js","startTime":187.70000004768372,"connectEnd":187.70000004768372,"connectStart":187.70000004768372,"domainLookupEnd":187.70000004768372,"domainLookupStart":187.70000004768372,"fetchStart":187.70000004768372,"redirectEnd":0,"redirectStart":0,"requestStart":187.70000004768372,"responseEnd":450.80000019073486,"responseStart":450.80000019073486,"secureConnectionStart":187.70000004768372},{"duration":263.39999985694885,"initiatorType":"script","name":"https://jira.mariadb.org/s/d41d8cd98f00b204e9800998ecf8427e-CDN/lu2bu7/820016/12ta74/1.0/_/download/batch/jira.webresources:calendar-localisation-moment/jira.webresources:calendar-localisation-moment.js","startTime":187.80000019073486,"connectEnd":187.80000019073486,"connectStart":187.80000019073486,"domainLookupEnd":187.80000019073486,"domainLookupStart":187.80000019073486,"fetchStart":187.80000019073486,"redirectEnd":0,"redirectStart":0,"requestStart":187.80000019073486,"responseEnd":451.2000000476837,"responseStart":451.2000000476837,"secureConnectionStart":187.80000019073486},{"duration":264.09999990463257,"initiatorType":"link","name":"https://jira.mariadb.org/s/b04b06a02d1959df322d9cded3aeecc1-CDN/lu2bu7/820016/12ta74/a2ff6aa845ffc9a1d22fe23d9ee791fc/_/download/contextbatch/css/jira.global.look-and-feel,-_super/batch.css","startTime":187.90000009536743,"connectEnd":0,"connectStart":0,"domainLookupEnd":0,"domainLookupStart":0,"fetchStart":187.90000009536743,"redirectEnd":0,"redirectStart":0,"requestStart":0,"responseEnd":452,"responseStart":0,"secureConnectionStart":0},{"duration":263.60000014305115,"initiatorType":"script","name":"https://jira.mariadb.org/rest/api/1.0/shortcuts/820016/47140b6e0a9bc2e4913da06536125810/shortcuts.js?context=issuenavigation&context=issueaction","startTime":188,"connectEnd":188,"connectStart":188,"domainLookupEnd":188,"domainLookupStart":188,"fetchStart":188,"redirectEnd":0,"redirectStart":0,"requestStart":188,"responseEnd":451.60000014305115,"responseStart":451.60000014305115,"secureConnectionStart":188},{"duration":264.2000000476837,"initiatorType":"link","name":"https://jira.mariadb.org/s/3ac36323ba5e4eb0af2aa7ac7211b4bb-CDN/lu2bu7/820016/12ta74/d176f0986478cc64f24226b3d20c140d/_/download/contextbatch/css/com.atlassian.jira.projects.sidebar.init,-_super,-project.issue.navigator,-jira.view.issue/batch.css?jira.create.linked.issue=true","startTime":188.10000014305115,"connectEnd":0,"connectStart":0,"domainLookupEnd":0,"domainLookupStart":0,"fetchStart":188.10000014305115,"redirectEnd":0,"redirectStart":0,"requestStart":0,"responseEnd":452.30000019073486,"responseStart":0,"secureConnectionStart":0},{"duration":264.2000000476837,"initiatorType":"script","name":"https://jira.mariadb.org/s/3339d87fa2538a859872f2df449bf8d0-CDN/lu2bu7/820016/12ta74/d176f0986478cc64f24226b3d20c140d/_/download/contextbatch/js/com.atlassian.jira.projects.sidebar.init,-_super,-project.issue.navigator,-jira.view.issue/batch.js?jira.create.linked.issue=true&locale=en","startTime":188.10000014305115,"connectEnd":188.10000014305115,"connectStart":188.10000014305115,"domainLookupEnd":188.10000014305115,"domainLookupStart":188.10000014305115,"fetchStart":188.10000014305115,"redirectEnd":0,"redirectStart":0,"requestStart":188.10000014305115,"responseEnd":452.30000019073486,"responseStart":452.30000019073486,"secureConnectionStart":188.10000014305115},{"duration":755.2999999523163,"initiatorType":"script","name":"https://jira.mariadb.org/s/d41d8cd98f00b204e9800998ecf8427e-CDN/lu2bu7/820016/12ta74/1.0/_/download/batch/jira.webresources:bigpipe-js/jira.webresources:bigpipe-js.js","startTime":193.80000019073486,"connectEnd":193.80000019073486,"connectStart":193.80000019073486,"domainLookupEnd":193.80000019073486,"domainLookupStart":193.80000019073486,"fetchStart":193.80000019073486,"redirectEnd":0,"redirectStart":0,"requestStart":193.80000019073486,"responseEnd":949.1000001430511,"responseStart":949.1000001430511,"secureConnectionStart":193.80000019073486},{"duration":755.5999999046326,"initiatorType":"script","name":"https://jira.mariadb.org/s/d41d8cd98f00b204e9800998ecf8427e-CDN/lu2bu7/820016/12ta74/1.0/_/download/batch/jira.webresources:bigpipe-init/jira.webresources:bigpipe-init.js","startTime":193.80000019073486,"connectEnd":193.80000019073486,"connectStart":193.80000019073486,"domainLookupEnd":193.80000019073486,"domainLookupStart":193.80000019073486,"fetchStart":193.80000019073486,"redirectEnd":0,"redirectStart":0,"requestStart":193.80000019073486,"responseEnd":949.4000000953674,"responseStart":949.4000000953674,"secureConnectionStart":193.80000019073486},{"duration":332.59999990463257,"initiatorType":"xmlhttprequest","name":"https://jira.mariadb.org/rest/webResources/1.0/resources","startTime":616.1000001430511,"connectEnd":616.1000001430511,"connectStart":616.1000001430511,"domainLookupEnd":616.1000001430511,"domainLookupStart":616.1000001430511,"fetchStart":616.1000001430511,"redirectEnd":0,"redirectStart":0,"requestStart":616.1000001430511,"responseEnd":948.7000000476837,"responseStart":948.7000000476837,"secureConnectionStart":616.1000001430511},{"duration":162.09999990463257,"initiatorType":"script","name":"https://www.google-analytics.com/analytics.js","startTime":834.9000000953674,"connectEnd":0,"connectStart":0,"domainLookupEnd":0,"domainLookupStart":0,"fetchStart":834.9000000953674,"redirectEnd":0,"redirectStart":0,"requestStart":0,"responseEnd":997,"responseStart":0,"secureConnectionStart":0}],"fetchStart":0,"domainLookupStart":0,"domainLookupEnd":0,"connectStart":0,"connectEnd":0,"requestStart":58,"responseStart":182,"responseEnd":189,"domLoading":185,"domInteractive":982,"domContentLoadedEventStart":982,"domContentLoadedEventEnd":1018,"domComplete":1576,"loadEventStart":1576,"loadEventEnd":1578,"userAgent":"Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)","marks":[{"name":"bigPipe.sidebar-id.start","time":959.4000000953674},{"name":"bigPipe.sidebar-id.end","time":960.3000001907349},{"name":"bigPipe.activity-panel-pipe-id.start","time":960.5},{"name":"bigPipe.activity-panel-pipe-id.end","time":963.2000000476837},{"name":"activityTabFullyLoaded","time":1024.1000001430511}],"measures":[],"correlationId":"6e28d5513ee352","effectiveType":"4g","downlink":9.1,"rtt":0,"serverDuration":71,"dbReadsTimeInMs":11,"dbConnsTimeInMs":18,"applicationHash":"9d11dbea5f4be3d4cc21f03a88dd11d8c8687422","experiments":[]}}