<div dir="ltr"><div><div><div><div><div><div>Hi everyone,<br><br></div>According to the configuration specs for memory limits I only have to add:<br></div>lxc profile set [profile] [key] [value]<br><br></div>well, I have a container inside a kvm vm with 1gb RAM, I want to limit the container memory to 250MB. So I did:<br><br></div>$lxc profile set default limits.memory 250<br></div><div>$lxc profile apply lab1 default<br></div><div><br></div>however, when I ran the container I got:<br></div><br>$ lxc start lab1 --debug<br>2015/08/07 14:38:50 fingering the daemon<br>2015/08/07 14:38:50 raw response: {"type":"sync","status":"Success","status_code":200,"metadata":{"api_compat":1,"auth":"trusted","config":{},"environment":{"backing_fs":"ext4","driver":"lxc","kernel_version":"3.19.0-25-generic","lxc_version":"1.1.2","lxd_version":"0.13"}}}<br>2015/08/07 14:38:50 pong received<br>2015/08/07 14:38:50 putting {"action":"start","force":false,"timeout":-1}<br> to <a href="http://unix.socket/1.0/containers/lab1/state">http://unix.socket/1.0/containers/lab1/state</a><br>2015/08/07 14:38:50 raw response: {"type":"async","status":"OK","status_code":100,"operation":"/1.0/operations/30c96f4c-a114-4a9d-8598-43714fcbee90","resources":null,"metadata":null}<br>2015/08/07 14:38:50 1.0/operations/30c96f4c-a114-4a9d-8598-43714fcbee90/wait<br>2015/08/07 14:38:55 raw response: {"type":"sync","status":"Success","status_code":200,"metadata":{"created_at":"2015-08-07T14:38:50.066285022-05:00","updated_at":"2015-08-07T14:38:55.144230833-05:00","status":"Failure","status_code":400,"resources":null,"metadata":"Error calling 'lxd forkstart': exit status 1","may_cancel":false}}<br>2015/08/07 14:38:55 Error caught in main: *errors.errorString<br>error: Error calling 'lxd forkstart': exit status 1<br><br><br><div>So any ideas about lxd forkstart?<br><br clear="all"></div><div><div><div><div><div><div><div><br>-- <br><div class="gmail_signature">Luis M. Ibarra</div>
</div></div></div></div></div></div></div></div>