We’re collecting some useful advice for people running mastodon servers, some of which we’ve learned running fully-managed mastodon servers for our customers.
Understanding Mastodon storage usage
How your mastodon server calculates storage used, and how to clean up old cache.
{"docsConfig":{"$schema":"https://mintlify.com/docs.json","theme":"mint","name":"mastodon.site","colors":{"primary":"#9563FF","light":"#AE87FF","dark":"#0D001D"},"favicon":"https://mintcdn.com/mastodon-site/Dpl0N57TLKViUlk6/favicon.png?fit=max\u0026auto=format\u0026n=Dpl0N57TLKViUlk6\u0026q=85\u0026s=c87399729c9d60017298892334889930","logo":{"light":"https://mintcdn.com/mastodon-site/Dpl0N57TLKViUlk6/logo/logo-light.png?fit=max\u0026auto=format\u0026n=Dpl0N57TLKViUlk6\u0026q=85\u0026s=091e096fff1b037f080eee3029e91020","dark":"https://mintcdn.com/mastodon-site/Dpl0N57TLKViUlk6/logo/logo-dark.png?fit=max\u0026auto=format\u0026n=Dpl0N57TLKViUlk6\u0026q=85\u0026s=472f8cd9e8d2a87f8b6d0f764370cc44"},"background":{"decoration":null,"color":{"light":null,"dark":"#090014"}},"navbar":{"links":[{"label":"Service status 🚦","href":"https://status.mastodon.site"}],"primary":{"type":"button","label":"Support 🛟","href":"https://mastodon.site/support/overview"}},"integrations":{"plausible":{"domain":"mastodon.site"}},"styling":{"latex":false},"navigation":{"global":{"anchors":[{"anchor":"Join social.mastodon.site","href":"https://social.mastodon.site","icon":"mastodon"},{"anchor":"mastodon.site blog","href":"https://mastodon.site/blog/latest","icon":"newspaper"}]},"pages":[]}},"deployment":{"deploymentMetadataValue":{"subdomain":"mastodon-site","hasAudioNarration":false,"actualSubdomain":"mastodon-site","customDomains":["mastodon.site"],"gitSource":{"type":"github","owner":"mastodon-site","repo":"site","deployBranch":"main","contentDirectory":"","isPrivate":false,"mountPath":"","label":""},"entitlements":{},"buildId":"6aa3e9b676d03ab7ea54c1d3","clientVersion":"0.0.4143","searchFilterCounts":[{"language":"default","tag":"Home","count":8},{"language":"default","tag":"Mastodon admins","count":6},{"language":"default","tag":"mastodon.site support","count":6},{"language":"default","tag":"Get Started","count":3},{"language":"default","tag":"Managed Mastodon","count":3},{"language":"default","tag":"Learn","count":2}]},"assistantConfig":{},"basePath":"","hasChatPermissions":false,"hasWebMcpPermissions":false,"toggles":[],"googleFontsInlined":false},"customCss":[],"page":{"pagePath":"admins","slug":"/admins","pageMetadata":{"title":"Help for mastodon admins","description":"Tips and tricks to manage a mastodon server","icon":"screwdriver-wrench","href":"/admins/index"},"description":{"compiledSource":"\"use strict\";\nconst {jsx: _jsx} = arguments[0];\nconst {useMDXComponents: _provideComponents} = arguments[0];\nfunction _createMdxContent(props) {\n const _components = {\n p: \"p\",\n ..._provideComponents(),\n ...props.components\n };\n return _jsx(_components.p, {\n children: \"Tips and tricks to manage a mastodon server\"\n });\n}\nfunction MDXContent(props = {}) {\n const {wrapper: MDXLayout} = {\n ..._provideComponents(),\n ...props.components\n };\n return MDXLayout ? _jsx(MDXLayout, {\n ...props,\n children: _jsx(_createMdxContent, {\n ...props\n })\n }) : _createMdxContent(props);\n}\nreturn {\n default: MDXContent\n};\n","frontmatter":{},"scope":{}},"pageType":"default","mdx":{"mdxSource":{"compiledSource":"\"use strict\";const{Fragment:_Fragment,jsx:_jsx,jsxs:_jsxs}=arguments[0];const{useMDXComponents:_provideComponents}=arguments[0];function _createMdxContent(props){const _components={a:`a`,p:`p`,..._provideComponents(),...props.components},{Card}=_components;if(!Card)_missingMdxReference(`Card`,true);return _jsxs(_Fragment,{children:[_jsxs(_components.p,{children:[`We’re collecting some useful advice for people running mastodon servers, some of which we’ve learned running `,_jsx(_components.a,{href:`/mastodon-servers`,children:`fully-managed mastodon servers`}),` for our customers.`]}),`\n`,_jsx(Card,{title:`Understanding Mastodon storage usage`,icon:`leanpub`,iconType:`duotone`,color:`#069069`,href:`/admins/understanding-space-usage`,children:_jsx(_components.p,{children:`How your mastodon server calculates storage used, and how to clean up old cache.`})})]})}function MDXContent(props={}){const{wrapper:MDXLayout}={..._provideComponents(),...props.components};return MDXLayout?_jsx(MDXLayout,{...props,children:_jsx(_createMdxContent,{...props})}):_createMdxContent(props)}return{default:MDXContent};function _missingMdxReference(id,component){throw new Error(`Expected `+(component?`component`:`object`)+\" `\"+id+\"` to be defined: you likely forgot to import, pass, or provide it.\")}","frontmatter":{},"scope":{"config":{},"pageMetadata":{"title":"Help for mastodon admins","description":"Tips and tricks to manage a mastodon server","icon":"screwdriver-wrench","href":"/admins/index"}}},"mdxSourceWithNoJs":null},"mdxExtracts":{"tableOfContents":[],"codeExamples":{}},"jsLinks":[],"subdomain":"mastodon-site","siteName":"mastodon.site","title":"Help for mastodon admins - mastodon.site","navMaps":{"firstHrefInVersion":{},"firstHrefInLanguage":{}},"lastModified":"2026-01-06T22:59:52.496Z","originalFileLocation":"admins/index.mdx"},"headHtml":"\u003cscript data-mint-head>(function(){var d=document.documentElement,p=null;if(!p){try{p=localStorage.getItem(\"isDarkMode\")}catch(e){}if(p==='true')p='dark';else if(p==='false')p='light';if(p!=='light'\u0026\u0026p!=='dark'\u0026\u0026p!=='system')p=\"system\"}var r=p==='system'?(matchMedia(\"(prefers-color-scheme: dark)\").matches?'dark':'light'):p;d.classList.remove(r==='dark'?'light':'dark');d.classList.add(r);d.setAttribute(\"data-theme-preference\",p)})();\u003c/script>\u003cmeta data-mint-head name=\"description\" content=\"Tips and tricks to manage a mastodon server\">\u003cmeta data-mint-head name=\"application-name\" content=\"mastodon.site\">\u003cmeta data-mint-head name=\"generator\" content=\"Mintlify\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"192x192\" href=\"/mintlify-assets/_mintlify/favicons/mastodon-site/fmAdIpqQkVSLYsRa/_generated/favicon/android-chrome-192x192.png\" media=\"(prefers-color-scheme: light)\">\u003clink data-mint-head rel=\"apple-touch-icon\" type=\"image/png\" sizes=\"180x180\" href=\"/mintlify-assets/_mintlify/favicons/mastodon-site/fmAdIpqQkVSLYsRa/_generated/favicon/apple-touch-icon.png\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"16x16\" href=\"/mintlify-assets/_mintlify/favicons/mastodon-site/fmAdIpqQkVSLYsRa/_generated/favicon/favicon-16x16.png\" media=\"(prefers-color-scheme: light)\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"32x32\" href=\"/mintlify-assets/_mintlify/favicons/mastodon-site/fmAdIpqQkVSLYsRa/_generated/favicon/favicon-32x32.png\" media=\"(prefers-color-scheme: light)\">\u003clink data-mint-head rel=\"shortcut icon\" type=\"image/x-icon\" href=\"/mintlify-assets/_mintlify/favicons/mastodon-site/fmAdIpqQkVSLYsRa/_generated/favicon/favicon.ico\" media=\"(prefers-color-scheme: light)\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"192x192\" href=\"/mintlify-assets/_mintlify/favicons/mastodon-site/fmAdIpqQkVSLYsRa/_generated/favicon-dark/android-chrome-192x192.png\" media=\"(prefers-color-scheme: dark)\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"16x16\" href=\"/mintlify-assets/_mintlify/favicons/mastodon-site/fmAdIpqQkVSLYsRa/_generated/favicon-dark/favicon-16x16.png\" media=\"(prefers-color-scheme: dark)\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"32x32\" href=\"/mintlify-assets/_mintlify/favicons/mastodon-site/fmAdIpqQkVSLYsRa/_generated/favicon-dark/favicon-32x32.png\" media=\"(prefers-color-scheme: dark)\">\u003clink data-mint-head rel=\"shortcut icon\" type=\"image/x-icon\" href=\"/mintlify-assets/_mintlify/favicons/mastodon-site/fmAdIpqQkVSLYsRa/_generated/favicon-dark/favicon.ico\" media=\"(prefers-color-scheme: dark)\">\u003cmeta data-mint-head property=\"og:title\" content=\"Help for mastodon admins - mastodon.site\">\u003cmeta data-mint-head property=\"og:description\" content=\"Tips and tricks to manage a mastodon server\">\u003cmeta data-mint-head property=\"og:site_name\" content=\"mastodon.site\">\u003cmeta data-mint-head property=\"og:url\" content=\"https://mastodon.site/admins\">\u003cmeta data-mint-head property=\"og:type\" content=\"website\">\u003cmeta data-mint-head property=\"og:image\" content=\"https://mastodon-site.mintlify.site/_mintlify/api/og/v2?division=Mastodon+admins\u0026amp;title=Help+for+mastodon+admins\u0026amp;description=Tips+and+tricks+to+manage+a+mastodon+server\u0026amp;theme=d6ddd988319dac478080e991\u0026amp;signature=9169e7746d9f748ff615c8be5e3e6c3ba8e8a986919a06cf9f411dc5b2f6d6d8\">\u003cmeta data-mint-head property=\"og:image:width\" content=\"1200\">\u003cmeta data-mint-head property=\"og:image:height\" content=\"630\">\u003cmeta data-mint-head name=\"twitter:card\" content=\"summary_large_image\">\u003cmeta data-mint-head name=\"twitter:title\" content=\"Help for mastodon admins - mastodon.site\">\u003cmeta data-mint-head name=\"twitter:description\" content=\"Tips and tricks to manage a mastodon server\">\u003cmeta data-mint-head name=\"twitter:image\" content=\"https://mastodon-site.mintlify.site/_mintlify/api/og/v2?division=Mastodon+admins\u0026amp;title=Help+for+mastodon+admins\u0026amp;description=Tips+and+tricks+to+manage+a+mastodon+server\u0026amp;theme=d6ddd988319dac478080e991\u0026amp;signature=9169e7746d9f748ff615c8be5e3e6c3ba8e8a986919a06cf9f411dc5b2f6d6d8\">\u003cmeta data-mint-head name=\"twitter:image:width\" content=\"1200\">\u003cmeta data-mint-head name=\"twitter:image:height\" content=\"630\">\u003cmeta data-mint-head name=\"msapplication-config\" content=\"/mintlify-assets/_mintlify/favicons/mastodon-site/fmAdIpqQkVSLYsRa/_generated/favicon/browserconfig.xml\">\u003cmeta data-mint-head name=\"apple-mobile-web-app-title\" content=\"mastodon.site\">\u003cmeta data-mint-head name=\"msapplication-TileColor\" content=\"#9563FF\">\u003clink data-mint-head rel=\"canonical\" href=\"https://mastodon.site/admins\">\u003clink data-mint-head rel=\"alternate\" type=\"application/xml\" href=\"/sitemap.xml\">\u003clink data-mint-head rel=\"alternate\" type=\"text/markdown\" href=\"/admins.md\">\u003cscript data-mint-head type=\"application/ld+json\">{\"@context\":\"https://schema.org\",\"@graph\":[{\"@type\":\"Organization\",\"@id\":\"https://mastodon.site/#organization\",\"name\":\"mastodon.site\",\"url\":\"https://mastodon.site\",\"logo\":{\"@type\":\"ImageObject\",\"url\":\"https://mintcdn.com/mastodon-site/Dpl0N57TLKViUlk6/logo/logo-light.png?fit=max\u0026auto=format\u0026n=Dpl0N57TLKViUlk6\u0026q=85\u0026s=091e096fff1b037f080eee3029e91020\"}},{\"@type\":\"WebSite\",\"@id\":\"https://mastodon.site#website\",\"name\":\"mastodon.site\",\"url\":\"https://mastodon.site\",\"publisher\":{\"@id\":\"https://mastodon.site/#organization\"}},{\"@type\":\"WebPage\",\"@id\":\"https://mastodon.site/admins#webpage\",\"url\":\"https://mastodon.site/admins\",\"name\":\"Help for mastodon admins\",\"description\":\"Tips and tricks to manage a mastodon server\",\"dateModified\":\"2026-01-06T22:59:52.496Z\",\"isPartOf\":{\"@id\":\"https://mastodon.site#website\"},\"breadcrumb\":{\"@id\":\"https://mastodon.site/admins#breadcrumb\"}},{\"@type\":\"BreadcrumbList\",\"@id\":\"https://mastodon.site/admins#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"mastodon.site\",\"item\":\"https://mastodon.site\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"Help for mastodon admins\",\"item\":\"https://mastodon.site/admins\"}]},{\"@type\":[\"Article\",\"TechArticle\"],\"@id\":\"https://mastodon.site/admins#article\",\"headline\":\"Help for mastodon admins\",\"name\":\"Help for mastodon admins\",\"description\":\"Tips and tricks to manage a mastodon server\",\"url\":\"https://mastodon.site/admins\",\"mainEntityOfPage\":{\"@id\":\"https://mastodon.site/admins#webpage\"},\"dateModified\":\"2026-01-06T22:59:52.496Z\",\"publisher\":{\"@id\":\"https://mastodon.site/#organization\"},\"isPartOf\":{\"@id\":\"https://mastodon.site#website\"}}]}\u003c/script>\u003cscript data-mint-head type=\"application/ld+json\">{\"@context\":\"https://schema.org\",\"@type\":\"WebSite\",\"name\":\"mastodon.site\",\"publisher\":{\"@type\":\"Organization\",\"name\":\"mastodon.site\"},\"provider\":{\"@type\":\"Organization\",\"name\":\"Mintlify\",\"url\":\"https://mintlify.com\"}}\u003c/script>","agentPointerHref":"/admins.md","siteName":"mastodon.site","nav":{"global":{"anchors":[{"anchor":"Join social.mastodon.site","href":"https://social.mastodon.site","icon":"mastodon"},{"anchor":"mastodon.site blog","href":"https://mastodon.site/blog/latest","icon":"newspaper"}]},"tabs":[{"tab":"Home","pages":[{"title":"Home","href":"/overview"}]},{"tab":"Mastodon admins","groups":[{"group":"Mastodon admins","pages":[{"title":"Help for mastodon admins","icon":"screwdriver-wrench","href":"/admins"},{"title":"Mastodon relays","description":"What they are and why you might want to enable them","icon":"screwdriver-wrench","href":"/admins/relays"},{"title":"Understanding space usage","icon":"floppy-disk","href":"/admins/understanding-space-usage"}]}]},{"tab":"mastodon.site support","pages":[{"title":"mastodon.site support","href":"/support/overview"}]}]},"basePath":"","title":"Help for mastodon admins - mastodon.site","buildId":"dpl_Fyv1NbzwP68g2bEH2Roy98uY1zmE","deploymentId":"dpl_Fyv1NbzwP68g2bEH2Roy98uY1zmE","dynamics":[],"chunks":[]}