From owner-freebsd-stable Tue Apr 29 10:25:35 1997 Return-Path: Received: (from root@localhost) by hub.freebsd.org (8.8.5/8.8.5) id KAA27299 for stable-outgoing; Tue, 29 Apr 1997 10:25:35 -0700 (PDT) Received: from sierra.zyzzyva.com (ppp01-58.zyzzyva.com [208.214.58.10]) by hub.freebsd.org (8.8.5/8.8.5) with ESMTP id KAA27291 for ; Tue, 29 Apr 1997 10:25:30 -0700 (PDT) Received: from sierra (localhost [127.0.0.1]) by sierra.zyzzyva.com (8.8.5/8.8.2) with ESMTP id MAA00757; Tue, 29 Apr 1997 12:24:18 -0500 (CDT) Message-Id: <199704291724.MAA00757@sierra.zyzzyva.com> X-Mailer: exmh version 2.0gamma 1/27/96 To: John Hay cc: dg@root.com, freebsd-stable@freebsd.org Subject: Re: Memory usage on NFS server In-reply-to: jhay's message of Sat, 29 Apr 1997 10:03:57 +0200. <199704290803.KAA18509@zibbi.mikom.csir.co.za> X-uri: http://www.zyzzyva.com/ Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Date: Tue, 29 Apr 1997 12:24:18 -0500 From: Randy Terbush Sender: owner-stable@freebsd.org X-Loop: FreeBSD.org Precedence: bulk For the record, I've seen the same behavior on a machine whose primary job is webservices. This is both for 2.1.7 and 2.2.1. The swap will be freed by killing and restarting the webservers. The machine in question has 64MB RAM and 150MB swap. The webserver is Apache. > Do the numbers that top and ps show for per process memory usage also lie? > What I see here on my news server, is that I run out of swap (256M), but > according to top and ps a rough calculation of the total of all the > processes is less than half that. Inn then typically show a usage of > ~70M according to top, but as soon as I kill and restart it the swap usage > go down to ~5M. I once even added a 128M vn swapfile and it filled that > also without inn showing a usage of more than 70M, but killing and > restarting it takes the swap usage down to ~5M. > > John > -- > John Hay -- John.Hay@mikom.csir.co.za