Bug 213306 - ricci - log probing can take minutes to complete
ricci - log probing can take minutes to complete
Status: CLOSED CURRENTRELEASE
Product: Red Hat Enterprise Linux 5
Classification: Red Hat
Component: conga (Show other bugs)
5.0
All Linux
medium Severity medium
: ---
: ---
Assigned To: Jim Parsons
Corey Marthaler
:
Depends On:
Blocks:
  Show dependency treegraph
 
Reported: 2006-10-31 13:47 EST by Stanko Kupcevic
Modified: 2009-04-16 18:33 EDT (History)
4 users (show)

See Also:
Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of:
Environment:
Last Closed: 2009-01-23 11:41:58 EST
Type: ---
Regression: ---
Mount Type: ---
Documentation: ---
CRM:
Verified Versions:
Category: ---
oVirt Team: ---
RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: ---


Attachments (Terms of Use)

  None (edit)
Description Stanko Kupcevic 2006-10-31 13:47:27 EST
Log module needs to be optimized (optimization was intentionaly left to be done
when time permits). 

Currently, log module goes thru all log files, line by line, and picks the lines
that match request. 
Every request contains time variable; parts of log files to be processed can be
greatly reduced by the fact that logs are already sorted by time.
Comment 1 Ryan McCabe 2006-11-08 16:17:34 EST
i committed one optimization for this: ignoring logs with an mtime too old to be
a candidate for matching messages given the max age. there's still a lot of room
for improvement, though. strftime is insanely slow, given what it does, and it
can still bail once it hits one message in a log that's too old, etc.
Comment 2 Ryan McCabe 2006-11-13 16:47:09 EST
marking as modified. ignoring logs that are too old to contain matches reduces
the time it takes to retrieve logs on camel.lab.msp from over 10 minutes to
under 30 seconds.
Comment 3 Len DiMaggio 2007-01-23 11:50:08 EST
Bug fix verified with:
luci-0.8-29.el5
ricci-0.8-29.el5

Note You need to log in before you can comment on or make changes to this bug.