Re: poudriere-devel and tmpfs use by inactive builders: an example
Tatsuki Makino <[email protected]>
| Newsgroups | gmane.os.freebsd.devel.ports |
|---|---|
| Message-ID | <SI2PR01MB5036AA6058A7A8087286AC2BFA302@SI2PR01MB5036.apcprd01.prod.exchangelabs.com> |
Thank you very much. However, it seems that the maximum amount of memory used does not change, regardless of the timing of cleanup. So, the number of builders should not be too high, and running them without swaps like I do is completely out of the question :) Regards. On 2026/05/01 5:15, Bryan Drewery wrote: > On 4/30/26 2:43 AM, Tatsuki Makino wrote: >> 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