Sebastian Otaegui created MESOS-3156:
----------------------------------------
Summary: Inconsistency between mesos master UI and mesos slave
/metrics/snapshot
Key: MESOS-3156
URL: https://issues.apache.org/jira/browse/MESOS-3156
Project: Mesos
Issue Type: Bug
Components: master, slave, statistics, webui
Affects Versions: 0.22.1
Environment: Test environment runs on vagrant
Master: Centos 7 + mesos 0.22.1 + marathon 0.9.0 = 1 vcpu + 1gb ram
Slave: Centos 7 + mesos 0.22.1 = 3vcpus + 2048mb
(1 master + 1 slave)
Reporter: Sebastian Otaegui
We recently began doing some tests with kibana to graph some of the stats of
the slaves and the masters.
We found something pretty odd:
Test case:
In my example my slave has 1840 mb free, of which mesos reserves 920mb for
tasks.
1. create N (in my case 14) marathon tasks with the following configuration
{noformat}
command: while true; do sleep 1 ; echo "heloo"; done
mem: 64mb
cpu: 0.1
{noformat}
2. check the mesos master web UI
{noformat}
Total 3 920 MB
Used 1.4 896 MB
{noformat}
3. check the <slave host>:5051/metrics/snapshot
{noformat}
"slave/mem_total":920,
"slave/mem_used”:1344
{noformat}
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)