[lxc-users] lxc memory limit

Fajar A. Nugraha list at fajar.net
Tue Mar 22 13:51:12 UTC 2016


On Tue, Mar 22, 2016 at 8:44 PM, Fajar A. Nugraha <list at fajar.net> wrote:
> On Tue, Mar 22, 2016 at 7:55 PM, Tamas Papp <tompos at martos.bme.hu> wrote:
>>
>>
>> On 03/22/2016 01:51 PM, Dan Kegel wrote:
>>>
>>>
>>> that is the largest possible value.  convert it to base16 and you'll see.
>>>
>>
>> $ echo 18446744073709551615| base64
>> MTg0NDY3NDQwNzM3MDk1NTE2MTUK
>
> base16, not 64
>
>>
>>
>> What should I see here?
>
> # php -r 'echo base_convert("18446744073709551615",10,16)."\n";'
> 10000000000000000

Sorry, double precission issue with php. Should be

# echo "obase=16; 18446744073709551615"|bc
FFFFFFFFFFFFFFFF

-- 
Fajar


More information about the lxc-users mailing list