From owner-freebsd-xen@FreeBSD.ORG Mon Apr 13 10:56:48 2015 Return-Path: Delivered-To: freebsd-xen@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 7C0E5CE for ; Mon, 13 Apr 2015 10:56:48 +0000 (UTC) Received: from mail.mehnert.org (mail.mehnert.org [213.73.89.200]) (using TLSv1 with cipher DHE-RSA-CAMELLIA256-SHA (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id 3954F6B9 for ; Mon, 13 Apr 2015 10:56:47 +0000 (UTC) Received: from [128.232.110.109] (c109.al.cl.cam.ac.uk [128.232.110.109]) (using TLSv1 with cipher DHE-RSA-AES128-SHA (128/128 bits)) (Client CN "hannes@mehnert.org", Issuer "mehnert root CA" (not verified)) by mail.mehnert.org (Postfix) with ESMTPS id 86F93111F; Mon, 13 Apr 2015 12:56:45 +0200 (CEST) Message-ID: <552BA0EF.8050009@mehnert.org> Date: Mon, 13 Apr 2015 11:56:47 +0100 From: Hannes Mehnert User-Agent: Mozilla/5.0 (X11; FreeBSD amd64; rv:31.0) Gecko/20100101 Thunderbird/31.6.0 MIME-Version: 1.0 To: =?UTF-8?B?Um9nZXIgUGF1IE1vbm7DqQ==?= , freebsd-xen@freebsd.org Subject: Re: libxl cannot allocate memory References: <552AA3AE.20205@mehnert.org> <552B8A1C.1000000@mehnert.org> <552B91EB.4060709@citrix.com> <552B9528.5080009@mehnert.org> <552B9781.80204@citrix.com> <552B9899.1090901@mehnert.org> <552B9D9B.1090102@citrix.com> <552B9EF0.9050109@mehnert.org> <552B9FD2.5030405@citrix.com> In-Reply-To: <552B9FD2.5030405@citrix.com> OpenPGP: id=11B5464249B5BD858FFF6328BC896588DF7C28EE Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit X-BeenThere: freebsd-xen@freebsd.org X-Mailman-Version: 2.1.18-1 Precedence: list List-Id: Discussion of the freebsd port to xen - implementation and usage List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 13 Apr 2015 10:56:48 -0000 -----BEGIN PGP SIGNED MESSAGE----- Hash: SHA384 On 04/13/2015 11:52, Roger Pau Monné wrote: > No, just setting the sysctl should be fine, no need to set it in > sysctl.conf and reboot. Maybe the problem is not with vm.max_wired > but the limit you have on your shell, can you paste the output of: > > # ulimit -a > > I'm interested in the "locked memory" line. locked memory (kbytes, -l) 64 (This is a default tcsh from FreeBSD) and voila, setting `ulimit -l unlimited` results in a working xl. Thanks! hannes -----BEGIN PGP SIGNATURE----- Version: GnuPG v2 iQIcBAEBCQAGBQJVK6DvAAoJELyJZYjffCjurkMP/RzOrLGQ7wnzl7Q9FHFwquGN /7JB+fSx35w8OmXe2ukDNBIS1yQBjhTP8uJIJ+0zfh+9WMmFPAavZLKtAHJpMNy9 sSJ94pVkN/8ZLXc76H6fVPoJmvMIjeMrw02K0gn6OGDU8H9hW7j/AAsemUTo2sD5 vdXOUZai7KV4O5b5j/3dRfN+NAdhl5z3virAVe251sZidZIIYYk1bqLh+6nonkrT cCh04njGtGnIwCPUdLjbQqMQ99AaSBfsEePA+HRoyx9g7B3OjvtcBtx1Ytp8HACK atCwefC5HCDEcfk5pLOh6rOBFIX/axW/6XpECAG2yQ8i9nunYLDrgE6qHNTbDDHC V7zMU85dQaxUbmOzf51QENJcoDC14+xTnc/uiZjc1Ui5l370YB7jTM2vKP1CTjja mWzQ2DcrOAyVDHG2jAn6qtz9I3knufUXMFgnjCd/wcLKamIwuD3s0UJKCAXC98aZ vEO+/P6SM0WgfN2PE9iNL9eCEtWXB5NDriAeanPsDmHdDny1JZ3r9yZ71yhPNnrX bujKrpFgX5RdRXpcG610gXeI7gwsCZSNy6tKbwBrLyuPJBY9n1S4CuEKM5E493A1 4k9vtLpfA0GMhDyu+jeoi/I5+pNU8taxXSuReOM51uN19fHRCINGF0QGIi1OxIMp go5wcd1tY1GqKn2ZYvfS =+qgD -----END PGP SIGNATURE-----