From owner-freebsd-stable@FreeBSD.ORG Mon May 7 04:27:34 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 74F3916A403 for ; Mon, 7 May 2007 04:27:34 +0000 (UTC) (envelope-from freebsd@hub.org) Received: from hub.org (hub.org [200.46.204.220]) by mx1.freebsd.org (Postfix) with ESMTP id 2C64D13C457 for ; Mon, 7 May 2007 04:27:33 +0000 (UTC) (envelope-from freebsd@hub.org) Received: from localhost (unknown [200.46.204.184]) by hub.org (Postfix) with ESMTP id 623ED48BED0; Mon, 7 May 2007 01:27:32 -0300 (ADT) Received: from hub.org ([200.46.204.220]) by localhost (mx1.hub.org [200.46.204.184]) (amavisd-maia, port 10024) with ESMTP id 68706-05; Mon, 7 May 2007 01:27:32 -0300 (ADT) Received: from ganymede.hub.org (blk-89-241-126.eastlink.ca [24.89.241.126]) by hub.org (Postfix) with ESMTP id C578C48BEA6; Mon, 7 May 2007 01:27:31 -0300 (ADT) Received: from localhost (localhost [127.0.0.1]) by ganymede.hub.org (Postfix) with ESMTP id F3369604A8; Mon, 7 May 2007 01:27:31 -0300 (ADT) Date: Mon, 07 May 2007 01:27:30 -0300 From: "Marc G. Fournier" To: Matthew Dillon Message-ID: <79779540505587E845245092@ganymede.hub.org> In-Reply-To: <200705052011.l45KBZGk098049@apollo.backplane.com> References: <5BF35D39E7EDDE250B00BA98@ganymede.hub.org> <200705052011.l45KBZGk098049@apollo.backplane.com> X-Mailer: Mulberry/4.0.7 (Linux/x86) MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Content-Disposition: inline Cc: Robert Watson , freebsd-stable@freebsd.org 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: Mon, 07 May 2007 04:27:34 -0000 -----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 - --On Saturday, May 05, 2007 13:11:35 -0700 Matthew Dillon wrote: > We'll have a better idea as to what is going on when you get the message > again. You might even want to do a once-a-10-minutes cron job to > append pstat -s, vmstat -m, and vmstat -z to a file. 'k, I have the following running out of cron ever 10 minutes ... anything else that might be useful? This combines the information Robert got me to send him, as well as adding pstat -s and ps aux ... #!/bin/sh DATE=`date +%Y%m%d%H%M` DIR="/vm/watch/${DATE}" mkdir ${DIR} ps aux > ${DIR}/ps.out sockstat > ${DIR}/sockstat.out netstat -na > ${DIR}/netstat_na.out fstat >${DIR}/fstat.out vmstat -z >${DIR}/vmstat_z.out vmstat -m >${DIR}/vmstat_m.out netstat -m>${DIR}/netstat_m.out pstat -s > ${DIR}/pstat_s.out > > -Matt > Matthew Dillon > - ---- Marc G. Fournier Hub.Org Networking Services (http://www.hub.org) Email . scrappy@hub.org MSN . scrappy@hub.org Yahoo . yscrappy Skype: hub.org ICQ . 7615664 -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.5 (FreeBSD) iD8DBQFGPqqz4QvfyHIvDvMRAsHgAKDpv7/SIKEAYIx7NVc8tdeUaAL4YwCg7Rnr OKYu+cZK2EUjXUpn62zSOIQ= =rVxB -----END PGP SIGNATURE-----