Bug 1108874

Summary: logconv.pl memory continually grows
Product: Red Hat Enterprise Linux 7 Reporter: Noriko Hosoi <nhosoi>
Component: 389-ds-baseAssignee: Noriko Hosoi <nhosoi>
Status: CLOSED ERRATA QA Contact: Viktor Ashirov <vashirov>
Severity: unspecified Docs Contact:
Priority: low    
Version: 7.1CC: mreynolds, nhosoi, nkinder, rmeggins
Target Milestone: rc   
Target Release: ---   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: 389-ds-base-1.3.3.1-1.el7 Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: 1103287 Environment:
Last Closed: 2015-03-05 09:35: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:
Bug Depends On: 1103287    
Bug Blocks:    

Description Noriko Hosoi 2014-06-12 18:01:13 UTC
+++ This bug was initially created as a clone of Bug #1103287 +++

This bug is created as a clone of upstream ticket:
https://fedorahosted.org/389/ticket/47446

Logconv.pl, with no special options, memory usage steadily increases until the system runs out of memory.

--- Additional comment from  on 2014-05-30 11:34:34 EDT ---

Fixed upstream

Verification steps

[1]  Use a access log with at least 1 million lines of logging, and place in /tmp
[2]  ./logconv.pl /tmp/access
[3]  Wait a few seconds, and start monitoring the process size

It should remain stable and not grow linearly.

Comment 2 Sankar Ramalingam 2015-01-07 12:34:42 UTC
Tested with huge access log file. No memory growth observed. No errors reported.
Hence, marking the bug as Verified.

logconv.pl -efcibaltnxrgjuyp /tet/data/DS/6.0/logfile/en/access.20120131-000045 Access Log Analyzer 8.1
Command: logconv.pl access.20120131-000045
Processing 1 Access Log(s)...

[001] access.20120131-000045        	size (bytes):     58138502
     25000 Lines Processed          2279028 of     58138502 bytes (3.920%)
     50000 Lines Processed          4655574 of     58138502 bytes (8.008%)
     75000 Lines Processed          6953209 of     58138502 bytes (11.960%)
    100000 Lines Processed          9317693 of     58138502 bytes (16.027%)
    125000 Lines Processed         11813913 of     58138502 bytes (20.320%)
    150000 Lines Processed         14523110 of     58138502 bytes (24.980%)

Build tested:

# rpm -qa 389-ds-base
389-ds-base-1.3.3.1-11.el7.x86_64

Comment 4 errata-xmlrpc 2015-03-05 09:35:06 UTC
Since the problem described in this bug report should be
resolved in a recent advisory, it has been closed with a
resolution of ERRATA.

For information on the advisory, and where to find the updated
files, follow the link below.

If the solution does not work for you, open a new bug report.

https://rhn.redhat.com/errata/RHSA-2015-0416.html