From owner-freebsd-questions@FreeBSD.ORG Mon Mar 23 09:59:16 2015 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id F0F4D2ED for ; Mon, 23 Mar 2015 09:59:16 +0000 (UTC) Received: from mout.gmx.com (mout.gmx.com [74.208.4.201]) (using TLSv1.2 with cipher DHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id BE955E72 for ; Mon, 23 Mar 2015 09:59:16 +0000 (UTC) Received: from mail.gmx.com ([72.251.118.206]) by mail.gmx.com (mrgmxus001) with ESMTPA (Nemesis) id 0LjISX-1Z4vhh1Fkt-00dVva for ; Mon, 23 Mar 2015 10:59:15 +0100 Date: Mon, 23 Mar 2015 02:00:06 -0800 From: "CK" To: Cc: Subject: Re: thrashing + lost files Reply-To: "CK" X-Mailer: UMail v1.0 Message-ID: <0MIdDC-1YXnHX2oga-002Ftp@mail.gmx.com> X-Provags-ID: V03:K0:CA3Eat3vn+695EAfLHqADvmWzL0GfH2dh/hSeVu1wJjNZivJdjf PH5OzwNsmr+qihFgZs4SsMKFBFjETLjnSDvjhWLjk/lyvo9hk6EeKe3RyjTJzhf36c+htu4 TlgIs7KW+ErP0/19OEbdIP88cP9eCE2VwAMG0C9dz3jYuRbP5+LeXlRoYYsfoXgx0hADWQd oLDOVsSVmDJ30GfVNH2Dw== X-UI-Out-Filterresults: notjunk:1; X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.18-1 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 23 Mar 2015 09:59:17 -0000 > On March 18, 2015 3:56:25 PM HKT, CK wrote: > > > >PROBLEM: > >------- > >This is a very bad problem I have experienced several times of late, and > >come to think of it, has only happened since using GELI encryption > >(recently upgraded from 4.11 to 9.2). The easy answer may be "turn off > >encryption", but this is not an easy problem to test and verify: > > > >The result is the loss of many critical files from a hard drive, as if a > >"rm *" was done in the home directory. This occurs after the thrashing > >when Xwindow is accidently shutdown with Opera open with many javascript > >page tabs, eg, being a memory pig - consuming 1/2 of RAM (256M), which > >after dumping core, writes a large amount of data (crashlog) even after > >Xwindow is down: > > > >pid 1118 (opera), uid 1001: exited on signal 11 (core dumped) > > To my untrained eye, it looks like the encryption clashing > with the memory usage of Opera. Encryption requires > a significant amount of memory, right? so if it doesn't > have enough it might fail in the middle of encrypting. > > This is just my guess, the logic behind it may be completely flawed. There is 512MB of RAM, and 1G of swap - which is hardly ever used. And it is important to remember that one other user reported the same problem.