Date: Wed, 15 Aug 2007 09:38:39 +0300 From: Danny Braniss <danny@cs.huji.ac.il> To: am-utils@fsl.cs.sunysb.edu Cc: freebsd-current@FreeBSD.org, freebsd-amd64@FreeBSD.org Subject: Re: amd crashes when memory is low Message-ID: <E1ILCWd-0002bp-OZ@cs1.cs.huji.ac.il> In-Reply-To: Your message of Mon, 06 Aug 2007 13:40:59 %2B0300 .
next in thread | raw e-mail | index | archive | help
> > Hi, > > This is not new, but now that freebsd current is almost out, I'm > > trying it out again. amd (am-utils version 6.1.5) on an amd64 will crash when > > vm memory is low. In the past it was suggested to add 'plock=no' to > > /etc/amd.conf, but I have to check if it's read since I still see: > > Couldn't lock process pages in memory using mlockall(): \ > > Resource temporarily unavailable > > > > I'll try it out under i386 and report later. > > ok, it works under i386, because mlockall() does not fail, and hence > amd is locked in core, while it failes under amd64. this does not explain > why it crashes when swapped out, but that is another problem? > to the am-utils maintainers: changing the call to mlockall, from mlockall(MCL_FUTURE|MCL_CURRENT) to mlockall(MCL_FUTURE) solves the problem. danny
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?E1ILCWd-0002bp-OZ>