From nobody Mon Dec 4 01:09:34 2023 X-Original-To: bugs@mlmmj.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mlmmj.nyi.freebsd.org (Postfix) with ESMTP id 4Sk5DH5T6xz51sfK for ; Mon, 4 Dec 2023 01:09:35 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from mxrelay.nyi.freebsd.org (mxrelay.nyi.freebsd.org [IPv6:2610:1c1:1:606c::19:3]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256 client-signature RSA-PSS (4096 bits) client-digest SHA256) (Client CN "mxrelay.nyi.freebsd.org", Issuer "R3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4Sk5DH3pNMz4TPt for ; Mon, 4 Dec 2023 01:09:35 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1701652175; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references; bh=0q99fesMK/SM6LJp/UdWh0LAB1zJ3QcijY8LmQVyyl0=; b=kkKaV+6y+Z480+mmkCAwiYItrHV5SJ2qX3oONu+Sz9Mlpe80mCPujC+Yy4TeK6zM1tIFbl voteZInpjESRbR2eSeh3UazSGJahzXBtkgcUAHTMmUwviLHbLn53vpggjwuUVppOWx0nKl oVNDL9WpjcB12/qlGrkQY5puVaKikAiKayt26C64bkbiDwOU2MmEl66xJgw6KFASO2wcYF eLaRDENCE0EsVgpmWLmxe0OAQF/b0nh8w7LTAzsYBZzG8bzwJZJO5lFkdfxFwCVfGpM1RV 1ZkrJcD5nco6yD3XR+6s3stVcxFs6ZM+Slsndk/h5++hrAdZSTVEBYlXx6W9TA== ARC-Authentication-Results: i=1; mx1.freebsd.org; none ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1701652175; a=rsa-sha256; cv=none; b=tRvECJTpDZBip4sDn6jPYkqCNe6cOkDxPI6VUda54YRJPjMT+f9QTKR7ntBFXYVNhekUaG FxhueHZasIHCyy/y3V1WiaxYAi5GzvVaQ9jb7A0T2hyNmBsYzRuMRIcPwwKhn0yzsz3Lbr +z/lU0erC9HHavZNQcMixVwRCr9pyWnBtpE6gZ/mPHli3Bd7rRsnDA56/+CKt3mD/a7T/G c1Gp7/rK6AXJLq0vbuQ4H3LHqdoXnTGCIZH5phEVo7hOeH5G/wwYPrXDfVPl24EmYEYHlx GWZUEZFnjBl7aXHaOABFG05HuhrsRE1NvekLLxZSE2SFkCBouFWus2DB693P4Q== Received: from kenobi.freebsd.org (kenobi.freebsd.org [IPv6:2610:1c1:1:606c::50:1d]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (Client did not present a certificate) by mxrelay.nyi.freebsd.org (Postfix) with ESMTPS id 4Sk5DH2m7Sz1KvG for ; Mon, 4 Dec 2023 01:09:35 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from kenobi.freebsd.org ([127.0.1.5]) by kenobi.freebsd.org (8.15.2/8.15.2) with ESMTP id 3B419Zm4080840 for ; Mon, 4 Dec 2023 01:09:35 GMT (envelope-from bugzilla-noreply@freebsd.org) Received: (from www@localhost) by kenobi.freebsd.org (8.15.2/8.15.2/Submit) id 3B419ZIp080838 for bugs@FreeBSD.org; Mon, 4 Dec 2023 01:09:35 GMT (envelope-from bugzilla-noreply@freebsd.org) X-Authentication-Warning: kenobi.freebsd.org: www set sender to bugzilla-noreply@freebsd.org using -f From: bugzilla-noreply@freebsd.org To: bugs@FreeBSD.org Subject: [Bug 275063] kernel using 100% CPU in arc_prune Date: Mon, 04 Dec 2023 01:09:34 +0000 X-Bugzilla-Reason: AssignedTo X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: Base System X-Bugzilla-Component: kern X-Bugzilla-Version: Unspecified X-Bugzilla-Keywords: X-Bugzilla-Severity: Affects Only Me X-Bugzilla-Who: iron.udjin@gmail.com X-Bugzilla-Status: In Progress X-Bugzilla-Resolution: X-Bugzilla-Priority: --- X-Bugzilla-Assigned-To: bugs@FreeBSD.org X-Bugzilla-Flags: mfc-stable13? X-Bugzilla-Changed-Fields: cc Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: https://bugs.freebsd.org/bugzilla/ Auto-Submitted: auto-generated List-Id: Bug reports List-Archive: https://lists.freebsd.org/archives/freebsd-bugs List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-freebsd-bugs@freebsd.org MIME-Version: 1.0 https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D275063 iron.udjin@gmail.com changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |iron.udjin@gmail.com --- Comment #6 from iron.udjin@gmail.com --- I hitted the same issue on 14.0-RELEASE. When I tried to restart the server, got kernel panic in arc_prune process: Fatal trap 12: page fault while in kernel mode=20 cpuid =3D 7; apic id =3D 07=20 fault virtual address =3D 0x458 fault code =3D supervisor read data, page not present instruction pointer =3D 0x20:0xffffffff80b4e386 stack pointer =3D 0x28:0xfffffe0206679d60 frame pointer =3D 0x28:0xfffffe0206679e00 code segment =3D base 0x0, limit 0xfffff, type 0x1b=20 =3D DPL 0, pres 1, long 1, def32 0, gran 1 processor eflags =3D interrupt enabled, resume, IOPL =3D 0 current process =3D 0 (arc_prune) rdi: ffffffff8226f568 rsi: 0000000000000000 rdx: 0000000000000000 rcx: 0000000000000000 r8: 000000000000007e r9: fffffe02062fd518 rax: 0000000000000000 rbx: ffffffff8226f568 rbp: fffffe0206679e00 r10: fffff8162b935800 r11: fffff8162b935c00 r12: fffffe0206380560 r13: 0000000000000000 r14: 0000000000000000 r15: 0000000000000000 trap number =3D 12=20 panic: page fault cpuid =3D 7 time =3D 1701648338 KDB: stack backtrace: #0 0xffffffff80b9002d at kdb_backtrace+0x5d #1 0xffffffff80b43132 at vpanic+0x132 #2 0xffffffff80b42ff3 at panic+0x43 #3 0xffffffff8100c85c at trap_fatal+0x40c #4 0xffffffff8100c8af at trap_pfault+0x4f #5 0xffffffff80fe3828 at calltrap+0x8 #6 0xffffffff81f78fa7 at arc_prune_task+0x87 #7 0xffffffff81f76ddf at taskq_run+0x1f #8 0xffffffff80ba5922 at taskqueue_run_locked+0x182 #9 0xffffffff80ba6bb2 at taskqueue_thread_loop+0xc2 #10 0xffffffff80afdb0f at fork_exit+0x7f #11 0xffffffff80fe488e at fork_trampoline+0xe __curthread () at /usr/src/sys/amd64/include/pcpu_aux.h:57 warning: Source file is more recent than executable. 57 __asm("movq %%gs:%P1,%0" : "=3Dr" (td) : "n" (offsetof(struct pcpu, (kgdb) #0 __curthread () at /usr/src/sys/amd64/include/pcpu_aux.h:57 #1 doadump (textdump=3D) at /usr/src/sys/kern/kern_shutdown.c:405 #2 0xffffffff80b42cc7 in kern_reboot (howto=3D260) at /usr/src/sys/kern/kern_shutdown.c:526 #3 0xffffffff80b4319f in vpanic (fmt=3D0xffffffff81136b3b "%s", ap=3Dap@entry=3D0xfffffe0206679bb0) at /usr/src/sys/kern/kern_shutdown.= c:970 #4 0xffffffff80b42ff3 in panic (fmt=3D) at /usr/src/sys/kern/kern_shutdown.c:894 #5 0xffffffff8100c85c in trap_fatal (frame=3D0xfffffe0206679ca0, eva=3D111= 2) at /usr/src/sys/amd64/amd64/trap.c:952 #6 0xffffffff8100c8af in trap_pfault (frame=3D0xfffffe0206679ca0, usermode=3Dfalse, signo=3D, ucode=3D) at /usr/src/sys/amd64/amd64/trap.c:760 #7 #8 _sx_xlock_hard (sx=3D0xffffffff8226f568 , x=3D, opts=3Dopts@entry=3D0) at /usr/src/sys/kern/kern_s= x.c:684 #9 0xffffffff81f78fa7 in __sx_xlock (td=3D0xfffffe0206380560, opts=3D0, file=3D0x0, line=3D0, sx=3D) at /usr/src/sys/sys/sx.h:166 #10 arc_prune_task (arg=3D) at /usr/src/sys/contrib/openzfs/module/os/freebsd/zfs/arc_os.c:149 #11 0xffffffff81f76ddf in taskq_run (arg=3D0xfffff8026e484300, pending=3D)=20 at /usr/src/sys/contrib/openzfs/module/os/freebsd/spl/spl_taskq.c:320 #12 0xffffffff80ba5922 in taskqueue_run_locked ( queue=3Dqueue@entry=3D0xfffff8010e55ce00)=20 at /usr/src/sys/kern/subr_taskqueue.c:512 #13 0xffffffff80ba6bb2 in taskqueue_thread_loop ( arg=3Darg@entry=3D0xfffff8011e59ba70) at /usr/src/sys/kern/subr_taskqueue.c:824 #14 0xffffffff80afdb0f in fork_exit ( callout=3D0xffffffff80ba6af0 , arg=3D0xfffff8011e59ba70, frame=3D0xfffffe0206679f40) at /usr/src/sys/kern/kern_fork.c:1160 #15 (kgdb) --=20 You are receiving this mail because: You are the assignee for the bug.=