OPNsense Forum

English Forums => 26.1, 26,4 Series => Topic started by: kitty123 on May 10, 2026, 01:21:43 PM

Title: Telegraf causing boot to hang on various versions: Invoking import script 'impor
Post by: kitty123 on May 10, 2026, 01:21:43 PM
ISSUE:
- Across numerous version of OPNsense, reboots began hanging 30-60 minutes

TROUBLESHOOTING:
- Console showed firewall hanging at: "Invoking import script 'importer'"
- Found similar issue: https://forum.opnsense.org/index.php?topic=51232.0
- Performed Ctrl+t during hanging boot:

Console Output:
>>> Invoking import script 'importer'
ctrl+t

load: 1.07  cmd: find 64678 [running] 0.00r 0.00u 0.00s 24% 187516k
Scanning: /tmp/gosnowflake-cgo2367248933/gosnowflake-cgo2367248933
Scanned: 64581

load: 1.01  cmd: rm 26358 [running] 0.00r 0.00u 0.00s 26% 2268k
/tmp/gosnowflake-cgo2399318380
Scanning: /tmp/gosnowflake-cgo1006708623/gosnowflake-cgo1006708623
Scanned: 126229

Ctrl+C to continue boot

# cd /tmp/
# find . -maxdepth 1 -name "gosnowflake*" | wc -l
  840131
 
- gosnowflake* seems to be associated with the telegraf plugin: https://forum.opnsense.org/index.php?topic=24062.0
/tmp # cd gosnowflake-cgo2932511425
/tmp/gosnowflake-cgo2932511425 # ls -la
total 327585
drwx------       2 telegraf wheel      2 May  5 16:37 .
drwxrwxrwt  840595 root     wheel 840630 May 10 07:11 ..

- telegraf appears to be creating tons of directories causing the boot hang

RESOLUTION:
- Deleted all the directories 'gosnowflake-cgo*' in /tmp/
- Removed 'Telegraf' plugin
- Reboot is once again quick (Less than 1 minute)