Hi, @Srikant May you elaborate

>We have verified using top command that framework was using 2gB memory
while allocated was just 50 mb.

* How many running tasks in your framework?
* Do you enable or disable swap in the agents?
* What's the flags that you launch agents?
* Have you saw some thing like `Updated 'memory.limit_in_bytes' to ` in the
log of agent?

On Tue, Sep 27, 2016 at 12:14 AM, Srikant Kalani <
[email protected]> wrote:

> Hi Greg ,
>
> Previously we were running Mesos 0.27 on Rhel6 and since we already have
> one c group hierarchy for cpu and memory for our production  processes I'd
> we were not able to merge two c groups hierarchy on rhel6. Slave process
> was not coming up.
> Now we have moved  to Rhel7 and both mesos master and slave are running on
> rhel7 with c group implemented.But we are seeing that mesos UI not showing
> the actual memory used by framework.
>
> Any idea why framework usage of cpu and memory is not coming in UI. Due to
> this OS is still not killing the task which are consuming more memory than
> the allocated one.
> We have verified using top command that framework was using 2gB memory
> while allocated was just 50 mb.
>
> Please suggest.
> On 8 Sep 2016 01:53, "Greg Mann" <[email protected]> wrote:
>
>> Hi Srikant,
>> Without using cgroups, it won't be possible to enforce isolation of
>> cpu/memory on a Linux agent. Could you elaborate a bit on why you aren't
>> able to use cgroups currently? Have you tested the existing Mesos cgroup
>> isolators in your system?
>>
>> Cheers,
>> Greg
>>
>> On Tue, Sep 6, 2016 at 9:24 PM, Srikant Kalani <
>> [email protected]> wrote:
>>
>>> Hi Guys,
>>>
>>> We are running Mesos cluster in our development environment. We are
>>> seeing the cases where framework uses more amount of resources like cpu and
>>> memory then the initial requested resources. When any new framework is
>>> registered Mesos calculates the resources on the basis of already offered
>>> resources to first framework and it doesn't consider actual  resources
>>> utilised by previous framework.
>>> This is resulting in incorrect calculation of resources.
>>> Mesos website says that we should Implement  c groups but it is not
>>> possible in our case as we have already implemented c groups in other
>>> projects and due to Linux restrictions  we can't merge two c groups
>>> hierarchy.
>>>
>>> Any idea how we can implement resource Isolation in Mesos ?
>>>
>>> We are using Mesos 0.27.1
>>>
>>> Thanks
>>> Srikant Kalani
>>>
>>
>>


-- 
Best Regards,
Haosdent Huang

Reply via email to