From owner-freebsd-questions@FreeBSD.ORG Sun Mar 7 23:13:42 2004 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 7411316A4CE for ; Sun, 7 Mar 2004 23:13:42 -0800 (PST) Received: from fed1mtao02.cox.net (fed1mtao02.cox.net [68.6.19.243]) by mx1.FreeBSD.org (Postfix) with ESMTP id 4953743D3F for ; Sun, 7 Mar 2004 23:13:42 -0800 (PST) (envelope-from tom@vsn1.com) Received: from mustang ([68.3.167.142]) by fed1mtao02.cox.net (InterMail vM.5.01.06.08 201-253-122-130-108-20031117) with SMTP id <20040308071341.KJBZ7091.fed1mtao02.cox.net@mustang>; Mon, 8 Mar 2004 02:13:41 -0500 Message-ID: <000501c404dc$e1a37a40$0407a8c0@mustang> From: "T. Halter" To: Date: Mon, 8 Mar 2004 00:13:39 -0700 MIME-Version: 1.0 X-Priority: 3 X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook Express 6.00.2800.1158 X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2800.1165 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable X-Content-Filtered-By: Mailman/MimeDel 2.1.1 cc: questions@freebsd.org Subject: Emailing: 019150.htm X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 08 Mar 2004 07:13:42 -0000 'kern.maxpipekva exceeded' messages...Dag & everyone, I'm running into the same problem. I understand that this can be = fixed by putting a variable in the /boot/loader.conf file. I've ready = the man pages for loader and loader.conf and I do not understand what = variable to include or what format to put it in. Could someone please give me a hand here and either explain what to do = or where I can find some helpful text to fix this? Thanks! T. Halter SysAd VSN1 'kern.maxpipekva exceeded' messages... Dag-ErlingSm=F8rgrav des at des.no=20 Tue Jan 20 00:57:24 PST 2004=20 a.. Previous message: 'kern.maxpipekva exceeded' messages...=20 b.. Next message: i865 Video Memory=20 c.. Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]=20 -------------------------------------------------------------------------= ------- Peter Losher writes: > In updating one of our authoritiative name servers to 5.2-REL, we = enountered=20 > after two days of running, kernel message like: > > kern.maxpipekva exceeded, please see tuning(7). > > appearing to the point to where you couldn't ssh into the box (because = sshd=20 > died w/ too many files opened). I see so mention of kern.maxpipekva = on the=20 > tuning man page, and greping only finds kern.ipc entries. > > % sysctl -a | grep pipekva > kern.ipc.maxpipekva: 10485760 > kern.ipc.maxpipekvawired: 5242880 > kern.ipc.pipekva: 131072 > kern.ipc.pipekvawired: 0 > > Are they the same, and if so, what's are the guidelines for increasing = the=20 > number? yes, the error message is incorrect. here's an excerpt from comment in the kernel sources: * In order to limit the resource use of pipes, two sysctls exist: * * kern.ipc.maxpipekva - This is a hard limit on the amount of pageable * address space available to us in pipe_map. Whenever the amount in = use * exceeds half of this value, all new pipes will be created with size * SMALL_PIPE_SIZE, rather than PIPE_SIZE. Big pipe creation will be = limited * as well. This value is loader tunable only. * * kern.ipc.maxpipekvawired - This value limits the amount of memory = that may * be wired in order to facilitate direct copies using page flipping. * Whenever this value is exceeded, pipes will fall back to using = regular * copies. This value is sysctl controllable at all times. * * These values are autotuned in subr_param.c. * * Memory usage may be monitored through the sysctls * kern.ipc.pipes, kern.ipc.pipekva and kern.ipc.pipekvawired. You can set these variables in /boot/loader.conf. DES --=20 Dag-Erling Sm=F8rgrav - des at des.no -------------------------------------------------------------------------= ------- a.. Previous message: 'kern.maxpipekva exceeded' messages...=20 b.. Next message: i865 Video Memory=20 c.. Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]=20 -------------------------------------------------------------------------= ------- More information about the freebsd-current mailing list