From owner-freebsd-current@FreeBSD.ORG Fri Feb 8 08:57:25 2013 Return-Path: Delivered-To: current@FreeBSD.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by hub.freebsd.org (Postfix) with ESMTP id E0FCA4ED; Fri, 8 Feb 2013 08:57:25 +0000 (UTC) (envelope-from freebsd-listen@fabiankeil.de) Received: from smtprelay06.ispgateway.de (smtprelay06.ispgateway.de [80.67.31.102]) by mx1.freebsd.org (Postfix) with ESMTP id A3E8EFF; Fri, 8 Feb 2013 08:57:25 +0000 (UTC) Received: from [78.35.140.107] (helo=fabiankeil.de) by smtprelay06.ispgateway.de with esmtpsa (SSLv3:AES128-SHA:128) (Exim 4.68) (envelope-from ) id 1U3jlr-0003t7-SV; Fri, 08 Feb 2013 09:57:23 +0100 Date: Fri, 8 Feb 2013 09:57:09 +0100 From: Fabian Keil To: Ulrich =?UTF-8?B?U3DDtnJsZWlu?= Subject: Re: geli(8) breaks after a couple hours of uptime Message-ID: <20130208095709.6ae61cff@fabiankeil.de> In-Reply-To: <20130207180153.GX35868@acme.spoerlein.net> References: <20130207141833.GA15884@acme.spoerlein.net> <20130207153322.5c371beb@fabiankeil.de> <20130207180153.GX35868@acme.spoerlein.net> Mime-Version: 1.0 Content-Type: multipart/signed; micalg=PGP-SHA1; boundary="Sig_/h++L8yc30rwoEDsDec_f+m5"; protocol="application/pgp-signature" X-Df-Sender: Nzc1MDY3 Cc: current@FreeBSD.org X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 08 Feb 2013 08:57:25 -0000 --Sig_/h++L8yc30rwoEDsDec_f+m5 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable Ulrich Sp=C3=B6rlein wrote: > On Thu, 2013-02-07 at 15:33:22 +0100, Fabian Keil wrote: > > Ulrich Sp=C3=B6rlein wrote: > >=20 > > > Yes, it's pretty much as weird as it sounds. All new machine, forklif= ted > > > the image from on old i386 machine running 8.x to current on amd64. > > >=20 > > > Everything seemingly works fine, attaching geli volumes shortly after > > > boot is fine, attached devices continue to work fine. There are no > > > strange crashes with this machine or anything, but when I try to atta= ch > > > an USB volume the next day, geli attach segfaults. > >=20 > > This could be: > > http://www.freebsd.org/cgi/query-pr.cgi?pr=3D174831 > Except it happens to me when run as root, and: Depending on your settings the limit could still apply. Did you check with ulimit -l to be sure? > root@coyote:~# sysctl vm.old_mlock > vm.old_mlock: 0 Looks like I got the logic wrong in the PR ... fk@r500 ~ $sysctl -d vm.old_mlock vm.old_mlock: Do not apply RLIMIT_MEMLOCK on mlockall Fabian --Sig_/h++L8yc30rwoEDsDec_f+m5 Content-Type: application/pgp-signature; name=signature.asc Content-Disposition: attachment; filename=signature.asc -----BEGIN PGP SIGNATURE----- Version: GnuPG v2.0.19 (FreeBSD) iEYEARECAAYFAlEUvfcACgkQBYqIVf93VJ3fVACgnx429Dv/ClOXdIazkKioJ4QG QGAAnRfpp305wunsNV48sxvFJRD7AHBb =mkuc -----END PGP SIGNATURE----- --Sig_/h++L8yc30rwoEDsDec_f+m5--