These VMs are indeed "compact". I don't really know what's enough and
what's too small starting with 7.9, but these VMs are pretty light IMO.
The one I'm providing details for below only runs Prosody, with near-zero
activity. Here are some outputs in case they are useful:
======
"/usr/bin/time -l /usr/libexec/reorder_kernel":
57.59 real 11.82 user 5.71 sys
512388 maximum resident set size
15584 average shared memory size
278551 average unshared data size
43 average unshared stack size
446169 minor page faults
207862 major page faults
0 swaps
46480 block input operations
19390 block output operations
1 messages sent
0 messages received
47 signals received
22230 voluntary context switches
6371 involuntary context switches
"top" and "df" after relinking the kernel:
Memory: Real: 36M/541M act/tot Free: 418M Cache: 97M Swap: 0K/1028M
Filesystem Size Used Avail Capacity Mounted on
/dev/sd0a 1.4G 117M 1.2G 9% /
/dev/sd0d 294M 8.0M 283M 3% /tmp
/dev/sd0e 3.4G 1.8G 1.5G 56% /usr
/dev/sd0f 339M 195M 140M 59% /usr/local
/dev/sd0g 643M 15.6M 621M 3% /var
Stuart Henderson wrote:
> IIUC that is how an out-of-memory would often appear.
>
> Note that multiple runs of a program will result in slightly different
> memory use, run under '/usr/bin/time -l' and look at max rss. Not by
> _loads_ but if you are up against the line it could be enough to
> work/fail.
>
> Also bear in mind that the run done at boot is in the background after
> various daemons have started, so you can have different workloads
> (and thus free memory) on the machine in different situations.
Lloyd wrote:
>A frequent cause of this LLVM error is reported to be low disk space.
Theo de Raadt wrote:
> Yes, that is usually the cause.
________________________________________
From: Theo de Raadt <[email protected]>
Sent: Wednesday, May 20, 2026 17:31
To: Lloyd
Cc: Terry Cocksworth; Stuart Henderson; [email protected]
Subject: Re: Kernel relinking crashes since 7.9
> A frequent cause of this LLVM error is reported to be low disk space.
Yes, that is usually the cause.