This is an automatically generated e-mail. To reply, visit:

(Updated July 4, 2016, 8:45 a.m.)

Review request for Ambari and Dmitro Lisnichenko.

Bugs: AMBARI-17539

Repository: ambari

Description (updated)

*Reason of memory leak:*
Race condition in subprocess python module. 
Due to this race condition at some unlucky cases python garbage collection was 
This usually happened when running alerts, as a bunch of our alerts run shell 
commands and they do it in a different threads.

*Fix for the issue:*
Synchronizing subprocess is not the best option. Since some people can still 
use it without synchronization not knowing about the issue. 
Also synchronizing will provide some unnecessary slowdown. So for this issue 
the proposed fix is to monkey patch subprocess.gc.isenabled.


  ambari-agent/src/main/python/ambari_agent/main.py 4db89f8 

Diff: https://reviews.apache.org/r/49535/diff/


mvn clean test


Andrew Onischuk

Reply via email to