Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 23 Mar 2015 02:00:06 -0800
From:      "CK" <nibbana@gmx.us>
To:        <freebsd-questions@freebsd.org>
Subject:   Re: thrashing + lost files
Message-ID:  <0MIdDC-1YXnHX2oga-002Ftp@mail.gmx.com>

next in thread | raw e-mail | index | archive | help
> On March 18, 2015 3:56:25 PM HKT, CK <nibbana@gmx.us> 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.




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?0MIdDC-1YXnHX2oga-002Ftp>