[
https://issues.apache.org/jira/browse/AMBARI-17030?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15317043#comment-15317043
]
Hudson commented on AMBARI-17030:
---------------------------------
FAILURE: Integrated in Ambari-trunk-Commit #5011 (See
[https://builds.apache.org/job/Ambari-trunk-Commit/5011/])
AMBARI-17030. Agents should automatically restart if there is a memory
(aonishuk:
[http://git-wip-us.apache.org/repos/asf?p=ambari.git&a=commit&h=11543ed4f7ad03bbbbae579183c1547a6ed828fa])
* ambari-agent/conf/unix/ambari-agent.ini
* ambari-agent/src/main/python/ambari_agent/Controller.py
* ambari-common/src/main/python/ambari_commons/os_utils.py
* ambari-agent/src/test/python/ambari_agent/TestController.py
> Agents should automatically restart if there is a memory leak
> -------------------------------------------------------------
>
> Key: AMBARI-17030
> URL: https://issues.apache.org/jira/browse/AMBARI-17030
> Project: Ambari
> Issue Type: Bug
> Reporter: Andrew Onischuk
> Assignee: Andrew Onischuk
> Fix For: 2.4.0
>
> Attachments: AMBARI-17030.patch
>
>
> Add an agent capability to auto-restart when the memory threshold for the
> agent process exceeds a limit. This should be a configurable property (e.g.
> agent_memory_threshold) where any positive value, say in MB, is a limit at
> which agent should get restarted.
> The restart itself should be executed when there are no
> EXECUTION/AUTO_EXECUTION commands in pipeline. So when the condition is
> reached for agent auto restart, a flag should be set to restart when agent is
> not doing any work.
> A hard limit should also be set where the agent will be restarted even if
> there are commands in pipeline.
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)