You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@mesos.apache.org by "Benjamin Mahler (JIRA)" <ji...@apache.org> on 2019/06/19 16:48:00 UTC
[jira] [Created] (MESOS-9852) Slow memory growth due to deferred
deletion of offer filters and timers.
Benjamin Mahler created MESOS-9852:
--------------------------------------
Summary: Slow memory growth due to deferred deletion of offer filters and timers.
Key: MESOS-9852
URL: https://issues.apache.org/jira/browse/MESOS-9852
Project: Mesos
Issue Type: Bug
Components: allocation, master
Reporter: Benjamin Mahler
The allocator does not keep a handle to the offer filter timer, which means it cannot remove the timer overhead (in this case memory) when removing the offer filter earlier (e.g. due to revive):
https://github.com/apache/mesos/blob/1.8.0/src/master/allocator/mesos/hierarchical.cpp#L1338-L1352
In addition, the offer filter is allocated on the heap but not deleted until the timer fires (which might take forever!):
https://github.com/apache/mesos/blob/1.8.0/src/master/allocator/mesos/hierarchical.cpp#L1321
https://github.com/apache/mesos/blob/1.8.0/src/master/allocator/mesos/hierarchical.cpp#L1408-L1413
https://github.com/apache/mesos/blob/1.8.0/src/master/allocator/mesos/hierarchical.cpp#L2249
We'll need to try to backport this to all active release branches.
--
This message was sent by Atlassian JIRA
(v7.6.3#76005)