Re: Running out of inodes on an NFS which stores repos
- From
brian m. carlson <sandals@crustytoothpaste.net>
- Date
- Sep 9, 2025, 00:29 UTC
- Message-ID
- <aL904XGUmXmnyXGl@fruit.crustytoothpaste.net>
- In-Reply-To
- <DCN87S14V9G8.3BAV5XX1BDHKM@gmail.com>
On 2025-09-08 at 07:05:08, Kousik Sanagavarapu wrote:
Show 12 quoted lines
> Yes, I have now set the following config surrounding gc > > [receive] > autogc = true > [gc] > auto = 1 > autopacklimit = 1 > > Curious to know if this will have any noticable performance impact > though. As I mentioned in my previous msg, these are small repos but the > number of repos being created and the operations performed on them are > large - mostly pushes,
The `transfer.unpackLimit` will not have any impact; it's in use at at least some major forges. Packed objects can use things like bitmaps and other functionality, which forges like for performance.
The gc settings you have will cause everything to repacked after every push, and repacking data can be quite expensive. At work, we repack after about every 40 pushes or so. You may wish to use a different value.
-- brian m. carlson (they/them) Toronto, Ontario, CA