pcp
[Top] [All Lists]

[Bug 1054] pmlogextract can exhaust open-files rlimits

To: pcp@xxxxxxxxxxx
Subject: [Bug 1054] pmlogextract can exhaust open-files rlimits
From: bugzilla-daemon@xxxxxxxxxxx
Date: Sun, 03 May 2015 20:49:52 +0000
Auto-submitted: auto-generated
Delivered-to: pcp@xxxxxxxxxxx
In-reply-to: <bug-1054-835@xxxxxxxxxxxxxxxx/bugzilla/>
References: <bug-1054-835@xxxxxxxxxxxxxxxx/bugzilla/>
changed bug 1054
What Removed Added
CC   kenj@internode.on.net

Comment # 1 on bug 1054 from
I don't think this should be fixed with pmlogextract.

Rather pmmgr should follow the template used in pmlogger_daily where the
merging is batched.

pmlogextract needs to deal with the general case where the archives _overlap_
in time which is why all of the input archives are open and the central logic
is merging N streams of pmResults by picking the earliest in time at each
iteration.

So in general there is no "single" input archive that could be used to reduce
the number of open files.

We could process the archives and devise a schedule that would allow less than
all the archives to be open at one time but this would seriously complicate the
pmlogextract code.

And finally, combining 350+ archives would, I hope, be a corner case not seen
in production environments (where pmcd "suffering numerous brief outages" would
be the symptom of a far larger problem).

I'll wait for Frank's response, but am inclined to WONTFIX this one.


You are receiving this mail because:
  • You are on the CC list for the bug.
<Prev in Thread] Current Thread [Next in Thread>
  • [Bug 1054] pmlogextract can exhaust open-files rlimits, bugzilla-daemon <=