From owner-freebsd-current Tue Mar 31 23:05:24 1998 Return-Path: Received: (from majordom@localhost) by hub.freebsd.org (8.8.8/8.8.8) id XAA29441 for freebsd-current-outgoing; Tue, 31 Mar 1998 23:05:24 -0800 (PST) (envelope-from owner-freebsd-current@FreeBSD.ORG) Received: from smtp01.primenet.com (smtp01.primenet.com [206.165.6.131]) by hub.freebsd.org (8.8.8/8.8.8) with ESMTP id XAA29417; Tue, 31 Mar 1998 23:05:14 -0800 (PST) (envelope-from tlambert@usr02.primenet.com) Received: (from daemon@localhost) by smtp01.primenet.com (8.8.8/8.8.8) id AAA26272; Wed, 1 Apr 1998 00:05:13 -0700 (MST) Received: from usr02.primenet.com(206.165.6.202) via SMTP by smtp01.primenet.com, id smtpd026260; Wed Apr 1 00:05:11 1998 Received: (from tlambert@localhost) by usr02.primenet.com (8.8.5/8.8.5) id AAA17595; Wed, 1 Apr 1998 00:05:10 -0700 (MST) From: Terry Lambert Message-Id: <199804010705.AAA17595@usr02.primenet.com> Subject: Re: swap-leak in 2.2.5 ? To: phk@FreeBSD.ORG (Poul-Henning Kamp) Date: Wed, 1 Apr 1998 07:05:10 +0000 (GMT) Cc: current@FreeBSD.ORG In-Reply-To: <6337.891380655@critter.freebsd.dk> from "Poul-Henning Kamp" at Mar 31, 98 11:44:15 pm X-Mailer: ELM [version 2.4 PL25] MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Sender: owner-freebsd-current@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG > Anybody know what is eating the swap-space on this machine ? > > There is no MFS or anything weird going on, just a couple of > spam-filtering tcl scripts and a lot of sendmails... > > Does 2.2.5 have a swap-leak I havn't heard about ? > 0 210 1 16 10 0 3596 3204 wait S con- 53:56.35 /bin/sh /root/MailFilter/mail_pusher_intern This is big, and that's an awful lot of sendmails... but the time on this sucker is *incredible*! Can you limit the number of sendmails, and see if that helps? Use: -O ConnectionRateThrottle=10 You may want to seperate enqueueing from queue runs: -q10m Maybe making it explitly delayed: -q10m -O DeliveryMode=q You may also want to use: -O ForkEachJob but I wouldn't really recommend it as a panacea... These seem to have an especially huge number of mappings: > 0 208 1 5 10 0 500 156 wait I con- 0:02.04 /bin/sh /ro ot/MailFilter/run_filter_them > 0 209 1 2 10 0 1316 908 wait S con- 14:00.59 /bin/sh /ro ot/MailFilter/mail_pusher > 0 210 1 16 10 0 3596 3204 wait S con- 53:56.35 /bin/sh /ro ot/MailFilter/mail_pusher_intern > Terry Lambert terry@lambert.org --- Any opinions in this posting are my own and not those of my present or previous employers. To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-current" in the body of the message