From owner-freebsd-current@FreeBSD.ORG Sun Jul 1 12:23:37 2012 Return-Path: Delivered-To: current@FreeBSD.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id D5D6C106566B for ; Sun, 1 Jul 2012 12:23:37 +0000 (UTC) (envelope-from bzeeb-lists@lists.zabbadoz.net) Received: from mx1.sbone.de (bird.sbone.de [46.4.1.90]) by mx1.freebsd.org (Postfix) with ESMTP id 898FA8FC08 for ; Sun, 1 Jul 2012 12:23:37 +0000 (UTC) Received: from mail.sbone.de (mail.sbone.de [IPv6:fde9:577b:c1a9:31::2013:587]) (using TLSv1 with cipher ADH-CAMELLIA256-SHA (256/256 bits)) (No client certificate requested) by mx1.sbone.de (Postfix) with ESMTPS id A5AA225D3872 for ; Sun, 1 Jul 2012 12:23:36 +0000 (UTC) Received: from content-filter.sbone.de (content-filter.sbone.de [IPv6:fde9:577b:c1a9:31::2013:2742]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) by mail.sbone.de (Postfix) with ESMTPS id 94FBCBD4001 for ; Sun, 1 Jul 2012 12:23:35 +0000 (UTC) X-Virus-Scanned: amavisd-new at sbone.de Received: from mail.sbone.de ([IPv6:fde9:577b:c1a9:31::2013:587]) by content-filter.sbone.de (content-filter.sbone.de [fde9:577b:c1a9:31::2013:2742]) (amavisd-new, port 10024) with ESMTP id FobdBrGlzDsK for ; Sun, 1 Jul 2012 12:23:34 +0000 (UTC) Received: from orange-en1.sbone.de (orange-en1.sbone.de [IPv6:fde9:577b:c1a9:31:cabc:c8ff:fecf:e8e3]) (using TLSv1 with cipher AES128-SHA (128/128 bits)) (No client certificate requested) by mail.sbone.de (Postfix) with ESMTPSA id 10E42BD3FFE for ; Sun, 1 Jul 2012 12:23:33 +0000 (UTC) From: "Bjoern A. Zeeb" Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: quoted-printable Date: Sun, 1 Jul 2012 12:23:31 +0000 Message-Id: <7BEE3948-EE35-48C2-B4B1-25E34087A4C4@lists.zabbadoz.net> To: current@FreeBSD.org Mime-Version: 1.0 (Apple Message framework v1084) X-Mailer: Apple Mail (2.1084) Cc: Subject: swp_pager_meta_build DoS printf X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 01 Jul 2012 12:23:37 -0000 Hey, hitting this printf in swp_pager_meta_build() if (uma_zone_exhausted(swap_zone)) { printf("swap zone exhausted, increase = kern.maxswzone\n"); vm_pageout_oom(VM_OOM_SWAPZ); pause("swzonex", 10); } else seems to be an effective way to put the machine into a state of no = recovery unless the memory situation would be able to clear itself. Not that it = wouldn't otherwise be any better but in addition having a couple of tenthousands = of these going to console as well is really not helpful to try to do anything = either. Can we make it a log() call or something? /bz PS: I am not sure as I have seen it on someone else's machines and it's probably been ZFS that caused it. I unfortunately neither had a way to get back in or break to a kernel debugger, so information is sparse. --=20 Bjoern A. Zeeb You have to have visions! It does not matter how good you are. It matters what good you do!