LFS usage increased 1GB in a day without any changes to repos #189063
Replies: 7 comments 2 replies
-
|
Git LFS storage can increase even if you didn’t change any files in the repository. A few things can cause this:
Unfortunately, GitHub does not provide a very detailed per-object audit log for LFS storage changes, so it can be difficult to track exactly which files increased usage. To investigate further you can try:
If the usage reports still do not match the billing numbers after some time, it may be worth contacting GitHub Support with the usage report and timestamps so they can verify whether it is a reporting delay or a billing issue. |
Beta Was this translation helpful? Give feedback.
-
|
Hey man , I think LFS storage doesn’t only increase when files change. A few common causes: Sadly GitHub doesn’t provide a great audit log for LFS objects, so tracking the exact source can be tricky. |
Beta Was this translation helpful? Give feedback.
-
|
I got the same email. |
Beta Was this translation helpful? Give feedback.
-
|
Same here. I received the same email, the size is increasing by the hour. I'm not even using github in my projects. I think it should be some sort of bug. |
Beta Was this translation helpful? Give feedback.
-
|
Same issue here, also received the same emails yesterday and today. Haven't even touched github in 6 months. |
Beta Was this translation helpful? Give feedback.
-
|
How can we escalate this to someone at github so they can see what's going on... |
Beta Was this translation helpful? Give feedback.
-
|
Helping with Questions and Answers Summary of the Problem Root Cause Analysis New Billing System: GitHub is transitioning accounts from the old "Data Packs" model to a new platform where billing is based on actual usage and managed via budgets . Default Budget of $0: For many accounts migrated to this new system (especially free organizations), the default budget for LFS is set to $0 . This means that if your usage exceeds the new, increased included limit for your plan, the budget stops all access and reports the account as over-quota, even if your actual stored data hasn't changed. UI Discrepancy: This transition explains why you cannot see a per-repo breakdown in the billing UI anymore; the interface has changed for many users . The usage report export might still show old data or be cached, while the billing system reflects the new budget enforcement. Step-by-Step Solution Guide Step 1: Check Your Budget Settings Navigate to your Organization settings. Click on Billing and licensing. Look for a section called Budget and alerts . Find the budget for Git LFS. If it is set to $0, this is the problem. Solution: Either increase the budget to a positive amount (you may need to add a payment method) or uncheck the box that says "Stop when budget exceeded" to disable the limit entirely . This will immediately restore access and stop the false "over quota" alerts. Step 2: Understand the New Included Usage Step 3: Request a Manual Cleanup (If Necessary) Contact GitHub Support: Open a ticket with GitHub Support . Explain that you have cleaned up your repository locally but your LFS quota is still full. They can manually clean up unreferenced Git LFS objects on the remote server for you . This is often the only way to clear space taken up by "phantom" files that are stored in GitHub's backend but not in your current repository tree. Support Link: You can create a support ticket here: https://support.github.com/contact/account Step 4: Ask for Account Migration (If on Old System) Contact GitHub Support: Ask them to manually migrate your organization to the new billing platform . Once migrated, you will have access to the budget controls mentioned in Step 1. How to Find "Phantom" Usage Export Reports: The fact that your export report showed no change confirms that the files attached to your current repository commits are stable. The increase is almost certainly coming from a billing policy change or unreferenced objects in the backend. Summary: The sudden 1GB increase is almost certainly a billing policy enforcement issue, not a data storage issue. The primary fix is to adjust your LFS budget settings to a non-zero value or disable the limit. |
Beta Was this translation helpful? Give feedback.
Uh oh!
There was an error while loading. Please reload this page.
-
Select Topic Area
Question
Body
I tried doing an export of a usageReport and the data there does not match what billing says. The site doesn't show LFS by repo anymore.
Yesterday I got an e-mail
[GitHub] You have used 90% of the Git LFS storage included
Today I got another e-mail
[GitHub] You have used 100% of the Git LFS storage included
A 1GB increase without any changes to repo files.
When I exported the usageReport I compared the git_lfs git_lfs_storage for repos in our org per day and their quantity did not change. So what's going on? How does LFS usage go up in a day without any repos being changed? Phantom files somewhere somehow? A bug with github and LFS storage totals? How can I figure out where the actual usage is? Is there an audit log somewhere for LFS changes?
Beta Was this translation helpful? Give feedback.
All reactions