From owner-freebsd-questions@FreeBSD.ORG Fri Feb 25 23:23:36 2011 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 60252106566B for ; Fri, 25 Feb 2011 23:23:36 +0000 (UTC) (envelope-from materribile@yahoo.com) Received: from nm15.bullet.mail.sp2.yahoo.com (nm15.bullet.mail.sp2.yahoo.com [98.139.91.85]) by mx1.freebsd.org (Postfix) with SMTP id 3B2658FC14 for ; Fri, 25 Feb 2011 23:23:36 +0000 (UTC) Received: from [98.139.91.68] by nm15.bullet.mail.sp2.yahoo.com with NNFMP; 25 Feb 2011 23:11:14 -0000 Received: from [98.139.91.54] by tm8.bullet.mail.sp2.yahoo.com with NNFMP; 25 Feb 2011 23:11:14 -0000 Received: from [127.0.0.1] by omp1054.mail.sp2.yahoo.com with NNFMP; 25 Feb 2011 23:11:14 -0000 X-Yahoo-Newman-Property: ymail-3 X-Yahoo-Newman-Id: 450232.2950.bm@omp1054.mail.sp2.yahoo.com Received: (qmail 51130 invoked by uid 60001); 25 Feb 2011 23:11:14 -0000 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=yahoo.com; s=s1024; t=1298675474; bh=IvG9tKZASuGF6SlM6C9Ir8An9vfmbpbx2s/BmjlSG4E=; h=Message-ID:X-YMail-OSG:Received:X-Mailer:Date:From:Subject:To:In-Reply-To:MIME-Version:Content-Type; b=CWYTHG/tkU4T2DLYuS2cBMyUekI4NHP74KOngbin8uWOvUrX9cIDonocmlCafEpUzGTwQ+DfQ88Nus+zFZawNll1NLPe4kCUFJ8nxpoJlHVIhijYPxEVNHnJ7VMEiLMoEL+ynrkzqwi9RUxmgzKrc5gN3m+BslWqaOPKmw08vdc= DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=s1024; d=yahoo.com; h=Message-ID:X-YMail-OSG:Received:X-Mailer:Date:From:Subject:To:In-Reply-To:MIME-Version:Content-Type; b=TDPQaoOinZhUvWJegumdvTaLLXF+d8/qUFKbi/eVM1YnUJqFdeGc4FJd8j4fJ3jSZXtTcjfTpkisVwv8GYW+MLAYFdleh1BnDaK8losjoaF5g6lR25M2Whe0M2V9dP1J41jnttHK8jI/tKwpKGsMV2Q77x9aHjdnMo+eARLr1S0=; Message-ID: <41786.47452.qm@web110309.mail.gq1.yahoo.com> X-YMail-OSG: 8.4FA84VM1moZYYRqKLjIYxLblROqmmjNCl__Q29GCk1rsv M1EpsPq0YlGvUSrfFsLaPAo3UduTg..hpT6kfUxDvnB6VRWUXIScoNsyrFT_ ZSds3OxxtXV_9Oz1TDrRI7Ad.m26cE6Tx.TlTfpWI.UMJRqG86UsXS2biZrl ikyDQpbsOFrk32mfgBziXnkZaGw9OHyiRM4PthdnzkyBpLNdVvnQPfsUFdv5 yYLlVmrmQc_ua7tUQiAWmjZFQSL71JigZQSTt4Lwmfy1BDhV3wWJ2cIyIee9 Dum_TmukPoiZtW.X7d1BAwgTFjEuCH3EuTZ.BwlWxrB2BXHkhlqzFEKvfhxp UlOv4BZnJy_ysajm2ENiHIADE4iKDE9jucyS1byW10DkF7TI7YDG_xuydTJL 8OT5yENmO0mH4 Received: from [24.228.57.153] by web110309.mail.gq1.yahoo.com via HTTP; Fri, 25 Feb 2011 15:11:13 PST X-Mailer: YahooMailClassic/11.4.20 YahooMailWebService/0.8.109.292656 Date: Fri, 25 Feb 2011 15:11:13 -0800 (PST) From: Mark Terribile To: freebsd-questions@freebsd.org In-Reply-To: <20110225212941.BC56910656C4@hub.freebsd.org> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Subject: Kernel swap zone exhausted, what is the max allowed? FBSD 7.2 X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 25 Feb 2011 23:23:36 -0000 Hi, I was recently forced to reboot a 7.2 machine after it had run for several months. (Upgrade is not a possibility right now.) The (apparently) relevant part of /var/log/messages reads ------------------ Feb 23 13:10:58 gold kernel: pid 9864 (to), uid 1001: exited on signal 6 (core dumped) Feb 23 17:14:13 gold kernel: pid 10386 (epiphany), uid 0: exited on signal 11 (core dumped) Feb 23 17:18:19 gold kernel: pid 10414 (epiphany), uid 0: exited on signal 11 (core dumped) Feb 24 14:56:05 gold kernel: swap zone exhausted, increase kern.maxswzone Feb 24 14:56:36 gold last message repeated 1933 times Feb 24 14:56:57 gold last message repeated 1635 times Feb 24 14:56:57 gold kernel: swap zone exhausted, nncrxase kern.ma swzone Feb 24 14:56:57 gold kernel: swap zone exhausted, increase kern.maxswzone Feb 24 14:57:28 gold last message repeated 1017 times Feb 24 14:59:29 gold last message repeated 2159 times Feb 24 15:14:03 gold syslogd: kernel boot file is /boot/kernel/kernel ------------------- I don't explicitly set kern.maxswzone anywhere and it is at its apparent maximum and default of 32M (33554432). Does anyone know if the maximum can be increased? (What actually is it used for?) I do use lots of memory-intensive processes, most of them idle much of the time. I see that it's involved with the stuff in the src/sys/vm directory. Would someone give me a quick precis or pointer to what I need to study to understand what would happen if I tried to boost this to 64M? Mark Terribile