[Bug 254210] jail: nullfs: deleted files does not free up space

From: <bugzilla-noreply_at_freebsd.org>
Date: Sat, 29 Mar 2025 12:49:59 UTC
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=254210

Danilo G. Baio <dbaio@freebsd.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|Closed                      |Open
         Resolution|FIXED                       |---

--- Comment #18 from Danilo G. Baio <dbaio@freebsd.org> ---
Hi,

I'm reopening this and trying to find a way to reproduce it, but it's very
weird. Sometimes it happens, and sometimes it doesn't.

We have this on our git/cgit mirrors:
% cat /etc/fstab.cgit
/j/jails/gitmir/home/git/ /j/jails/cgit/home/git/ nullfs ro,nocache 0 0

I've tried both with nocache and without it.

So, the second jail (cgit) only reads the files and starts several fcgiwrap
processes. Stopping all the processes in the jail doesn't solve the problem; I
need to restart the second jail to free up space.

The primary jail is constantly writing and changing things. It's basically
running a git pull/fetch repeatedly (10-second interval) for the src/doc/ports
repositories.

-- 
You are receiving this mail because:
You are on the CC list for the bug.