Sprint:
MXS-SPRINT-104, MXS-SPRINT-105
Memory usage of a maxscale instance stayed low for a little less than 24 hours, then went up to about 4GB quickly within a span of ~30 minutes:
mem1.png shows the memory useage over a full after start, mem2.png the incline over the critical 30min period (note: x axis is in minutes, and y axis in kilobytes, don't let that confuse you)
This was originally reported against 2.3.9, which had some known leaks, but still seems to happen after upgrade to 2.3.16 (graphs are from 2.3.9)
relates to
MXS-2917
qc_sqlite leaks memory with complex CREATE TABLE query
Closed
{"report":{"fcp":1895.5,"ttfb":377.2000000476837,"pageVisibility":"visible","entityId":83729,"key":"jira.project.issue.view-issue","isInitial":true,"threshold":1000,"elementTimings":{},"userDeviceMemory":8,"userDeviceProcessors":16,"apdex":0.5,"journeyId":"574af812-5b4c-4a87-828c-1df86f45de4a","navigationType":0,"readyForUser":1983.7999999523163,"redirectCount":0,"resourceLoadedEnd":1442.5,"resourceLoadedStart":439.7000000476837,"resourceTiming":[{"duration":163.09999990463257,"initiatorType":"link","name":"https://jira.mariadb.org/s/2c21342762a6a02add1c328bed317ffd-CDN/lu2c13/820016/12ta74/0a8bac35585be7fc6c9cc5a0464cd4cf/_/download/contextbatch/css/_super/batch.css","startTime":439.7000000476837,"connectEnd":0,"connectStart":0,"domainLookupEnd":0,"domainLookupStart":0,"fetchStart":439.7000000476837,"redirectEnd":0,"redirectStart":0,"requestStart":0,"responseEnd":602.7999999523163,"responseStart":0,"secureConnectionStart":0},{"duration":165,"initiatorType":"link","name":"https://jira.mariadb.org/s/7ebd35e77e471bc30ff0eba799ebc151-CDN/lu2c13/820016/12ta74/95aa13f12929b3b049c94507edd53ad5/_/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":439.89999997615814,"connectEnd":0,"connectStart":0,"domainLookupEnd":0,"domainLookupStart":0,"fetchStart":439.89999997615814,"redirectEnd":0,"redirectStart":0,"requestStart":0,"responseEnd":604.8999999761581,"responseStart":0,"secureConnectionStart":0},{"duration":799.7999999523163,"initiatorType":"script","name":"https://jira.mariadb.org/s/f039d5244998df7871bdf8d04d738054-CDN/lu2c13/820016/12ta74/0a8bac35585be7fc6c9cc5a0464cd4cf/_/download/contextbatch/js/_super/batch.js?locale=en","startTime":440.2000000476837,"connectEnd":440.2000000476837,"connectStart":440.2000000476837,"domainLookupEnd":440.2000000476837,"domainLookupStart":440.2000000476837,"fetchStart":440.2000000476837,"redirectEnd":0,"redirectStart":0,"requestStart":607.5,"responseEnd":1240,"responseStart":748.8999999761581,"secureConnectionStart":440.2000000476837},{"duration":1002.1000000238419,"initiatorType":"script","name":"https://jira.mariadb.org/s/957b47b56c7177fcef1264b18a57f656-CDN/lu2c13/820016/12ta74/95aa13f12929b3b049c94507edd53ad5/_/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":440.39999997615814,"connectEnd":440.39999997615814,"connectStart":440.39999997615814,"domainLookupEnd":440.39999997615814,"domainLookupStart":440.39999997615814,"fetchStart":440.39999997615814,"redirectEnd":0,"redirectStart":0,"requestStart":607.5,"responseEnd":1442.5,"responseStart":678.1000000238419,"secureConnectionStart":440.39999997615814},{"duration":272.5,"initiatorType":"script","name":"https://jira.mariadb.org/s/f90d53127c84ab3cf04911154c2dc429-CDN/lu2c13/820016/12ta74/c92c0caa9a024ae85b0ebdbed7fb4bd7/_/download/contextbatch/js/atl.global,-_super/batch.js?locale=en","startTime":440.5,"connectEnd":697,"connectStart":697,"domainLookupEnd":697,"domainLookupStart":697,"fetchStart":440.5,"redirectEnd":0,"redirectStart":0,"requestStart":698.5,"responseEnd":713,"responseStart":712,"secureConnectionStart":697},{"duration":331.59999990463257,"initiatorType":"script","name":"https://jira.mariadb.org/s/d41d8cd98f00b204e9800998ecf8427e-CDN/lu2c13/820016/12ta74/1.0/_/download/batch/jira.webresources:calendar-en/jira.webresources:calendar-en.js","startTime":440.7000000476837,"connectEnd":440.7000000476837,"connectStart":440.7000000476837,"domainLookupEnd":440.7000000476837,"domainLookupStart":440.7000000476837,"fetchStart":440.7000000476837,"redirectEnd":0,"redirectStart":0,"requestStart":698.7000000476837,"responseEnd":772.2999999523163,"responseStart":749.7999999523163,"secureConnectionStart":440.7000000476837},{"duration":331.7000000476837,"initiatorType":"script","name":"https://jira.mariadb.org/s/d41d8cd98f00b204e9800998ecf8427e-CDN/lu2c13/820016/12ta74/1.0/_/download/batch/jira.webresources:calendar-localisation-moment/jira.webresources:calendar-localisation-moment.js","startTime":440.7999999523163,"connectEnd":440.7999999523163,"connectStart":440.7999999523163,"domainLookupEnd":440.7999999523163,"domainLookupStart":440.7999999523163,"fetchStart":440.7999999523163,"redirectEnd":0,"redirectStart":0,"requestStart":699.3999999761581,"responseEnd":772.5,"responseStart":757,"secureConnectionStart":440.7999999523163},{"duration":276.89999997615814,"initiatorType":"link","name":"https://jira.mariadb.org/s/b04b06a02d1959df322d9cded3aeecc1-CDN/lu2c13/820016/12ta74/a2ff6aa845ffc9a1d22fe23d9ee791fc/_/download/contextbatch/css/jira.global.look-and-feel,-_super/batch.css","startTime":441,"connectEnd":0,"connectStart":0,"domainLookupEnd":0,"domainLookupStart":0,"fetchStart":441,"redirectEnd":0,"redirectStart":0,"requestStart":0,"responseEnd":717.8999999761581,"responseStart":0,"secureConnectionStart":0},{"duration":331.2999999523163,"initiatorType":"script","name":"https://jira.mariadb.org/rest/api/1.0/shortcuts/820016/f66960d7757d5f06891021cb34673e32/shortcuts.js?context=issuenavigation&context=issueaction","startTime":441.2000000476837,"connectEnd":441.2000000476837,"connectStart":441.2000000476837,"domainLookupEnd":441.2000000476837,"domainLookupStart":441.2000000476837,"fetchStart":441.2000000476837,"redirectEnd":0,"redirectStart":0,"requestStart":698.7999999523163,"responseEnd":772.5,"responseStart":750.2000000476837,"secureConnectionStart":441.2000000476837},{"duration":276.60000002384186,"initiatorType":"link","name":"https://jira.mariadb.org/s/3ac36323ba5e4eb0af2aa7ac7211b4bb-CDN/lu2c13/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":441.39999997615814,"connectEnd":0,"connectStart":0,"domainLookupEnd":0,"domainLookupStart":0,"fetchStart":441.39999997615814,"redirectEnd":0,"redirectStart":0,"requestStart":0,"responseEnd":718,"responseStart":0,"secureConnectionStart":0},{"duration":330.2999999523163,"initiatorType":"script","name":"https://jira.mariadb.org/s/552f3595a8d602946252d6b3195bcce6-CDN/lu2c13/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":441.60000002384186,"connectEnd":441.60000002384186,"connectStart":441.60000002384186,"domainLookupEnd":441.60000002384186,"domainLookupStart":441.60000002384186,"fetchStart":441.60000002384186,"redirectEnd":0,"redirectStart":0,"requestStart":699.2000000476837,"responseEnd":771.8999999761581,"responseStart":712.6000000238419,"secureConnectionStart":441.60000002384186},{"duration":378.60000002384186,"initiatorType":"script","name":"https://jira.mariadb.org/s/d41d8cd98f00b204e9800998ecf8427e-CDN/lu2c13/820016/12ta74/1.0/_/download/batch/jira.webresources:bigpipe-js/jira.webresources:bigpipe-js.js","startTime":442.39999997615814,"connectEnd":442.39999997615814,"connectStart":442.39999997615814,"domainLookupEnd":442.39999997615814,"domainLookupStart":442.39999997615814,"fetchStart":442.39999997615814,"redirectEnd":0,"redirectStart":0,"requestStart":809.7000000476837,"responseEnd":821,"responseStart":820.2999999523163,"secureConnectionStart":442.39999997615814},{"duration":560.6000000238419,"initiatorType":"script","name":"https://jira.mariadb.org/s/d41d8cd98f00b204e9800998ecf8427e-CDN/lu2c13/820016/12ta74/1.0/_/download/batch/jira.webresources:bigpipe-init/jira.webresources:bigpipe-init.js","startTime":442.5,"connectEnd":442.5,"connectStart":442.5,"domainLookupEnd":442.5,"domainLookupStart":442.5,"fetchStart":442.5,"redirectEnd":0,"redirectStart":0,"requestStart":956,"responseEnd":1003.1000000238419,"responseStart":1002.5,"secureConnectionStart":442.5},{"duration":96.29999995231628,"initiatorType":"xmlhttprequest","name":"https://jira.mariadb.org/rest/webResources/1.0/resources","startTime":1430.1000000238419,"connectEnd":1430.1000000238419,"connectStart":1430.1000000238419,"domainLookupEnd":1430.1000000238419,"domainLookupStart":1430.1000000238419,"fetchStart":1430.1000000238419,"redirectEnd":0,"redirectStart":0,"requestStart":1490.2999999523163,"responseEnd":1526.3999999761581,"responseStart":1525.7999999523163,"secureConnectionStart":1430.1000000238419},{"duration":348.2000000476837,"initiatorType":"xmlhttprequest","name":"https://jira.mariadb.org/rest/webResources/1.0/resources","startTime":1779.5,"connectEnd":1779.5,"connectStart":1779.5,"domainLookupEnd":1779.5,"domainLookupStart":1779.5,"fetchStart":1779.5,"redirectEnd":0,"redirectStart":0,"requestStart":1899.8999999761581,"responseEnd":2127.7000000476837,"responseStart":2085.7000000476837,"secureConnectionStart":1779.5},{"duration":162.10000002384186,"initiatorType":"script","name":"https://www.google-analytics.com/analytics.js","startTime":1888.3999999761581,"connectEnd":0,"connectStart":0,"domainLookupEnd":0,"domainLookupStart":0,"fetchStart":1888.3999999761581,"redirectEnd":0,"redirectStart":0,"requestStart":0,"responseEnd":2050.5,"responseStart":0,"secureConnectionStart":0}],"fetchStart":0,"domainLookupStart":42,"domainLookupEnd":144,"connectStart":144,"connectEnd":223,"secureConnectionStart":153,"requestStart":224,"responseStart":377,"responseEnd":397,"domLoading":438,"domInteractive":2118,"domContentLoadedEventStart":2118,"domContentLoadedEventEnd":2190,"domComplete":2458,"loadEventStart":2458,"loadEventEnd":2458,"userAgent":"Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)","marks":[{"name":"bigPipe.sidebar-id.start","time":2056.399999976158},{"name":"bigPipe.sidebar-id.end","time":2057},{"name":"bigPipe.activity-panel-pipe-id.start","time":2057.2000000476837},{"name":"bigPipe.activity-panel-pipe-id.end","time":2058.399999976158},{"name":"activityTabFullyLoaded","time":2210.100000023842}],"measures":[],"correlationId":"ccf94a5d63a2d2","effectiveType":"4g","downlink":10,"rtt":0,"serverDuration":96,"dbReadsTimeInMs":11,"dbConnsTimeInMs":19,"applicationHash":"9d11dbea5f4be3d4cc21f03a88dd11d8c8687422","experiments":[]}}
Found a memory leak in the maxctrl list commands and maxctrl call command code.