Re: How to explain high memory consumption of a jail after all large processed in it have finished?
Date: Mon, 16 Sep 2024 05:41:08 UTC
On 2024-09-12 11:45, Yuri wrote: > I noticed that when the port lang/rust is building in the poudriere jail the > memory consumption of the host system remains high all the way into the > packaging > phase when the pkg-static process is the only active process and it consumes > a > very little memory. > > > During build a lot of memory is consumed, which is understandable. The > system > remains at ~500MB of free memory through the build process, according to > top(1). > > > But once the build is finished, poudriere goes into the "packaging" phase > which > only runs a small pkg-static process that compresses the built files. > pkg-static > is the only active process in the poudriere jail. > > > What looks strange to me is that the host system's memory consumption > remains high > through the "packaging" phase which itself is low in memory, and only goes > down > when the jail is destroyed. > > > How to explain the high memory consumption of a jail after all large presses > have finished? Apologies in advance if already addressed, but I'm way behind on my email. I'm gonna guess the compression stage is responsible. My experience shows it really chews through CPU cycles, and as a result memory. --Chris > > > > Thanks, > > Yuri -- sent from a device written from and running on FreeBSD