Hi Aaron,

You can set memory in /etc/mesos-slave/resources

example:

cpus(*):4;mem(*):16067;ports(*):[80-80,31000-32000]

with this configuration mesos offers 15.7GB RAM on one of our nodes.







2015-05-21 12:51 GMT+02:00 Aaron Carey <[email protected]>:

>  I've managed to increase the disksize by playing with some docker
> options,
>
> Anyone have any idea about the memory?
>
> Thanks,
> Aaron
>
>  ------------------------------
> *From:* Aaron Carey [[email protected]]
> *Sent:* 21 May 2015 11:19
> *To:* [email protected]
> *Subject:* How slaves calculate resources
>
>   Hi,
>
> I was just trying to figure out how Mesos slaves report the amount of
> resources available to them on the host?
>
> We have some slaves running on AWS t2.medium machines (2cpu, 4Gb RAM) with
> 32GB disks.
>
> The slaves are running inside docker containers.
>
> They report 2 cpus (correct), 2.5GB RAM and 4.9GB disk.
>
> Any ideas why this is different from what I can see on the machine? (both
> on the host and within the slave docker container)?
>
> Thanks,
> Aaron
>
  • [no subject] Ondrej Smola

Reply via email to