From owner-freebsd-hackers Mon Feb 5 02:47:28 1996 Return-Path: owner-hackers Received: (from root@localhost) by freefall.freebsd.org (8.7.3/8.7.3) id CAA18448 for hackers-outgoing; Mon, 5 Feb 1996 02:47:28 -0800 (PST) Received: from expo.x.org (expo.x.org [198.112.45.11]) by freefall.freebsd.org (8.7.3/8.7.3) with ESMTP id CAA18434 for ; Mon, 5 Feb 1996 02:47:01 -0800 (PST) Received: from exalt.x.org by expo.x.org id AA20764; Mon, 5 Feb 96 05:46:15 -0500 Received: from localhost by exalt.x.org id KAA20613; Mon, 5 Feb 1996 10:46:13 GMT Message-Id: <199602051046.KAA20613@exalt.x.org> To: "Christoph P. Kukulies" Cc: hackers@freefall.FreeBSD.org Subject: Re: xdm+X (2.1R) leaks? In-Reply-To: Your message of Mon, 05 Feb 1996 10:30:17 EDT. <199602050930.KAA13670@gilberto.physik.rwth-aachen.de> Organization: X Consortium Date: Mon, 05 Feb 1996 05:46:13 EDT From: "Kaleb S. KEITHLEY" Sender: owner-hackers@FreeBSD.ORG Precedence: bulk > I upgraded a 1.1.5.1R machine here over the weekend to 2.1.0-R > (486/40, 8MB, IDE ,XF86/312/S3,20 MB root/27MB swap) and I put > xdm into rc.local to start X automatically. This was on saturday noon. > When I wanted to telnet/ftp into the machine 24 hours later I got connection > (ping also worked) but the system was nearly unusable, that is, > telnet and ftp never got to the login prompt. I tried to login > at the local console to no avail. It seemed the machine was heavily > paging out during my attempts to login. I did a hard reset after a > couple of minutes. > > I suspect there being some memory leak either with X alone or > when being running via xdm. > > Is that a known problem? > Is this a loaded question? :-) malloc in 2.1R is notorious for fragmenting the heap. Two things you can do to improve the situation are: rebuild X with libgnumalloc, get phk's new malloc from -current and rebuild your libc, or build gnumalloc into libc. -- Kaleb KEITHLEY