[Bug 280846] Low memory freezes / OOM: a thread waited too long to allocate a page
Date: Tue, 01 Oct 2024 14:26:23 UTC
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=280846 --- Comment #13 from Henrich Hartzer <henrichhartzer@tuta.io> --- Let me know if you need more of the dmesg. I confirmed with my logs that I've had this on at least 13.2, 14.0, and 14.1. This is all the same hardware with ZFS. Apr 10 18:05:54 laptop kernel: FreeBSD 13.2-RELEASE releng/13.2-n254617-525ecfdad597 GENERIC amd64 Apr 10 18:05:54 laptop kernel: FreeBSD clang version 14.0.5 (https://github.com/llvm/llvm-project.git llvmorg-14.0.5-0-gc12386ae247c) Apr 10 18:05:54 laptop kernel: VT(efifb): resolution 1366x768 Apr 10 18:05:54 laptop kernel: CPU: Intel(R) Core(TM) i5-3320M CPU @ 2.60GHz (2594.26-MHz K8-class CPU) Apr 10 18:05:54 laptop kernel: Origin="GenuineIntel" Id=0x306a9 Family=0x6 Model=0x3a Stepping=9 Apr 10 18:05:54 laptop kernel: Features=0xbfebfbff<FPU,VME,DE,PSE,TSC,MSR,PAE,MCE,CX8,APIC,SEP,MTRR,PGE,MCA,CMOV,PAT,PSE36,CLFLUSH,DTS,ACPI,MMX,FXSR,SSE,SSE2,SS,HTT,TM,PBE> Apr 10 18:05:54 laptop kernel: Features2=0x7fbae3ff<SSE3,PCLMULQDQ,DTES64,MON,DS_CPL,VMX,SMX,EST,TM2,SSSE3,CX16,xTPR,PDCM,PCID,SSE4.1,SSE4.2,x2APIC,POPCNT,TSCDLT,AESNI,XSAVE,OSXSAVE,AVX,F16C,RDRAND> Apr 10 18:05:54 laptop kernel: AMD Features=0x28100800<SYSCALL,NX,RDTSCP,LM> Apr 10 18:05:54 laptop kernel: AMD Features2=0x1<LAHF> Apr 10 18:05:54 laptop kernel: Structured Extended Features=0x281<FSGSBASE,SMEP,ERMS> Apr 10 18:05:54 laptop kernel: Structured Extended Features3=0x9c000400<MD_CLEAR,IBPB,STIBP,L1DFL,SSBD> Apr 10 18:05:54 laptop kernel: XSAVE Features=0x1<XSAVEOPT> Apr 10 18:05:54 laptop kernel: VT-x: PAT,HLT,MTF,PAUSE,EPT,UG,VPID Apr 10 18:05:54 laptop kernel: TSC: P-state invariant, performance statistics Apr 10 18:05:54 laptop kernel: real memory = 17179869184 (16384 MB) Apr 10 18:05:54 laptop kernel: avail memory = 16438591488 (15677 MB) Apr 10 18:05:54 laptop kernel: Event timer "LAPIC" quality 600 Apr 10 18:05:54 laptop kernel: ACPI APIC Table: <LENOVO TP-G2 > Apr 10 18:05:54 laptop kernel: FreeBSD/SMP: Multiprocessor System Detected: 4 CPUs Apr 10 18:05:54 laptop kernel: FreeBSD/SMP: 1 package(s) x 2 core(s) x 2 hardware threads ...(Same boot)... Apr 22 08:41:13 laptop kernel: pid 31866 (firefox), jid 0, uid 1002, was killed: a thread waited too long to allocate a page Now on different hardware and on UFS. Sep 29 22:21:38 laptop kernel: FreeBSD 14.1-RELEASE releng/14.1-n267679-10e31f0946d8 GENERIC amd64 Sep 29 22:21:38 laptop kernel: FreeBSD clang version 18.1.5 (https://github.com/llvm/llvm-project.git llvmorg-18.1.5-0-g617a15a9eac9) Sep 29 22:21:38 laptop kernel: VT(vga): resolution 640x480 Sep 29 22:21:38 laptop kernel: CPU: Intel(R) Core(TM)2 Duo CPU T9400 @ 2.53GHz (2527.07-MHz K8-class CPU) Sep 29 22:21:38 laptop kernel: Origin="GenuineIntel" Id=0x10676 Family=0x6 Model=0x17 Stepping=6 Sep 29 22:21:38 laptop kernel: Features=0xbfebfbff<FPU,VME,DE,PSE,TSC,MSR,PAE,MCE,CX8,APIC,SEP,MTRR,PGE,MCA,CMOV,PAT,PSE36,CLFLUSH,DTS,ACPI,MMX,FXSR,SSE,SSE2,SS,HTT,TM,PBE> Sep 29 22:21:38 laptop kernel: Features2=0x8e3fd<SSE3,DTES64,MON,DS_CPL,VMX,SMX,EST,TM2,SSSE3,CX16,xTPR,PDCM,SSE4.1> Sep 29 22:21:38 laptop kernel: AMD Features=0x20100800<SYSCALL,NX,LM> Sep 29 22:21:38 laptop kernel: AMD Features2=0x1<LAHF> Sep 29 22:21:38 laptop kernel: VT-x: HLT,PAUSE Sep 29 22:21:38 laptop kernel: TSC: P-state invariant, performance statistics Sep 29 22:21:38 laptop kernel: real memory = 8589934592 (8192 MB) Sep 29 22:21:38 laptop kernel: avail memory = 8165998592 (7787 MB) Sep 29 22:21:38 laptop kernel: Event timer "LAPIC" quality 100 Sep 29 22:21:38 laptop kernel: ACPI APIC Table: <LENOVO TP-7U > Sep 29 22:21:38 laptop kernel: FreeBSD/SMP: Multiprocessor System Detected: 2 CPUs Sep 29 22:21:38 laptop kernel: FreeBSD/SMP: 1 package(s) x 2 core(s) Sep 29 22:21:38 laptop kernel: random: unblocking device. Sep 29 22:21:38 laptop kernel: Firmware Warning (ACPI): 32/64X length mismatch in FADT/Pm1aControlBlock: 16/32 (20221020/tbfadt-748) Sep 29 22:21:38 laptop kernel: Firmware Warning (ACPI): Invalid length for FADT/Pm1aControlBlock: 32, using default 16 (20221020/tbfadt-850) Sep 29 22:21:38 laptop kernel: ioapic0: MADT APIC ID 1 != hw id 2 Sep 29 22:21:38 laptop kernel: ioapic0 <Version 2.0> irqs 0-23 Sep 29 22:21:38 laptop kernel: Launching APs: 1 Sep 29 22:21:38 laptop kernel: random: entropy device external interface This one is actually a different error... Sep 30 17:03:53 laptop kernel: pid 6374 (firefox), jid 0, uid 1002, was killed: failed to reclaim memory Sep 30 18:34:31 laptop kernel: pid 1586 (firefox), jid 0, uid 1002, was killed: failed to reclaim memory Sep 30 19:09:41 laptop kernel: pid 68263 (firefox), jid 0, uid 1002, was killed: failed to reclaim memory Sep 30 19:13:00 laptop kernel: pid 68948 (firefox), jid 0, uid 1002, was killed: failed to reclaim memory Sep 30 19:13:01 laptop kernel: pid 2031 (firefox), jid 0, uid 1003, was killed: failed to reclaim memory Sep 30 19:13:03 laptop kernel: pid 99186 (firefox), jid 0, uid 1002, was killed: failed to reclaim memory System didn't lock up nearly as bad, but clearly something was eating the memory. Since I kldunloaded zfs, the memory hasn't vanished yet. -- You are receiving this mail because: You are the assignee for the bug.