Bug #11640
closedNtopng configuration and data loss when shutting down Redis
0%
Description
In addition to monitoring information, ntopng stores configuration/customization performed using the ntopng GUI in the Redis database.
The default Redis configuration flushes writes to disk every 15 minutes. When shutting down, ntopng.sh sends a SIGTERM to the Redis server, which causes in the Redis server exiting immediately without flushing pending writes to disk. This results in the loss of all data and configuration written since the last sync to disk.
Updated by Viktor Gurov about 3 years ago
Updated by Jim Pingle about 3 years ago
- Status changed from New to Pull Request Review
Updated by Jim Pingle about 3 years ago
There is also https://github.com/pfsense/FreeBSD-ports/pull/1053 for this -- not sure which way is better in the end.
Updated by Viktor Gurov about 3 years ago
Jim Pingle wrote:
There is also https://github.com/pfsense/FreeBSD-ports/pull/1053 for this -- not sure which way is better in the end.
this one is better
Updated by Renato Botelho about 3 years ago
- Status changed from Pull Request Review to Feedback
- Assignee changed from Denny Page to Renato Botelho
PR has been merged. Thanks!
Updated by Denny Page about 2 years ago
The PR was merged quite come time ago. I believe this bug can be closed as complete.