Bug 1040774

Summary: [performance] the broker process have memory leak problem
Product: OpenShift Container Platform Reporter: Gaoyun Pei <gpei>
Component: NodeAssignee: Luke Meyer <lmeyer>
Status: CLOSED EOL QA Contact: libra bugs <libra-bugs>
Severity: high Docs Contact:
Priority: low    
Version: 2.2.0CC: bleanhar, libra-onpremise-devel, rthrashe
Target Milestone: ---   
Target Release: ---   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2017-01-13 22:36:16 UTC Type: Bug
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:

Description Gaoyun Pei 2013-12-12 05:51:34 UTC
Description of problem:
After a round of longevity test for about one week, we found the process of broker service had about 9.2% memory usage increased in total. And the process didn't release the memory after the test stopped.

Version-Release number of selected component (if applicable):
2.0/2013-11-22.1
openshift-origin-broker-1.15.1-2.el6op.noarch

How reproducible:
always

Steps to Reproduce:
1.Set up an ose-2.0 env, creating and deleting all kinds of apps continuously
for about one week.

Initially, the two broker process cost 5.9% memory.
USER       PID %CPU %MEM    VSZ   RSS    TIME COMMAND
apache    6151  0.3  2.9 467480 116428   4:33 Rack: /var/www/openshift/broker  
apache    6159  1.5  3.0 469856 118884  22:38 Rack: /var/www/openshift/broker
                                             
                                               
Then the two process takes more and more memory along with the test running, which makes the broker machine has little free memory.
The usage of the two process in the end of the test.
USER       PID %CPU %MEM    VSZ   RSS     TIME COMMAND
apache    6151  3.5  7.6 651264 300204  450:17 Rack: /var/www/openshift/broker
apache    6159  2.8  7.5 645884 294824  362:12 Rack: /var/www/openshift/broker
                                                
2.Stop the test for some time, checking the two process, found they didn't release any memory.
USER       PID %CPU %MEM    VSZ   RSS    TIME COMMAND
apache    6151  1.9  7.6 651300 300232 454:28 Rack: /var/www/openshift/broker
apache    6159  1.5  7.5 645884 294356 362:12 Rack: /var/www/openshift/broker


Actual results:

Expected results:
The broker process should not cost more and more memory when it's working. 
Or it should release occupied memory when it's free.

Additional info:

Comment 3 Rory Thrasher 2017-01-13 22:36:16 UTC
OpenShift Enterprise v2 has officially reached EoL.  This product is no longer supported and bugs will be closed.

Please look into the replacement enterprise-grade container option, OpenShift Container Platform v3.  https://www.openshift.com/container-platform/

More information can be found here: https://access.redhat.com/support/policy/updates/openshift/