Hello, Thanks, This didn't correct the problem. I'm still limited....Of course the host has been rebooted few days ago. this doesn't fix this case.
I set :datasize=infinity:\ in a specific qemu class, and added the user. I tried to play datasize-cur or max or both but.... :( > ---------------------------------------- > From: Alexis de BRUYN <[email protected]> > Sent: Thu Jul 17 14:56:11 CEST 2014 > To: <[email protected]> > Subject: Re: [Cannot allocate memory][Qemu][x86 & i386] limits ? login.conf ? > > > On 16.07.2014 10:48, Francois Pussault wrote: > > Hi all. > Hi François, > > > I experiment qemu problems while playing with emulators/virtual machines ... > > > > When I try to create any virtual machines with x86_64 or i 386 hardware and > > more than 256Mo ram that fail. > > Qemu returns "Cannot allocate memory". > I had the same issue on -current couple weeks ago. > > > default:\ > > :path=/usr/bin /bin /usr/sbin /sbin /usr/X11R6/bin /usr/local/bin > > /usr/local/sbin:\ > > :umask=022:\ > > :datasize-max=2048M:\ > > :datasize-cur=2024M:\ > > :maxproc-max=512:\ > > :maxproc-cur=256:\ > > :vmemoryuse=1024:\ > > :openfiles-cur=1024:\ > > :stacksize-cur=8M:\ > > :localcipher=blowfish,6:\ > > :ypcipher=old:\ > > :tc=auth-defaults:\ > > :tc=auth-ftp-defaults: > > > I added in my user class: > :datasize=infinity:\ > > No more problem for me, I can start VM with +256M RAM. > > Be sure that the user which launches qemu has your class (vipw(8)). > > Regards, > > -- > Alexis de BRUYN > Cordialement Francois Pussault 10 chemin de négo saoumos apt 202 - bat 2 31300 Toulouse +33 6 17 230 820 +33 5 34 365 269 [email protected]

