Date: Wed, 27 Aug 2008 13:21:41 +0200 From: Gary Jennejohn <gary.jennejohn@freenet.de> To: freebsd-current@freebsd.org Subject: Re: Enormous utmp since mpsafetty 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>
next in thread | previous in thread | raw e-mail | index | archive | help
On Wed, 27 Aug 2008 11:12:55 +0200 Philip Paeps <philip@freebsd.org> wrote: > On 2008-08-26 22:44:55 (+0800), kevin <kevinxlinuz@163.com> 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
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20080827132141.593e728d>