From owner-freebsd-current@FreeBSD.ORG Wed Aug 27 11:21:43 2008 Return-Path: Delivered-To: freebsd-current@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 7B56A106567C for ; Wed, 27 Aug 2008 11:21:43 +0000 (UTC) (envelope-from gary.jennejohn@freenet.de) Received: from mout1.freenet.de (mout1.freenet.de [IPv6:2001:748:100:40::2:3]) by mx1.freebsd.org (Postfix) with ESMTP id 0D0B78FC16 for ; Wed, 27 Aug 2008 11:21:43 +0000 (UTC) (envelope-from gary.jennejohn@freenet.de) Received: from [195.4.92.17] (helo=7.mx.freenet.de) by mout1.freenet.de with esmtpa (ID gary.jennejohn@freenet.de) (port 25) (Exim 4.69 #65) id 1KYJ5q-0006Rf-9u for freebsd-current@freebsd.org; Wed, 27 Aug 2008 13:21:42 +0200 Received: from ra3cb.r.pppool.de ([89.54.163.203]:37004 helo=peedub.jennejohn.org) by 7.mx.freenet.de with esmtpa (ID gary.jennejohn@freenet.de) (port 25) (Exim 4.69 #12) id 1KYJ5q-0007x1-1J for freebsd-current@freebsd.org; Wed, 27 Aug 2008 13:21:42 +0200 Date: Wed, 27 Aug 2008 13:21:41 +0200 From: Gary Jennejohn To: freebsd-current@freebsd.org Message-ID: <20080827132141.593e728d@peedub.jennejohn.org> In-Reply-To: <20080827091255.GH3305@carrot.paeps.cx> References: <20080826124335.GD3305@carrot.paeps.cx> <48B416E7.70905@163.com> <20080827091255.GH3305@carrot.paeps.cx> X-Mailer: Claws Mail 3.5.0 (GTK+ 2.10.14; amd64-portbld-freebsd8.0) Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Subject: Re: Enormous utmp since mpsafetty X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: gary.jennejohn@freenet.de List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 27 Aug 2008 11:21:43 -0000 On Wed, 27 Aug 2008 11:12:55 +0200 Philip Paeps wrote: > On 2008-08-26 22:44:55 (+0800), kevin wrote: > > Philip Paeps wrote: > > > Has anyone else noticed that /var/run/utmp sometimes grows to insane sizes > > > (998M) since mpsafetty? I've been trying to pinpoint the culprit but I > > > haven't been successful so far. > > > > > > I don't think mpsafetty itself is to blame. Rather something which expects > > > our old tty system. > > > > > > My original reaction was to blame screen, but I can't immediately see where it > > > might be going wrong. > > > > > > Mysterious. Anyone have any ideas? > > > > Could you check the output of `last`? > > The output of last looks sane... last checks wtmp though, not utmp, if I'm > not mistaken? Interestingly, strings on utmp only shows the records I expect > to be there. The rest of the file seems to be filled with zeros. > > Very strange. > There are many more pseudo-ttys in /etc/ttys now. AFAIK utmp allocates an entry for every one of them at startup. --- Gary Jennejohn