Re: [Bug 1359975] pmchart run-away mem leak replaying multi-archive when rewinding
"Mark Goodwin" <[email protected]>
| Newsgroups | gmane.comp.sysutils.pcp |
|---|---|
| Message-ID | <[email protected]> |
On Fri, Dec 16, 2016 at 1:52 PM, Nathan Scott <[email protected]> wrote: > Yep. There's also a case where the archive was created by libpcp_import > which I think may actually be the case here (Mark?) - as it also makes a > call to pmSortInstances. However, in libpcp where Dave is working we can't > assume sorting I think, unless pmlogger ensures sorting before writing (and > I don't think it does). > The 'goody' test archives are a directory of archives created by pmlogger. No import, nor logmerge, but the test case for the BZ opens a directory (i.e. multi-archive replay). These are stock default archives, except pcp-atop logconf has been enabled at 2min sampling. The archive directory can be downloaded and unpacked with: wget -O- http://people.redhat.com/~mgoodwin/pcp/archives/goody.tgz | tar xzf -