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

Limit log query result size #26

Merged
merged 1 commit into from
Sep 12, 2024
Merged

Limit log query result size #26

merged 1 commit into from
Sep 12, 2024

Conversation

DavidePrincipi
Copy link
Member

Set a max number of records returned by Loki to avoid leaking memory.

  • After applying the limit, RAM usage seems lower.
  • The timestamp file cloud_log_manager_last_timestamp is written frequently. With limit=0, the file was never written.

Refs NethServer/dev#6978

Set a max number of records returned by Loki to avoid leaking memory.
@DavidePrincipi DavidePrincipi self-assigned this Sep 11, 2024
@DavidePrincipi DavidePrincipi merged commit 891a8f9 into main Sep 12, 2024
1 check passed
@DavidePrincipi DavidePrincipi deleted the fix-clm-limit branch September 12, 2024 07:24
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant