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

nlbwmon: database files only delete on service restart #14297

Open
feckert opened this issue Dec 22, 2020 · 0 comments · May be fixed by jow-/nlbwmon#44
Open

nlbwmon: database files only delete on service restart #14297

feckert opened this issue Dec 22, 2020 · 0 comments · May be fixed by jow-/nlbwmon#44
Assignees

Comments

@feckert
Copy link
Member

feckert commented Dec 22, 2020

Maintainer: @jow-
Environment: x86_64, APU3, Openwrt master

Description:

According to the documentation of nlbwmon the option -G defines how many database files are kept.

-G count
    Number of database generations to retain. After the limit is reached, the oldest database files are deleted. The default is 10.

This is not the case for me! The database files gets never deleted.
The database files are deleted by a restart of the nlbwmon service.
This happens with this line. Is this a bug or is it intentional?

NO BUG:
Update the documentation that this is not the case.

BUG:
Then function database_cleanup() should be also regular be called maby at this line

@feckert feckert linked a pull request Mar 1, 2021 that will close this issue
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 a pull request may close this issue.

2 participants