I've eyeballed the cache size accounting looking for big discrepancies, so I can say it's at least mostly right over short-term usage. We need to do this in code though. I would suggest, at least while we're debugging, adding a signal handler for USR2 (or USR1, whatever), that makes Cache list it's dirs, sum up the actual sizes of objects stored, and compare that against its current stored value.
Looks like there is in fact a small accounting error somewhere. There are a limited # of places where the accounting is changed, shouldn't be that hard to find.
Patrick LeBlanc (Inactive)
added a comment - Looks like there is in fact a small accounting error somewhere. There are a limited # of places where the accounting is changed, shouldn't be that hard to find.
Current suspicion is that the SM toolkit is the culprit. Since it doesn't go through SM to do those ops, but uses the cache and journal dirs, it creates differences SM doesn't know about. Otherwise accounting may be OK.
Will put this on hold and will reevaluate once the SM tools are fixed.
Patrick LeBlanc (Inactive)
added a comment - Current suspicion is that the SM toolkit is the culprit. Since it doesn't go through SM to do those ops, but uses the cache and journal dirs, it creates differences SM doesn't know about. Otherwise accounting may be OK.
Will put this on hold and will reevaluate once the SM tools are fixed.
I haven't seen anything to make me think there is a problem since I fixed the SM toolkit, so I'll close this now.
Patrick LeBlanc (Inactive)
added a comment - I haven't seen anything to make me think there is a problem since I fixed the SM toolkit, so I'll close this now.
People
Patrick LeBlanc (Inactive)
Patrick LeBlanc (Inactive)
Votes:
0Vote for this issue
Watchers:
1Start watching this issue
Dates
Created:
Updated:
Resolved:
Git Integration
Error rendering 'com.xiplink.jira.git.jira_git_plugin:git-issue-webpanel'. Please contact your Jira administrators.
{"report":{"fcp":1579.1999998092651,"ttfb":264.59999990463257,"pageVisibility":"visible","entityId":76626,"key":"jira.project.issue.view-issue","isInitial":true,"threshold":1000,"elementTimings":{},"userDeviceMemory":8,"userDeviceProcessors":64,"apdex":0.5,"journeyId":"b5dec943-ffa4-49cc-b984-c32a84f5aa77","navigationType":0,"readyForUser":1644.4000000953674,"redirectCount":0,"resourceLoadedEnd":1350.7999997138977,"resourceLoadedStart":269.69999980926514,"resourceTiming":[{"duration":661.4000000953674,"initiatorType":"link","name":"https://jira.mariadb.org/s/2c21342762a6a02add1c328bed317ffd-CDN/lu2cib/820016/12ta74/0a8bac35585be7fc6c9cc5a0464cd4cf/_/download/contextbatch/css/_super/batch.css","startTime":269.69999980926514,"connectEnd":0,"connectStart":0,"domainLookupEnd":0,"domainLookupStart":0,"fetchStart":269.69999980926514,"redirectEnd":0,"redirectStart":0,"requestStart":0,"responseEnd":931.0999999046326,"responseStart":0,"secureConnectionStart":0},{"duration":661.4000000953674,"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":270,"connectEnd":0,"connectStart":0,"domainLookupEnd":0,"domainLookupStart":0,"fetchStart":270,"redirectEnd":0,"redirectStart":0,"requestStart":0,"responseEnd":931.4000000953674,"responseStart":0,"secureConnectionStart":0},{"duration":836.5,"initiatorType":"script","name":"https://jira.mariadb.org/s/0917945aaa57108d00c5076fea35e069-CDN/lu2cib/820016/12ta74/0a8bac35585be7fc6c9cc5a0464cd4cf/_/download/contextbatch/js/_super/batch.js?locale=en","startTime":270.09999990463257,"connectEnd":270.09999990463257,"connectStart":270.09999990463257,"domainLookupEnd":270.09999990463257,"domainLookupStart":270.09999990463257,"fetchStart":270.09999990463257,"redirectEnd":0,"redirectStart":0,"requestStart":946,"responseEnd":1106.5999999046326,"responseStart":968.7999997138977,"secureConnectionStart":270.09999990463257},{"duration":1018.1000003814697,"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":270.2999997138977,"connectEnd":270.2999997138977,"connectStart":270.2999997138977,"domainLookupEnd":270.2999997138977,"domainLookupStart":270.2999997138977,"fetchStart":270.2999997138977,"redirectEnd":0,"redirectStart":0,"requestStart":945.4000000953674,"responseEnd":1288.4000000953674,"responseStart":966,"secureConnectionStart":270.2999997138977},{"duration":700.7999997138977,"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":270.40000009536743,"connectEnd":270.40000009536743,"connectStart":270.40000009536743,"domainLookupEnd":270.40000009536743,"domainLookupStart":270.40000009536743,"fetchStart":270.40000009536743,"redirectEnd":0,"redirectStart":0,"requestStart":946.0999999046326,"responseEnd":971.1999998092651,"responseStart":969.5,"secureConnectionStart":270.40000009536743},{"duration":705.5,"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":270.69999980926514,"connectEnd":270.69999980926514,"connectStart":270.69999980926514,"domainLookupEnd":270.69999980926514,"domainLookupStart":270.69999980926514,"fetchStart":270.69999980926514,"redirectEnd":0,"redirectStart":0,"requestStart":947.6999998092651,"responseEnd":976.1999998092651,"responseStart":972.5,"secureConnectionStart":270.69999980926514},{"duration":705.1000003814697,"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":270.7999997138977,"connectEnd":270.7999997138977,"connectStart":270.7999997138977,"domainLookupEnd":270.7999997138977,"domainLookupStart":270.7999997138977,"fetchStart":270.7999997138977,"redirectEnd":0,"redirectStart":0,"requestStart":947.5999999046326,"responseEnd":975.9000000953674,"responseStart":971.6999998092651,"secureConnectionStart":270.7999997138977},{"duration":668.7999997138977,"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":271,"connectEnd":0,"connectStart":0,"domainLookupEnd":0,"domainLookupStart":0,"fetchStart":271,"redirectEnd":0,"redirectStart":0,"requestStart":0,"responseEnd":939.7999997138977,"responseStart":0,"secureConnectionStart":0},{"duration":705.2000002861023,"initiatorType":"script","name":"https://jira.mariadb.org/rest/api/1.0/shortcuts/820016/47140b6e0a9bc2e4913da06536125810/shortcuts.js?context=issuenavigation&context=issueaction","startTime":271.19999980926514,"connectEnd":271.19999980926514,"connectStart":271.19999980926514,"domainLookupEnd":271.19999980926514,"domainLookupStart":271.19999980926514,"fetchStart":271.19999980926514,"redirectEnd":0,"redirectStart":0,"requestStart":947.9000000953674,"responseEnd":976.4000000953674,"responseStart":973.2999997138977,"secureConnectionStart":271.19999980926514},{"duration":669.1000003814697,"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":271.2999997138977,"connectEnd":0,"connectStart":0,"domainLookupEnd":0,"domainLookupStart":0,"fetchStart":271.2999997138977,"redirectEnd":0,"redirectStart":0,"requestStart":0,"responseEnd":940.4000000953674,"responseStart":0,"secureConnectionStart":0},{"duration":705.1999998092651,"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":271.40000009536743,"connectEnd":271.40000009536743,"connectStart":271.40000009536743,"domainLookupEnd":271.40000009536743,"domainLookupStart":271.40000009536743,"fetchStart":271.40000009536743,"redirectEnd":0,"redirectStart":0,"requestStart":948,"responseEnd":976.5999999046326,"responseStart":973.9000000953674,"secureConnectionStart":271.40000009536743},{"duration":1004.5999999046326,"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":276.90000009536743,"connectEnd":276.90000009536743,"connectStart":276.90000009536743,"domainLookupEnd":276.90000009536743,"domainLookupStart":276.90000009536743,"fetchStart":276.90000009536743,"redirectEnd":0,"redirectStart":0,"requestStart":1200.6999998092651,"responseEnd":1281.5,"responseStart":1279,"secureConnectionStart":276.90000009536743},{"duration":1073.7999997138977,"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":277,"connectEnd":277,"connectStart":277,"domainLookupEnd":277,"domainLookupStart":277,"fetchStart":277,"redirectEnd":0,"redirectStart":0,"requestStart":1339.5999999046326,"responseEnd":1350.7999997138977,"responseStart":1349.5999999046326,"secureConnectionStart":277},{"duration":153.2999997138977,"initiatorType":"xmlhttprequest","name":"https://jira.mariadb.org/rest/webResources/1.0/resources","startTime":1267,"connectEnd":1267,"connectStart":1267,"domainLookupEnd":1267,"domainLookupStart":1267,"fetchStart":1267,"redirectEnd":0,"redirectStart":0,"requestStart":1383.4000000953674,"responseEnd":1420.2999997138977,"responseStart":1419.2999997138977,"secureConnectionStart":1267}],"fetchStart":0,"domainLookupStart":0,"domainLookupEnd":0,"connectStart":0,"connectEnd":0,"requestStart":100,"responseStart":264,"responseEnd":270,"domLoading":268,"domInteractive":1736,"domContentLoadedEventStart":1737,"domContentLoadedEventEnd":1784,"domComplete":2458,"loadEventStart":2458,"loadEventEnd":2459,"userAgent":"Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)","marks":[{"name":"bigPipe.sidebar-id.start","time":1714.5999999046326},{"name":"bigPipe.sidebar-id.end","time":1715.5},{"name":"bigPipe.activity-panel-pipe-id.start","time":1715.5999999046326},{"name":"bigPipe.activity-panel-pipe-id.end","time":1716.9000000953674},{"name":"activityTabFullyLoaded","time":1805}],"measures":[],"correlationId":"42a48391dd52d8","effectiveType":"4g","downlink":10,"rtt":0,"serverDuration":96,"dbReadsTimeInMs":11,"dbConnsTimeInMs":25,"applicationHash":"9d11dbea5f4be3d4cc21f03a88dd11d8c8687422","experiments":[]}}
Looks like there is in fact a small accounting error somewhere. There are a limited # of places where the accounting is changed, shouldn't be that hard to find.