From mboxrd@z Thu Jan 1 00:00:00 1970 From: Alexander Schier Subject: Re: OOM while deleting very large files Date: Mon, 5 May 2008 18:53:31 +0200 Message-ID: <20080505165331.GA15115@laxu.de> References: <20080504165426.GA2826@laxu.de> <20080506.011837.81573783.ryusuke@osrg.net> Reply-To: NILFS Users mailing list Mime-Version: 1.0 Return-path: Content-Disposition: inline In-Reply-To: <20080506.011837.81573783.ryusuke-sG5X7nlA6pw@public.gmane.org> List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: users-bounces-JrjvKiOkagjYtjvyW6yDsg@public.gmane.org Errors-To: users-bounces-JrjvKiOkagjYtjvyW6yDsg@public.gmane.org Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: NILFS Users mailing list Hi! On Tue, May 06, 2008 at 01:18:37AM +0900, Ryusuke Konishi wrote: It is not so important, as i do not need to use such big files further, so you can have holydays ;). For the fixing later: PC: CPU: AMD Athlon XP 1,6+ RAM: 512 MB DDR RAM Nilfs2 Version (Module and Tools): 2.0.2 Partition: 251 GB dmcrypt Files: 2x approx. 100 GB created with dd if=/dev/zero of=bigfile, to erase the old content on the cryptopartition (the zeros are written encrypted to the real partition) Problem while deleting them as described: > > rm bigfile1 > > > > or after it failed > > > > echo '' >bigfile1 > > > > the pc worked a long time, and then nilfs2 used so much ram, that the > > kernel killed all programs, and finally the pc was unusable. It was not > > possible to delete the files, other than reformatting the partition. Now i'm using the same setup with a nilfs2 with "normal" files on it, filled to 11 GB (df -h), without any further problems. I do not want to experiment in a way, that the partition needs to be reformatted later again :/. Alex