From owner-freebsd-gnome@FreeBSD.ORG Thu Apr 17 13:49:54 2008 Return-Path: Delivered-To: gnome@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id A1E751065675 for ; Thu, 17 Apr 2008 13:49:54 +0000 (UTC) (envelope-from marcus@marcuscom.com) Received: from creme-brulee.marcuscom.com (penna-pt.tunnel.tserv1.fmt.ipv6.he.net [IPv6:2001:470:1f00:ffff::1279]) by mx1.freebsd.org (Postfix) with ESMTP id 467308FC20 for ; Thu, 17 Apr 2008 13:49:54 +0000 (UTC) (envelope-from marcus@marcuscom.com) Received: from [IPv6:2001:470:1f00:2464::4] (shumai.marcuscom.com [IPv6:2001:470:1f00:2464::4]) by creme-brulee.marcuscom.com (8.14.2/8.14.2) with ESMTP id m3HDncFd042305; Thu, 17 Apr 2008 09:49:38 -0400 (EDT) (envelope-from marcus@marcuscom.com) From: Joe Marcus Clarke To: Pascal Hofstee In-Reply-To: References: Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="=-sPAV6/L1FXS0kBMUbmak" Organization: MarcusCom, Inc. Date: Thu, 17 Apr 2008 09:49:49 -0400 Message-Id: <1208440190.60309.5.camel@shumai.marcuscom.com> Mime-Version: 1.0 X-Mailer: Evolution 2.22.1 FreeBSD GNOME Team Port X-Spam-Status: No, score=-2.6 required=5.0 tests=BAYES_00,NO_RELAYS autolearn=ham version=3.2.4 X-Spam-Checker-Version: SpamAssassin 3.2.4 (2008-01-01) on creme-brulee.marcuscom.com Cc: gnome@freebsd.org Subject: Re: CURRENT, devbuf memory allocation and hald X-BeenThere: freebsd-gnome@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: GNOME for FreeBSD -- porting and maintaining List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 17 Apr 2008 13:49:54 -0000 --=-sPAV6/L1FXS0kBMUbmak Content-Type: text/plain Content-Transfer-Encoding: quoted-printable On Thu, 2008-04-17 at 13:03 +0200, Pascal Hofstee wrote: > Hi, >=20 > After updating my CURRENT system i noticed that my system started to > completely break down after a while (ususally after coming home from a > day at college) with the console spewing loads of messages about > ata-subsystem(s) being unable to allocate any memory, existing shells > no longer being able to fork new subprocesses because of memory > problems etc. Initially i had assumed it might bave been a rare side > effect of the recent commits to the ATA-system, at least one of which > Soren mentioned fixed a couple of bogons. >=20 > Now after some additionial investigation i have come to the > realisation that the most likely source of the problem was because > according to vmstat -m the "InUse" statistics for the memory type > "devbuf" were consistently increasing by about 140k over a 10 second > time peroid. I decided to shoot down any daemons originating from > port-installed software to ensure the problem was indeed caused by > some part of the base system and not some 3rd party influence and i > managed to trace the problem down to hald. While hald might be the catalyst, I doubt the problem is there. The fact that you only noticed this after updating -CURRENT leads me to think that something bad changed in -CURRENT that is being tickled by hald. >=20 > Whenever i halted hald the increase in devbuf-usage would halt (not > decline simply stay at the same value), and as soon as i started hald > again the increase would resume with the 140k/10s ratio until hald was > stopped again. hald itself is probably not triggering this. You might try killing of the various addons, and see if you can rule out a particular addon, or a particular device. Joe --=20 PGP Key : http://www.marcuscom.com/pgp.asc --=-sPAV6/L1FXS0kBMUbmak Content-Type: application/pgp-signature; name=signature.asc Content-Description: This is a digitally signed message part -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.8 (FreeBSD) iEYEABECAAYFAkgHVXoACgkQb2iPiv4Uz4eSAACgqcluVmgSba+HcQsP8g4duGth vkgAnAp0YWVw5vnxJ9J34EzvYlnzALSs =P6xx -----END PGP SIGNATURE----- --=-sPAV6/L1FXS0kBMUbmak--