From: Jan Hudec Subject: Re: Run linux in ramdisk(tmpfs) and use a mounted HD for files cause memory and CPU overflow! Date: Mon, 27 Jun 2005 16:20:13 +0200 Message-ID: <20050627142013.GA11425@vagabond> References: <1f52e8ed050627021872365696@mail.gmail.com> Mime-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="yrj/dFKFPuw6o+aM" Cc: linux-fsdevel@vger.kernel.org Return-path: Received: from cimice4.lam.cz ([212.71.168.94]:62352 "EHLO vagabond.light.src") by vger.kernel.org with ESMTP id S261292AbVF0OUS (ORCPT ); Mon, 27 Jun 2005 10:20:18 -0400 To: Ewerton Romulo Content-Disposition: inline In-Reply-To: <1f52e8ed050627021872365696@mail.gmail.com> Sender: linux-fsdevel-owner@vger.kernel.org List-Id: linux-fsdevel.vger.kernel.org --yrj/dFKFPuw6o+aM Content-Type: text/plain; charset=iso-8859-2 Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Mon, Jun 27, 2005 at 06:18:11 -0300, Ewerton Romulo wrote: > I am building a very small linux system to boot off an IDE-HD module > and run from a ramdisk. Ramdisk *OR* tmpfs? They are completely different things. > He=B4s working well and have no problem funtion like that. I=B4m using > linux kernel 2.4.30! > But some times I need to mount a partion on HD and use a directory to > save many files in it! How large are those "many files"? Where do the data come from? > I mount it, create a directory there but ... when I try to use the HD > mount with the directory, save many files in it, the memory go up .. up > ... and the linux stop working!!!o > If I umount the partion everything return to function well. How do you umount it, when it stopped working?! Anyway, could you provide contents of /proc/meminfo, /proc/slabinfo, /proc/mounts and /proc/swaps when the bad things are happening? > When I mount the partion again and begin to put files in it ... the > problem return! > I try to mount partion using ext2 and ext3 ... the problem is the > same!!! I'd be surprised if there was a difference. The filesystems are quite similar. ---------------------------------------------------------------------------= ---- Jan 'Bulb' Hudec --yrj/dFKFPuw6o+aM Content-Type: application/pgp-signature; name="signature.asc" Content-Description: Digital signature Content-Disposition: inline -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.1 (GNU/Linux) iD8DBQFCwAsdRel1vVwhjGURAhF1AKCcAoXEB51DGwSAZLBJMHhoFEOdJwCgwkFB H0YEimSJXYMVTPT0CqMBliE= =vIcV -----END PGP SIGNATURE----- --yrj/dFKFPuw6o+aM--