From owner-freebsd-hackers Mon May 26 08:35:17 1997 Return-Path: Received: (from root@localhost) by hub.freebsd.org (8.8.5/8.8.5) id IAA24273 for hackers-outgoing; Mon, 26 May 1997 08:35:17 -0700 (PDT) Received: from dyson.iquest.net (dyson.iquest.net [198.70.144.127]) by hub.freebsd.org (8.8.5/8.8.5) with ESMTP id IAA24265 for ; Mon, 26 May 1997 08:35:14 -0700 (PDT) Received: (from root@localhost) by dyson.iquest.net (8.8.5/8.8.5) id KAA12679; Mon, 26 May 1997 10:34:30 -0500 (EST) From: "John S. Dyson" Message-Id: <199705261534.KAA12679@dyson.iquest.net> Subject: Re: vm problems on 2.2, 2.1.7 works In-Reply-To: <199705261443.QAA03605@curry.mchp.siemens.de> from Andre Albsmeier at "May 26, 97 04:43:47 pm" To: Andre.Albsmeier@mchp.siemens.de (Andre Albsmeier) Date: Mon, 26 May 1997 10:34:29 -0500 (EST) Cc: jhay@zibbi.mikom.csir.co.za, hackers@FreeBSD.ORG X-Mailer: ELM [version 2.4ME+ PL31 (25)] MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Sender: owner-hackers@FreeBSD.ORG X-Loop: FreeBSD.org Precedence: bulk > > Hmmm. This looks a lot like the problem I have on my news server. > > It will run ok for a while and then suddenly start to use up all > > of the swap. According to top and ps no process is using that > > memory, but if I kill innd quick enough all will be ok. So now > > I have a script that runs every minute and kill and restart innd > > as soon as the swap usage go over some value. Not nice, but it > > works until someone find this thingy. > > Yes, the same here. The swapspace in use diplayed in top grows > to its limits but there is no process using it. procmail stays > between 8M and 17M depending on the mail size... > This confirmes my thinking, that procmail itself isn't the > problem... > I'll look at procmail, but can anyone narrow this problem down to a reasonably small piece of code? When this starts to happen, I would like the output of the following command file (which will give me more detail about the problem that you are seeing): #!/bin/sh ps -xla pstat -s for i in /proc/*/map do echo $i: cat <$i done Thanks! John