From owner-freebsd-stable@FreeBSD.ORG Sat May 5 20:14:43 2007 Return-Path: X-Original-To: freebsd-stable@freebsd.org Delivered-To: freebsd-stable@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 9A55A16A402 for ; Sat, 5 May 2007 20:14:43 +0000 (UTC) (envelope-from kris@obsecurity.org) Received: from elvis.mu.org (elvis.mu.org [192.203.228.196]) by mx1.freebsd.org (Postfix) with ESMTP id 7D18013C46C for ; Sat, 5 May 2007 20:14:43 +0000 (UTC) (envelope-from kris@obsecurity.org) Received: from obsecurity.dyndns.org (elvis.mu.org [192.203.228.196]) by elvis.mu.org (Postfix) with ESMTP id 622771A4DB6; Sat, 5 May 2007 13:15:21 -0700 (PDT) Received: by obsecurity.dyndns.org (Postfix, from userid 1000) id C502F51559; Sat, 5 May 2007 16:14:42 -0400 (EDT) Date: Sat, 5 May 2007 16:14:42 -0400 From: Kris Kennaway To: Matthew Dillon Message-ID: <20070505201442.GA5770@xor.obsecurity.org> References: <5BF35D39E7EDDE250B00BA98@ganymede.hub.org> <200705052011.l45KBZGk098049@apollo.backplane.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <200705052011.l45KBZGk098049@apollo.backplane.com> User-Agent: Mutt/1.4.2.2i Cc: John-Mark Gurney , freebsd-stable@freebsd.org, corwin@aeternal.net, "Marc G. Fournier" Subject: Re: swap zone exhausted, increase kern.maxswzone X-BeenThere: freebsd-stable@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Production branch of FreeBSD source code List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 05 May 2007 20:14:43 -0000 On Sat, May 05, 2007 at 01:11:35PM -0700, Matthew Dillon wrote: > :That's why I think that the socket issue and this one are co-related ... with > :everything started up (93 jails), my swap usage right now is: > : > :mars# pstat -s > :Device 1K-blocks Used Avail Capacity > :/dev/da0s1b 8388608 20 8388588 0% > : > :Its only been up 2.5 hours so far, but still, everything is started up ... > : > :- ---- > :Marc G. Fournier Hub.Org Networking Services (http://www.hub.org) > > The "swap zone exhausted, increase kern.maxswzone" message only prints > if uma_zone_exhausted() returns TRUE. uma_zone_exhausted() appears to > be based on a UMA flag which is only set if the pages for the zone > exceeds some maximum setting. > > Insofar as I can tell, vmstat -z on FreeBSD will dump the UMA zones, > so try using that when the problem occurs along with pstat -s. It > sounds like there is a leak somewhere (but I don't see how anything > in any other UMA zones could cause the SWAPMETA zone to fill up). Or > the maximum setting is too low, or something is getting lost somewhere. I doubt there is a leak, that's just guesswork on your part :). I only see this problem on my machines when they really do use too much swap. Let's wait to see what happens on Marc's machine. Kris