Been using mariadb server for years. We always set the server via this so we put a bound to ibdata1 fiile :
innodb_data_file_path=ibdata1:20m:autoextend:max:5G
This always worked, never hit an error.
With 10.6.5, (but 10.5.x and after configuring to use innodb_undo_tablespaces,
we get below error when e.g. creating a simple table with 3 rows, this error hits.
Can't create table `XXX` (errno: 135: No more room in record file")
This hits when the ibdata1 file raaches the bounds given. So we have to keep growing the max bound, by 2GB ever few days as it keeps hitting the limit, so this looks like an idbata1 LEAK.
When this error hits , all 4 undo files are around half their max size, so not exhausted.
We were hoping that auto truncating undo tablespaces would avoid this very issue to ever happen, but it actually seems to trigger it !
Below are the relevant parts of our config.
innodb_undo_tablespaces=4
innodb_undo_log_truncate=1
innodb_max_undo_log_size=1024m
innodb_log_file_size=1024m
innodb_log_files_in_group=2
innodb_flush_log_at_timeout=20
transaction_isolation=READ-COMMITTED
innodb_file_per_table=1
innodb_data_file_path=ibdata1:20m:autoextend:max:5G
innodb_autoextend_increment=200 # m incrs
innodb_log_file_size=750m # TODO: try 2G+
innodb_log_files_in_group=2
innodb_checksum_algorithm=crc32
innodb_flush_method=O_DIRECT
innodb_flush_log_at_trx_commit=2
innodb_autoinc_lock_mode=2
innodb_use_native_aio=1
innodb_open_files=3000
innodb_stats_on_metadata=0
query_cache_type=1
query_cache_size=600m
query_cache_limit=100m
query_alloc_block_size=32k
table_cache=12000
table_open_cache=8192
table_definition_cache=8192
{"report":{"fcp":1454.5,"ttfb":317.59999990463257,"pageVisibility":"visible","entityId":105680,"key":"jira.project.issue.view-issue","isInitial":true,"threshold":1000,"elementTimings":{},"userDeviceMemory":8,"userDeviceProcessors":64,"apdex":0.5,"journeyId":"db7450a8-b9c7-41a6-a9bd-fdf6a869db1c","navigationType":0,"readyForUser":1530.2999997138977,"redirectCount":0,"resourceLoadedEnd":1838,"resourceLoadedStart":324,"resourceTiming":[{"duration":311.5,"initiatorType":"link","name":"https://jira.mariadb.org/s/2c21342762a6a02add1c328bed317ffd-CDN/lu2cib/820016/12ta74/0a8bac35585be7fc6c9cc5a0464cd4cf/_/download/contextbatch/css/_super/batch.css","startTime":324,"connectEnd":0,"connectStart":0,"domainLookupEnd":0,"domainLookupStart":0,"fetchStart":324,"redirectEnd":0,"redirectStart":0,"requestStart":0,"responseEnd":635.5,"responseStart":0,"secureConnectionStart":0},{"duration":331.59999990463257,"initiatorType":"link","name":"https://jira.mariadb.org/s/7ebd35e77e471bc30ff0eba799ebc151-CDN/lu2cib/820016/12ta74/494e4c556ecbb29f90a3d3b4f09cb99c/_/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&whisper-enabled=true","startTime":324.59999990463257,"connectEnd":0,"connectStart":0,"domainLookupEnd":0,"domainLookupStart":0,"fetchStart":324.59999990463257,"redirectEnd":0,"redirectStart":0,"requestStart":0,"responseEnd":656.1999998092651,"responseStart":0,"secureConnectionStart":0},{"duration":391.2000002861023,"initiatorType":"script","name":"https://jira.mariadb.org/s/0917945aaa57108d00c5076fea35e069-CDN/lu2cib/820016/12ta74/0a8bac35585be7fc6c9cc5a0464cd4cf/_/download/contextbatch/js/_super/batch.js?locale=en","startTime":324.7999997138977,"connectEnd":324.7999997138977,"connectStart":324.7999997138977,"domainLookupEnd":324.7999997138977,"domainLookupStart":324.7999997138977,"fetchStart":324.7999997138977,"redirectEnd":0,"redirectStart":0,"requestStart":324.7999997138977,"responseEnd":716,"responseStart":716,"secureConnectionStart":324.7999997138977},{"duration":496.69999980926514,"initiatorType":"script","name":"https://jira.mariadb.org/s/2d8175ec2fa4c816e8023260bd8c1786-CDN/lu2cib/820016/12ta74/494e4c556ecbb29f90a3d3b4f09cb99c/_/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&whisper-enabled=true","startTime":324.90000009536743,"connectEnd":324.90000009536743,"connectStart":324.90000009536743,"domainLookupEnd":324.90000009536743,"domainLookupStart":324.90000009536743,"fetchStart":324.90000009536743,"redirectEnd":0,"redirectStart":0,"requestStart":324.90000009536743,"responseEnd":821.5999999046326,"responseStart":821.5999999046326,"secureConnectionStart":324.90000009536743},{"duration":501.09999990463257,"initiatorType":"script","name":"https://jira.mariadb.org/s/a9324d6758d385eb45c462685ad88f1d-CDN/lu2cib/820016/12ta74/c92c0caa9a024ae85b0ebdbed7fb4bd7/_/download/contextbatch/js/atl.global,-_super/batch.js?locale=en","startTime":325.19999980926514,"connectEnd":325.19999980926514,"connectStart":325.19999980926514,"domainLookupEnd":325.19999980926514,"domainLookupStart":325.19999980926514,"fetchStart":325.19999980926514,"redirectEnd":0,"redirectStart":0,"requestStart":325.19999980926514,"responseEnd":826.2999997138977,"responseStart":826.2999997138977,"secureConnectionStart":325.19999980926514},{"duration":501.80000019073486,"initiatorType":"script","name":"https://jira.mariadb.org/s/d41d8cd98f00b204e9800998ecf8427e-CDN/lu2cib/820016/12ta74/1.0/_/download/batch/jira.webresources:calendar-en/jira.webresources:calendar-en.js","startTime":325.2999997138977,"connectEnd":325.2999997138977,"connectStart":325.2999997138977,"domainLookupEnd":325.2999997138977,"domainLookupStart":325.2999997138977,"fetchStart":325.2999997138977,"redirectEnd":0,"redirectStart":0,"requestStart":325.2999997138977,"responseEnd":827.0999999046326,"responseStart":827.0999999046326,"secureConnectionStart":325.2999997138977},{"duration":502.7999997138977,"initiatorType":"script","name":"https://jira.mariadb.org/s/d41d8cd98f00b204e9800998ecf8427e-CDN/lu2cib/820016/12ta74/1.0/_/download/batch/jira.webresources:calendar-localisation-moment/jira.webresources:calendar-localisation-moment.js","startTime":325.5,"connectEnd":325.5,"connectStart":325.5,"domainLookupEnd":325.5,"domainLookupStart":325.5,"fetchStart":325.5,"redirectEnd":0,"redirectStart":0,"requestStart":325.5,"responseEnd":828.2999997138977,"responseStart":828.2999997138977,"secureConnectionStart":325.5},{"duration":578.4000000953674,"initiatorType":"link","name":"https://jira.mariadb.org/s/b04b06a02d1959df322d9cded3aeecc1-CDN/lu2cib/820016/12ta74/a2ff6aa845ffc9a1d22fe23d9ee791fc/_/download/contextbatch/css/jira.global.look-and-feel,-_super/batch.css","startTime":325.69999980926514,"connectEnd":0,"connectStart":0,"domainLookupEnd":0,"domainLookupStart":0,"fetchStart":325.69999980926514,"redirectEnd":0,"redirectStart":0,"requestStart":0,"responseEnd":904.0999999046326,"responseStart":0,"secureConnectionStart":0},{"duration":503.7999997138977,"initiatorType":"script","name":"https://jira.mariadb.org/rest/api/1.0/shortcuts/820016/47140b6e0a9bc2e4913da06536125810/shortcuts.js?context=issuenavigation&context=issueaction","startTime":325.90000009536743,"connectEnd":325.90000009536743,"connectStart":325.90000009536743,"domainLookupEnd":325.90000009536743,"domainLookupStart":325.90000009536743,"fetchStart":325.90000009536743,"redirectEnd":0,"redirectStart":0,"requestStart":325.90000009536743,"responseEnd":829.6999998092651,"responseStart":829.6999998092651,"secureConnectionStart":325.90000009536743},{"duration":578.4000000953674,"initiatorType":"link","name":"https://jira.mariadb.org/s/3ac36323ba5e4eb0af2aa7ac7211b4bb-CDN/lu2cib/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":326,"connectEnd":0,"connectStart":0,"domainLookupEnd":0,"domainLookupStart":0,"fetchStart":326,"redirectEnd":0,"redirectStart":0,"requestStart":0,"responseEnd":904.4000000953674,"responseStart":0,"secureConnectionStart":0},{"duration":505.59999990463257,"initiatorType":"script","name":"https://jira.mariadb.org/s/5d5e8fe91fbc506585e83ea3b62ccc4b-CDN/lu2cib/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":326.40000009536743,"connectEnd":326.40000009536743,"connectStart":326.40000009536743,"domainLookupEnd":326.40000009536743,"domainLookupStart":326.40000009536743,"fetchStart":326.40000009536743,"redirectEnd":0,"redirectStart":0,"requestStart":326.40000009536743,"responseEnd":832,"responseStart":832,"secureConnectionStart":326.40000009536743},{"duration":1477.2000002861023,"initiatorType":"script","name":"https://jira.mariadb.org/s/d41d8cd98f00b204e9800998ecf8427e-CDN/lu2cib/820016/12ta74/1.0/_/download/batch/jira.webresources:bigpipe-js/jira.webresources:bigpipe-js.js","startTime":350.7999997138977,"connectEnd":350.7999997138977,"connectStart":350.7999997138977,"domainLookupEnd":350.7999997138977,"domainLookupStart":350.7999997138977,"fetchStart":350.7999997138977,"redirectEnd":0,"redirectStart":0,"requestStart":350.7999997138977,"responseEnd":1828,"responseStart":1828,"secureConnectionStart":350.7999997138977},{"duration":1487,"initiatorType":"script","name":"https://jira.mariadb.org/s/d41d8cd98f00b204e9800998ecf8427e-CDN/lu2cib/820016/12ta74/1.0/_/download/batch/jira.webresources:bigpipe-init/jira.webresources:bigpipe-init.js","startTime":351,"connectEnd":351,"connectStart":351,"domainLookupEnd":351,"domainLookupStart":351,"fetchStart":351,"redirectEnd":0,"redirectStart":0,"requestStart":351,"responseEnd":1838,"responseStart":1838,"secureConnectionStart":351},{"duration":905.9000000953674,"initiatorType":"xmlhttprequest","name":"https://jira.mariadb.org/rest/webResources/1.0/resources","startTime":922.7999997138977,"connectEnd":922.7999997138977,"connectStart":922.7999997138977,"domainLookupEnd":922.7999997138977,"domainLookupStart":922.7999997138977,"fetchStart":922.7999997138977,"redirectEnd":0,"redirectStart":0,"requestStart":922.7999997138977,"responseEnd":1828.6999998092651,"responseStart":1828.4000000953674,"secureConnectionStart":922.7999997138977}],"fetchStart":0,"domainLookupStart":0,"domainLookupEnd":0,"connectStart":0,"connectEnd":0,"requestStart":161,"responseStart":317,"responseEnd":338,"domLoading":322,"domInteractive":1932,"domContentLoadedEventStart":1932,"domContentLoadedEventEnd":1979,"domComplete":2797,"loadEventStart":2797,"loadEventEnd":2798,"userAgent":"Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)","marks":[{"name":"bigPipe.sidebar-id.start","time":1910.1999998092651},{"name":"bigPipe.sidebar-id.end","time":1911},{"name":"bigPipe.activity-panel-pipe-id.start","time":1911.1999998092651},{"name":"bigPipe.activity-panel-pipe-id.end","time":1912.4000000953674},{"name":"activityTabFullyLoaded","time":1993.9000000953674}],"measures":[],"correlationId":"2a35bc5da69b6b","effectiveType":"4g","downlink":9.5,"rtt":0,"serverDuration":99,"dbReadsTimeInMs":14,"dbConnsTimeInMs":23,"applicationHash":"9d11dbea5f4be3d4cc21f03a88dd11d8c8687422","experiments":[]}}