From owner-freebsd-stable@freebsd.org Tue Apr 3 18:04:26 2018 Return-Path: Delivered-To: freebsd-stable@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 69BD0F73B36 for ; Tue, 3 Apr 2018 18:04:26 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from mxrelay.ysv.freebsd.org (mxrelay.ysv.freebsd.org [IPv6:2001:1900:2254:206a::19:3]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client CN "mxrelay.ysv.freebsd.org", Issuer "Let's Encrypt Authority X3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 071136A4EF for ; Tue, 3 Apr 2018 18:04:26 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from kenobi.freebsd.org (kenobi.freebsd.org [IPv6:2001:1900:2254:206a::16:76]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mxrelay.ysv.freebsd.org (Postfix) with ESMTPS id 3916B1C838 for ; Tue, 3 Apr 2018 18:04:25 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from kenobi.freebsd.org ([127.0.1.118]) by kenobi.freebsd.org (8.15.2/8.15.2) with ESMTP id w33I4PN6063255 for ; Tue, 3 Apr 2018 18:04:25 GMT (envelope-from bugzilla-noreply@freebsd.org) Received: (from www@localhost) by kenobi.freebsd.org (8.15.2/8.15.2/Submit) id w33I4Ptn063254 for freebsd-stable@FreeBSD.org; Tue, 3 Apr 2018 18:04:25 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: freebsd-stable@FreeBSD.org Subject: [Bug 227213] FreeBSD 10.4 kernel deadlocks on sysctlmemlock Date: Tue, 03 Apr 2018 18:04:25 +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: 10.4-STABLE X-Bugzilla-Keywords: X-Bugzilla-Severity: Affects Only Me X-Bugzilla-Who: markk@knigma.org X-Bugzilla-Status: Open X-Bugzilla-Resolution: X-Bugzilla-Priority: --- X-Bugzilla-Assigned-To: freebsd-stable@FreeBSD.org X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: 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 MIME-Version: 1.0 X-BeenThere: freebsd-stable@freebsd.org X-Mailman-Version: 2.1.25 Precedence: list List-Id: Production branch of FreeBSD source code List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 03 Apr 2018 18:04:26 -0000 https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D227213 --- Comment #9 from Mark Knight --- You asked: > What do you use vm.defer_swapspace_pageouts=3D1 for? After moving existing disks to a new chassis I have more RAM than swap and repartitioning would be a pain - I really don't need 16GB of swap! Without = this sysctl I was finding my swap was becoming full and lots of associated "out = of swap space" error. Since adding this sysctl that problem as ceased. I hope = 11.x won't have the same problem... As requested, here's a fresh kernel dump created as follows: 1) Disabled snmpd and snmptrapd in /etc/rc.conf, so definitely no snmpd running 2) reboot with 10.4 kernel 3) Login to console as root 4) Type ps 5) Deadlock occurs 6) CTRL-T shows [sysctl-mem] 7) Ctrl-Alt-ESC followed by call doadump http://www.knigma.org/scratch/core.txt.1 http://www.knigma.org/scratch/vmcore.1.gz Kernel is the same file as before, so no need to download that again! Many thanks!! --=20 You are receiving this mail because: You are the assignee for the bug.=