From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from tansi.org (ns.km10532-04.keymachine.de [87.118.102.195]) by mail.saout.de (Postfix) with ESMTP for ; Sat, 13 Nov 2010 15:53:47 +0100 (CET) Received: from gatewagner.dyndns.org (84-74-164-239.dclient.hispeed.ch [84.74.164.239]) by tansi.org (Postfix) with ESMTPA id 78F3312183D5 for ; Sat, 13 Nov 2010 15:53:47 +0100 (CET) Date: Sat, 13 Nov 2010 15:53:46 +0100 From: Arno Wagner Message-ID: <20101113145346.GA12522@tansi.org> References: <20101112165136.GA23352@tansi.org> <4CDDAB0C.1020603@redhat.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: Subject: Re: [dm-crypt] system freezes when using swap that is encrypted List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: dm-crypt@saout.de On Fri, Nov 12, 2010 at 08:40:43PM -0700, Nicolas Bock wrote: > I think I have ruled out now that this is a hard crash. I have 8GB of > physical memory and another 8GB as swap. I allocated 10GB in a C > program and after it had written to about 7GB or so, the system > froze. But after maybe 20 minutes the system got unstuck and had > killed the job. Since I am on amd64, I am not sure why the job got > killed, it should certainly have had enough memory to write to. I don't know what criteria lead to activation of the OOM killer, but I use one application that allocates up to 150 MB of memory, but never uses (accesses) it. This app runs fine in a qemu with 16MB RAM and 200MB swap. It is possible that your process gets killed, if it uses more memory than the larger of swap and main memory. Arno -- Arno Wagner, Dr. sc. techn., Dipl. Inform., CISSP -- Email: arno@wagner.name GnuPG: ID: 1E25338F FP: 0C30 5782 9D93 F785 E79C 0296 797F 6B50 1E25 338F ---- Cuddly UI's are the manifestation of wishful thinking. -- Dylan Evans If it's in the news, don't worry about it. The very definition of "news" is "something that hardly ever happens." -- Bruce Schneier