Re: getting domain info list: Cannot allocate memory
Date: Thu, 21 Dec 2023 21:18:11 UTC
> You might want to edit /etc/login.conf and set memorylocked to a more > suitable value (unlimited?) for the user you plan to execute xl from. I changed the memorylocked and logged in again, but the memorylockd did not change. Am I doing something wrong? $ limits -l Resource limits (current): memorylocked 64 kB $ cd /etc $ sudo ci -l login.conf <snip> $ sudo vi login.conf $ rcsdiff -u login.conf =================================================================== RCS file: RCS/login.conf,v retrieving revision 1.1 diff -u -r1.1 login.conf --- login.conf 2023/12/21 20:15:48 1.1 +++ login.conf 2023/12/21 20:18:44 @@ -33,7 +33,7 @@ :cputime=unlimited:\ :datasize=unlimited:\ :stacksize=unlimited:\ - :memorylocked=64K:\ + :memorylocked=128K:\ :memoryuse=unlimited:\ :filesize=unlimited:\ :coredumpsize=unlimited:\ $ login -p asou Last login: Fri Dec 22 05:19:55 on pts/0 FreeBSD 13.2-RELEASE releng/13.2-n254617-525ecfdad597 GENERIC <snip> $ limits -l Resource limits (current): memorylocked 64 kB $ -- ASOU Masato