Project

General

Profile

Bug #11640

Ntopng configuration and data loss when shutting down Redis

Added by Denny Page 4 months ago. Updated 3 months ago.

Status:
Feedback
Priority:
Normal
Category:
ntop
Target version:
-
Start date:
03/09/2021
Due date:
% Done:

0%

Estimated time:
Affected Version:
2.5.0
Affected Architecture:
All

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.

History

#2 Updated by Jim Pingle 4 months ago

  • Status changed from New to Pull Request Review

#3 Updated by Jim Pingle 4 months ago

There is also https://github.com/pfsense/FreeBSD-ports/pull/1053 for this -- not sure which way is better in the end.

#4 Updated by Viktor Gurov 4 months 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

#5 Updated by Renato Botelho 3 months ago

  • Status changed from Pull Request Review to Feedback
  • Assignee changed from Denny Page to Renato Botelho

PR has been merged. Thanks!

Also available in: Atom PDF