From owner-freebsd-questions Fri Jan 8 10:35:06 1999 Return-Path: Received: (from majordom@localhost) by hub.freebsd.org (8.8.8/8.8.8) id KAA04053 for freebsd-questions-outgoing; Fri, 8 Jan 1999 10:35:06 -0800 (PST) (envelope-from owner-freebsd-questions@FreeBSD.ORG) Received: from cis.ohio-state.edu (mail.cis.ohio-state.edu [164.107.115.5]) by hub.freebsd.org (8.8.8/8.8.8) with ESMTP id KAA04041 for ; Fri, 8 Jan 1999 10:35:04 -0800 (PST) (envelope-from cmcurtin@cis.ohio-state.edu) Received: from gold.cis.ohio-state.edu (gold.cis.ohio-state.edu [164.107.112.16]) by cis.ohio-state.edu (8.9.1/8.9.1) with ESMTP id NAA14363; Fri, 8 Jan 1999 13:34:34 -0500 (EST) Received: (from cmcurtin@localhost) by gold.cis.ohio-state.edu (8.9.1/8.9.1) id NAA19828; Fri, 8 Jan 1999 13:34:33 -0500 (EST) To: Charlie Sorsby Cc: freebsd-questions@FreeBSD.ORG Subject: Re: "memory exhausted" error???? References: <199901081407.JAA01644@quail.hgo.net> From: Matt Curtin Date: 08 Jan 1999 13:34:32 -0500 In-Reply-To: Charlie Sorsby's message of "Fri, 8 Jan 1999 09:07:38 -0500 (EST)" Message-ID: Lines: 43 X-Mailer: Gnus v5.5/XEmacs 20.4 - "Emerald" Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG Charlie Sorsby writes: > PC% sudo diff -r /var.226 /home.215 > diff: memory exhausted This means that your memory is tired and wants to sleep(3). :-) Actually, you probably really are running out of memory. Note: > have 48MB of memory and, I think, plenty of swap: > > PC% swapinfo > Total 687872 0 687872 0% > PC% df -k > Filesystem 1K-blocks Used Avail Capacity Mounted on > /dev/sd0s2g 653279 43890 557127 7% /home.215 > /dev/sd1s1f 127151 43890 73089 38% /var.226 The filesystems here are smaller than available swap, but not by much. The "memory exhausted" error is printed when a malloc fails, i.e., diff tries to allocate more memory, but cannot. > Clearly, /proc is full but I don't know enough about that to know > if that is the problem or not nor do I know what to do about it if > it is. I can't recall if /proc normally is shown to be full or > not but it seems to me that it is. Yes, /proc should look full. > Since I've never used this tape drive before, I should very much > like to verify that my experimental dump/restore was successful > before I entrust my /home file system to it before installing 2.2.8 > and re-organizing my disks. You could compare results of MD5 hashes... Hope that helps. -- Matt Curtin cmcurtin@interhack.net http://www.interhack.net/people/cmcurtin/ To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message