Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[BUG]Event Log file cleanup skip #33

Closed
khushbr opened this issue Jul 2, 2021 · 0 comments
Closed

[BUG]Event Log file cleanup skip #33

khushbr opened this issue Jul 2, 2021 · 0 comments
Labels
bug Something isn't working untriaged

Comments

@khushbr
Copy link
Collaborator

khushbr commented Jul 2, 2021

What is the bug?
This code is where the 'MetricsPurgeActivity' scans the PA metric location (defaulting to /dev/shm/performanceanalyzer/) and deletes all the files with last modified time greater than (referenceTime - purgeInterval). We have seen cases where the event log files keep lingering beyond the 60s window and it happens because 'MetricsPurgeActivity' is run as other collectors and is muted as per this recent code if the collector is taking longer to complete the execution.

What is the expected behavior?
Even log files should be cleaned after 60s time window

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working untriaged
Projects
None yet
Development

No branches or pull requests

2 participants