Project

General

Profile

Actions

Bug #17099

open
→L

rrd backend sometimes ends up dead

Bug #17099: rrd backend sometimes ends up dead

Added by → luckman212 about 6 hours ago.

Status:
New
Priority:
Normal
Assignee:
-
Category:
RRD Graphs
Target version:
-
Start date:
Due date:
% Done:

0%

Estimated time:
Release Notes:
Default
Affected Plus Version:
26.07
Affected Architecture:
All

Description

Sometimes after a flood of events, the updaterrd.sh script ends up dead, causing Monitoring graphs to stop updating. Also affects CE 2.9.x. Longer discussion at https://forum.netgate.com/topic/201165/status-monitoring-no-monitoring-data-logged-while-in-wan-failover/20

I created a patch: https://gist.github.com/luckman212/9685be13e67ad59b0225528bae99a389

The patch adds some more aggressive killing (uses KILL sig if TERM fails to stop the daemon, uses a small retry loop to acquire the lock if the initial one fails, and switches the lockf call away from an exec so the result code can be captured and used to retry if needed).

I've been running this patch for a couple of weeks with good success, and a handful of other users on the forums reported success as well. The patch currently has some extra debug logging in it, happy to provide an update with that removed that's more suitable for merging.

Also related:

No data to display

Actions

Also available in: Atom