• Re: poudriere-devel and tmpfs use by inactive builders: an example

    From Bryan Drewery@bdrewery@FreeBSD.org to muc.lists.freebsd.ports on Fri May 8 20:02:33 2026
    From Newsgroup: muc.lists.freebsd.ports

    On 4/30/26 1:15 PM, Bryan Drewery wrote:
    On 4/30/26 2:43 AM, Tatsuki Makino wrote:
    Hello.

    When jobid03 is running and jobid06 has finished its work and is on
    standby, the environment of jobid06 remains intact, which means that
    tmpfs continues to use memory.
    When looking inside
    /usr/local/poudriere/data/.m/main-CA76-default/06/var/db/pkg/local.sqlite, >> all the packages installed as dependencies of the last built port
    remain installed, and if llvm19 are installed, it seems to consume as
    much as 2GB.

    ...isn't it right?


    Yes the cleanup only happens at the start of a package build. So it is possible for wasted space/memory after a build is done.

    I'll review and consider cleaning up the tmpfs at the end of
    build_pkg() as well.

    Bryan

    I logged it over at https://github.com/freebsd/poudriere/issues/1344 and
    have a potential patch there that I haven't had time to test yet.
    There's an unlikely error case to finish but it otherwise should work.



    --
    Posted automagically by a mail2news gateway at muc.de e.V.
    Please direct questions, flames, donations, etc. to news-admin@muc.de
    --- Synchronet 3.22a-Linux NewsLink 1.2