Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 13 Apr 2015 11:56:47 +0100
From:      Hannes Mehnert <hannes@mehnert.org>
To:        =?UTF-8?B?Um9nZXIgUGF1IE1vbm7DqQ==?= <roger.pau@citrix.com>,  freebsd-xen@freebsd.org
Subject:   Re: libxl cannot allocate memory
Message-ID:  <552BA0EF.8050009@mehnert.org>
In-Reply-To: <552B9FD2.5030405@citrix.com>
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>

next in thread | previous in thread | raw e-mail | index | archive | help
-----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-----



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?552BA0EF.8050009>