Bug 1335241

Summary: ksh in 6.7 has a memory leak which causes scripts to continually slow down
Product: Red Hat Enterprise Linux 6 Reporter: mdjohnson
Component: kshAssignee: Siteshwar Vashisht <svashisht>
Status: CLOSED INSUFFICIENT_DATA QA Contact: BaseOS QE - Apps <qe-baseos-apps>
Severity: high Docs Contact:
Priority: unspecified    
Version: 6.7CC: kdudka
Target Milestone: rc   
Target Release: ---   
Hardware: x86_64   
OS: Linux   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2017-06-13 08:12:06 UTC Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:

Description mdjohnson 2016-05-11 16:12:50 UTC
User-Agent:       Mozilla/4.0 (compatible; MSIE 8.0; Windows NT 6.1; Trident/4.0; GTB7.5; SLCC2; .NET CLR 2.0.50727; .NET CLR 3.5.30729; .NET CLR 3.0.30729; Media Center PC 6.0; .NET4.0C; InfoPath.3; .NET4.0E; Tablet PC 2.0)
Build Identifier: 

ksh in 6.7 has a memory leak which causes scripts to continually slow down .
But ksh in 6.6 does NOT have this problem. 
So our temporary fix was to copy the 6.6 ksh to our 6.7 machine.
This was in a script with a "for" loop inside a "while" loop.

Reproducible: Always

Steps to Reproduce:
1.Create a script with a "for" loop nested in a "while" loop.
2.Run the script for an hour.
3.The time per each iteration of the script should increase by < 1 minute per iteration.
Actual Results:  
The time per iteration continually increased.

Expected Results:  
The time per iteration should stay the same, roughly within 30 seconds.