From owner-freebsd-current Fri Jul 23 16:28: 3 1999 Delivered-To: freebsd-current@freebsd.org Received: from dt011n65.san.rr.com (dt011n65.san.rr.com [204.210.13.101]) by hub.freebsd.org (Postfix) with ESMTP id 7DBCB14F11 for ; Fri, 23 Jul 1999 16:27:54 -0700 (PDT) (envelope-from Doug@gorean.org) Received: from localhost (doug@localhost) by dt011n65.san.rr.com (8.8.8/8.8.8) with ESMTP id QAA28962; Fri, 23 Jul 1999 16:24:06 -0700 (PDT) (envelope-from Doug@gorean.org) Date: Fri, 23 Jul 1999 16:24:06 -0700 (PDT) From: Doug X-Sender: doug@dt011n65.san.rr.com To: David Greenman Cc: freebsd-current@FreeBSD.ORG Subject: Re: PMAP_SHPGPERPROC: related to pagedaemon? In-Reply-To: <199907232253.PAA25976@implode.root.com> Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: owner-freebsd-current@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG On Fri, 23 Jul 1999, David Greenman wrote: > PMAP_SHPGPERPROC controls the default number of struct pv_entry that the > system allocates kernel virtual memory for. Thank you very much for the explanation, that makes things much more clear. > I don't know what's going on with your system, but it's definately unusual > to hit this limit under normal circumstances. *Nod* well, we do a lot of "unusual" things around here. :) Given your explanation I think that the culprit is probably apache. The virtual host file has approximately 16k hosts. The VSZ on each process is about 51M, and the RSS is around 31M. At any given time there are usually 10-15 running. However the boxes have 512M of physical ram so they don't swap. Apache is forking off several CGI engine processes per second, so that's probably (at least to my limited understanding) where we're hitting this limit. It only seems to be happening with certain customer's scripts, two of them in particular are exiting with either a sig 10 or a sig 6 right around the time I'm seeing these pv entry errors. I'm not sure if it's related or not, I'm still looking into it. Thanks again, Doug -- On account of being a democracy and run by the people, we are the only nation in the world that has to keep a government four years, no matter what it does. -- Will Rogers To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-current" in the body of the message