Re: curious crashes when under memory pressure

From: Craig Leres <leres_at_freebsd.org>
Date: Sat, 04 Jan 2025 18:08:33 UTC
On 1/4/25 09:36, Karl Denninger wrote:
> What's the argument for swapping to a mirror in the first place? If the 
> issue is throughput IMHO the answer is to swap to multiple devices.

I thought the idea here is if your swap is not redundant and it goes 
away the system crashes (or otherwise misbehaves)?

I used a beefy poudriere build server (48 cores, 192G, 6 x 480GB nvme) 
and I build > 1000 packages daily. I see lots of build failures (usually 
2-3 a week) but instead of core dumps I see "Killed" in the poudriere 
logs. Appended is one from today. (Not sure what's up with the symlink 
failure at the very end...)

		Craig

=>> Building www/mod_wsgi4
build started at Wed Jan  1 01:53:31 PST 2025
port directory: /usr/ports/www/mod_wsgi4
package name: ap24-py311-mod_wsgi-4.9.2
building for: FreeBSD zinc.ee.lbl.gov 14.2-RELEASE FreeBSD 14.2-RELEASE 
amd64
maintained by: douglas@douglasthrift.net
Makefile datestamp: -rw-r--r--  1 root wheel 1139 Jun 28  2023 
/usr/ports/www/mod_wsgi4/Makefile
Ports top last git commit: eda5eaff66d
Ports top unclean checkout: yes
Port dir last git commit: 3d9a815d9c5
Port dir unclean checkout: no
Poudriere version: poudriere-git-3.4.2
Host OSVERSION: 1402000
Jail OSVERSION: 1402000
Job Id: 39
[...]
===>  License APACHE20 accepted by the user
Killed
ln: 
/usr/local/poudriere/data/logs/bulk/14release-current-patched/2025-01-01_00h00m12s/logs/errors/ap24-py311-mod_wsgi-4.9.2.log: 
File exists
build of www/mod_wsgi4@py311 | ap24-py311-mod_wsgi-4.9.2 ended at Wed 
Jan  1 01:54:28 PST 2025
!!! build failure encountered !!!