os-ntopng: ntopng 7.0.d20260922 floods InfluxDB 1.8 with DROP/CREATE CONTINUOUS QUERY (~150/s), ~16 MB/s disk writes
I maintainer di solito rispondono entro 1 giorno
Nessuno ha ancora preso questa issue.
Valutazione
- Difficoltà
- 4/5
- Tempo stimato
- 3-5 giorni
- Idoneità per principianti
- 38/100
- Tipo di issue
- Bug
- Chiarezza
- Abbastanza chiara
- Stato di attività
- Attiva
- Stack tecnologico
- php, postgresql
- Ambito
- databases, observability
Direzione di ricerca
Start by reading the os-ntopng plugin code and its ntopng configuration entry points; the report does not name specific files or tests. Reproduce with InfluxDB 1.8 and the listed timeseries settings, then trace why continuous queries are repeatedly dropped and created. Done means ntopng creates the queries at startup or when the schema changes, without sustained query churn or disk writes.
Scritto dal modello di indicizzazione a partire dal testo della issue.
Descrizione
Important notices
- I have read the contributing guide lines at https://github.com/opnsense/plugins/blob/master/CONTRIBUTING.md
- I have searched the existing issues, open and closed, and I'm convinced that mine is new.
- The title contains the plugin to which this issue belongs
Describe the bug
After ntopng was updated to 7.0.d20260922,1 (installed Mon Oct 12 17:48
2026), it continuously drops and recreates its InfluxDB continuous
queries at roughly 150 statements per second. Each statement rewrites
InfluxDB's meta.db, which causes ~16 MB/s of sustained disk writes
(~800 writes/s, ~160 flushes/s on the host) and raised my NVMe SSD from
42C to 53C. Stopping ntopng stops it immediately.
Last known working version: ntopng-6.6.d20260829,1.
The same timeseries settings worked fine before the update.
I have not tested with opnsense-revert yet.
The repo still offers the same version today (pkg rquery '%n-%v' ntopng
returns ntopng-7.0.d20260922,1 after pkg update -f), so there is no
newer build to try.
To Reproduce
- Services -> ntopng: enable ntopng, with the timeseries driver set to
InfluxDB (InfluxDB 1.8.10, database "ntopng", on a separate host). - Wait 2-5 minutes.
- On the InfluxDB host run:
journalctl -u influxdb --since "5 min ago" | grep "Executing query" | grep -oE 'query="[A-Za-z]+ [A-Za-z]+' | sort | uniq -c | sort -rn - See tens of thousands of DROP/CREATE CONTINUOUS QUERY statements, and
meta.db's timestamp changing every few seconds. - Disable ntopng: the statements and the disk writes stop at once.
Expected behavior
Continuous queries are created once at startup (or when the schema
changes), not dropped and recreated continuously.
Screenshots
Relevant log files
InfluxDB journal, 5-minute window:
- 25,236 DROP CONTINUOUS QUERY
- 22,188 CREATE CONTINUOUS QUERY
- 435 each of SHOW DATABASES, SHOW RETENTION POLICIES and SELECT last
(some of these may come from Grafana dashboards, not ntopng)
meta.db is only ~60 KB but was rewritten between two checks 10 seconds
apart (02:02:00 and 02:02:10).
Actual data volume is small: ~100 points/s, ~34 write requests/min,
12,413 series, 422 MB data directory.
The InfluxDB request log shows the sender's user agent as
"ntopng 7.0.261007/amd64/FreeBSD 15.1", while pkg reports
7.0.d20260922,1.
Additional context
-
I've created an issue on the ntopng's repository as they say that a newer ntopng version will fix this issue
https://github.com/issues/created?q=is%3Aissue+state%3Aclosed+archived%3Afalse+author%3A%40me+sort%3Aupdated-desc&issue=ntop%7Cntopng%7C11084&issue_global_id=I_kwDOAhO8o88AAAABWwKdKQ -
ntopng is not crash-restarting: its PID and elapsed time keep growing
across checks, so the loop appears to be inside the running process. -
Timeseries settings: host timeseries Full, host L7 per application +
per category, interface L7 per application + per category, ASN and
Countries on, flow exporter resolution 5m, Internals off. -
Restoring an older Grafana VM did not change anything, and the writes
stop only when ntopng is disabled. -
Workaround: disable ntopng or switch the timeseries driver to RRD.
Environment
OPNsense 26.7.8_2 (amd64) , FreeBSD 15.1
os-ntopng 1.3, ntopng 7.0.d20260922,1
Hardware: CPU: Intel(R) Xeon(R) W-2235 CPU @ 3.80GHz
NIC: Intel 82580 Gigabit Network Connection
InfluxDB 1.8.10 (Debian 13 VM on Proxmox), Samsung 990 PRO 1TB NVMe
- Lingua principale
- PHP
- Stelle
- 1.2k
- Fork
- 932
- Merge medio
- 1g 11h
- PR unite (30g)
- 22
Preparare l'ambiente
- Nessun Dockerfile né file Docker Compose
- Ha un modello di pull request
- Leggi la guida per i contributori
Come iniziare
- Leggi tutta la issue e poi la guida ai contributi del progetto.
- Commenta sulla issue per dire che te ne occupi tu — evita che due persone facciano lo stesso lavoro.
- Fai un fork del repository e lavora su un branch.
- Apri una pull request che faccia riferimento al numero della issue.
Altre issue di opnsense/plugins
-
Difficoltà 2/5 1-3 ore Idoneità per principianti 85/100
I maintainer di solito rispondono entro 1 giorno
-
www/squid: configctl proxy stop returns before Squid exits, so stop+start (e.g. Monit restart) failsApertasupport
Difficoltà 2/5 1-3 ore Idoneità per principianti 70/100
opnsense/plugins#5983 · 1 commento ·
I maintainer di solito rispondono entro 1 giorno
-
Difficoltà 2/5 1-3 ore Idoneità per principianti 83/100
I maintainer di solito rispondono entro 1 giorno
-
net/haproxy: IPv6 literal in real server "Source address" generates an invalid `source` directiveForse già presa @fraenki l’ha presa 6 giorni fa. Apertabug
Difficoltà 2/5 1-3 ore Idoneità per principianti 68/100
opnsense/plugins#5973 · 1 commento · 1 assegnatario ·
I maintainer di solito rispondono entro 1 giorno
-
[dns/ddclient] Support hiding unused standard fields per service (optional_hiding)Forse già presa @bringha1 l’ha presa 9 giorni fa. Aperta
Difficoltà 2/5 1-3 ore Idoneità per principianti 72/100
I maintainer di solito rispondono entro 1 giorno
Tutte le issue di opnsense/plugins
Issue simili
-
Difficoltà 2/5 1-3 ore Idoneità per principianti 70/100
Automattic/blocks-engine#7881 ·
I maintainer di solito rispondono entro 1 giorno
-
Difficoltà 1/5 Meno di un'ora Idoneità per principianti 86/100
iruzen-dono/workless#117 ·
I maintainer di solito rispondono entro 1 giorno
-
Difficoltà 2/5 1-3 ore Idoneità per principianti 78/100
magicsunday/webtrees-docker#285 ·
I maintainer di solito rispondono entro 1 giorno
-
Flaky browser test: AreaHeadersTest 'shows Counting on the way while deferred tab counts load'Apertaarea/tests type/bug when/soon
Difficoltà 2/5 1-3 ore Idoneità per principianti 74/100
I maintainer di solito rispondono entro 1 giorno
-
WP-CLI 3.0 fixes the cron lock and core download bugs described in the handbookForse già presa @mayankmajeji l’ha presa oggi. Aperta
Difficoltà 2/5 1-3 ore Idoneità per principianti 85/100
WordPress/hosting-handbook#521 ·