From owner-freebsd-questions@FreeBSD.ORG Sat Mar 19 19:17:36 2005 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 4311416A4CE for ; Sat, 19 Mar 2005 19:17:36 +0000 (GMT) Received: from rproxy.gmail.com (rproxy.gmail.com [64.233.170.202]) by mx1.FreeBSD.org (Postfix) with ESMTP id 9E8A643D39 for ; Sat, 19 Mar 2005 19:17:35 +0000 (GMT) (envelope-from john.destefano@gmail.com) Received: by rproxy.gmail.com with SMTP id c51so533964rne for ; Sat, 19 Mar 2005 11:17:33 -0800 (PST) DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=beta; d=gmail.com; h=received:message-id:date:from:reply-to:to:subject:in-reply-to:mime-version:content-type:content-transfer-encoding:references; b=ThnQqr9zSw83esoktEPdK5JI4f8zcZ0ivxJRFkJdml7sRlSpRc1wyNlN6DyrBJlBdUqdKIJInSmT/eVyDV/8adqML0uhRpvMjwWOkPz3PT9QcJ1pdDyCIzGIQaGsEdhbBjx6BbcRVHti5tSX/STiwUgRp7tIelXKsVAM3l8um6g= Received: by 10.38.99.9 with SMTP id w9mr3877137rnb; Sat, 19 Mar 2005 11:17:33 -0800 (PST) Received: by 10.38.97.55 with HTTP; Sat, 19 Mar 2005 11:17:33 -0800 (PST) Message-ID: Date: Sat, 19 Mar 2005 14:17:33 -0500 From: John DeStefano To: freebsd-questions@freebsd.org In-Reply-To: Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit References: <20050314072135.73ECF16A4DF@hub.freebsd.org> Subject: Re: kern.maxpipekva exceeded, please see tuning(7) X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list Reply-To: John DeStefano List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 19 Mar 2005 19:17:36 -0000 > From: Jason Henson > To: freebsd-questions@freebsd.org > Date: Mon, 14 Mar 2005 02:00:48 +0000 > Subject: Re: kern.maxpipekva exceeded, please see tuning(7) > On 03/13/05 15:44:32, John DeStefano wrote: > > I have seen a mention or two of this error on the lists before, > > including this link to the "current" list I pulled up from Google: > > http://lists.freebsd.org/pipermail/freebsd-current/2004-January/019150.html > > > > In my case, the errors began after my exploratory two-year-old found > > the shiny 'reset' button and could not resist its powers. I'm also > > getting HDD error messages on boot, 'fsck -y' shows all the file > > systems as read-only and returns errors on one of them, and I can no > > longer SSH into my system (due to, I assume, too many open file > > handles), or even get a command in on my console without an error > > popping in.. > > > > The solution does not seem clear cut to me, and it seems the error > > message itself does not provide valid (or, at least, sufficient) > > information. > > > > Could someone please help, or point me in the right direction? > > > > Thanks, as always, > > John > > _______________________________________________ > > FreeBSD is very robust with power failures, but that was a reset > button. Do you have acpi on? When I hit my power button every once in > a while my system shuts down properly. Try booting into single user > mode and do a manual mount and fsck. > > And just to help you out: > > $ sysctl -ad | grep pipekva > kern.ipc.maxpipekva: Pipe KVA limit > kern.ipc.pipekva: Pipe KVA usage > $ sysctl -a | grep pipekva > kern.ipc.maxpipekva: 8634368 > kern.ipc.pipekva: 344064 > Thanks to Jason's instructions, I was able to boot into -s mode, manually mount and fsck the slices, and add the two kernel paramenters to /boot/loader.conf, using his maxpipekva and pipekva parameters and values ver batim; and this seemed to get me back up and running. Howver, whenever I now try to perform any intensive operations, such as cvsup or makeworld, the errors come right back and do not desist unless I reboot the machine. Is there a recommended value for these parameters if I've got a total of 340MB RAM, or another way of solving this problem? Thank you, ~John