From owner-freebsd-current@FreeBSD.ORG Tue Apr 8 08:09:39 2003 Return-Path: Delivered-To: freebsd-current@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 6BD7037B401; Tue, 8 Apr 2003 08:09:39 -0700 (PDT) Received: from dan.emsphone.com (dan.emsphone.com [199.67.51.101]) by mx1.FreeBSD.org (Postfix) with ESMTP id 86A8843FA3; Tue, 8 Apr 2003 08:09:38 -0700 (PDT) (envelope-from dan@dan.emsphone.com) Received: (from dan@localhost) by dan.emsphone.com (8.12.9/8.12.9) id h38F9Vr7020943; Tue, 8 Apr 2003 10:09:31 -0500 (CDT) (envelope-from dan) Date: Tue, 8 Apr 2003 10:09:31 -0500 From: Dan Nelson To: Ruslan Ermilov Message-ID: <20030408150931.GC86482@dan.emsphone.com> References: <20030408132730.GD19391@sunbay.com> <200304081553.52781.a.carter@intrasoft.lu> <20030408135611.GB23660@sunbay.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20030408135611.GB23660@sunbay.com> X-OS: FreeBSD 5.0-CURRENT X-message-flag: Outlook Error User-Agent: Mutt/1.5.4i cc: marcus@freebsd.org cc: current@freebsd.org Subject: Re: fontconfig-2.1.92 considered harmful X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 08 Apr 2003 15:09:39 -0000 In the last episode (Apr 08), Ruslan Ermilov said: > On Tue, Apr 08, 2003 at 03:53:52PM +0200, CARTER Anthony wrote: > > Is the problem during xclock execution or xclock compilation? > > At runtime. When I run xclock under truss(1), it shows the paths to > the fonts, and never stops doing it, eventually eating all memory and > being killed by kernel. The same thing happens when I say run > mozilla (also upgraded from fresh ports). Maybe it's building the font cache. Xft takes a insane amount of memory while it's doing this; mine got up to 200MB. If all your X programs start up at once and each decides to rebuild the cache you could certainly run out of RAM real quick. Try running fc-cache as root before starting X, so the cache is already built when the X clients need it. For me, 2.1.92 is much better than 2.1 ever was. After the XFree86 4.3.0 update, I couldn't run any Xft-enabled app at all without a core dump until I upgraded to 2.1.92. -- Dan Nelson dnelson@allantgroup.com