Bug 1318822

Summary: sediff consumes too much memory
Product: Red Hat Enterprise Linux 6 Reporter: Milos Malik <mmalik>
Component: setoolsAssignee: Petr Lautrbach <plautrba>
Status: CLOSED WONTFIX QA Contact: Milos Malik <mmalik>
Severity: medium Docs Contact:
Priority: medium    
Version: 6.8CC: lvrabec, mgrepl, mmalik, plautrba
Target Milestone: rc   
Target Release: ---   
Hardware: All   
OS: Linux   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: 1318817 Environment:
Last Closed: 2016-03-18 08:55:50 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 Milos Malik 2016-03-17 23:03:58 UTC
+++ This bug was initially created as a clone of Bug #1318817 +++

Description of problem:
 * sediff gets killed by OOM killer when --allow or --dontaudit or --stats parameter is used

Version-Release number of selected component (if applicable):
setools-console-3.3.7-4.el6.x86_64

How reproducible:
always

Steps to Reproduce:
# sediff --allow policy.24 \; /etc/selinux/targeted/policy/policy.24 
Killed
# echo $?
137
# dmesg | tail -n 2
Out of memory: Kill process 35687 (sediff) score 556 or sacrifice child
Killed process 35687, UID 0, (sediff) total-vm:1153776kB, anon-rss:553200kB, file-rss:652kB
#

Actual results:
 * sediff is killed by OOM killer because it consumed too much memory

Expected results:
 * sediff works as expected and terminates correctly

Comment 1 Petr Lautrbach 2016-03-18 08:40:39 UTC
Most likely we are not going to fix it on RHEL-6. Please raise an amount of memory on your VMs if you need to run memory demanding operations.

Comment 2 RHEL Program Management 2016-03-18 08:55:50 UTC
Development Management has reviewed and declined this request.
You may appeal this decision by reopening this request.