On Mon, Apr 21, 2025 at 04:25:16AM +0300, Sulev-Madis Silber wrote:
i have long running issue in my 13.4 box (amd64)
others don't get it at all and only suggest adding more than 4g ram
it manifests as some mmap or other problems i don't really get
basically unrestricted git consumes all the memory.
I see symptoms like this on very slow media. That media might
be inherently slow (like microSD) or it might mean the hd/ssd is
worn out [1]. Programs like git and subversion read and write lots of
small files, and the os/filesystem might not be able to write
to slow media as fast as git would like.
[1] observed failure mode of some hardware, where writes just
get slower and slower.
[2] the workaround where the machine *has* to use micro sd, in my
example, to update ports, was to download latest ports.tar.xz and
unzip it, rather than use git.
[3] test hd performance with fio (/usr/ports/benchmarks/fio)
--