Ferritaas Incident Intelligence
Defect Intelligence Report Bug 0876104 Severity: High (P2)

Diskless FortiGate 60F Log Queue Overflow Silently Discarding Event Records

Desktop diskless FortiGate appliances (FG-40F, FG-60F, FG-70F) buffering logs in volatile memory silently purge security, UTM, and admin event records during WAN outages once the fixed RAM ring buffer saturates.

πŸš€ Open Full Runbook & Live Automation on Ferrite β†’ Browse Known Issues Directory
⏱️ Est. Triage: 4–6 mins | Automated CLI Available

Technical Root Cause Analysis

Entry-level desktop appliances such as the FG-40F, FG-60F, and FG-70F feature 2GB of system RAM and lack onboard SSD storage. Consequently, FortiOS implements an in-memory ring buffer (miglogd_mem_ring) sized conservatively (between 16MB and 32MB) to stage outgoing event and traffic logs destined for remote FortiAnalyzer or syslog collectors.

When an upstream WAN circuit fails or SD-WAN tunnels flap, miglogd enters buffering mode. In retail branches or distributed branch offices with active guest Wi-Fi and employee internet traffic, this small volatile ring buffer fills within 180 to 300 seconds. Under Bug 0876104, when the ring buffer reaches high-water mark (98%), miglogd defaults to a FIFO head-drop policy without emitting an SNMP trap or incrementing user-visible alert counters. High-priority security logsβ€”such as malware blocks, unauthorized admin login attempts, and IPS alertsβ€”are overwritten by noisy DNS session-end logs. Once WAN connectivity recovers, the firewall syncs only the most recent couple of minutes of traffic, creating irrecoverable gaps in compliance audit trails.

# KERNEL LOG WARNING & miglogd BUFFER OVERFLOW (FG-60F) [miglogd 1120] log queue full: dropped 48,192 records (reason: ring_buffer_overflow) [miglogd 1120] remote server 198.51.100.50 unreachable (errno 110: Connection timed out) [miglogd 1120] flash write throttled: avoiding diskless eMMC wearout [miglogd 1120] dropped event logs: 1,420 utm, 32,810 traffic, 14 admin # FORENSIC AUDIT FAILURE: Critical incident evidence lost during 42-minute WAN outage

Affected Firmware & Hardware Architecture

Hardware Family Storage Architecture Volatile Buffer Limit Risk & Mitigation
FG-40F / FG-40F-3G4G Diskless (2GB RAM, 4GB eMMC OS only) 16 MB fixed buffer Suppress traffic logs; prioritize UTM only
FG-60F / FG-61F FG-60F Diskless / FG-61F has 128GB SSD FG-60F: 32 MB buffer (Vulnerable) FG-61F unaffected if logging to disk
FG-70F / FG-71F FG-70F Diskless / FG-71F has 128GB SSD FG-70F: 32 MB buffer (Vulnerable) Tune logfilter to discard session start

Platform Impact: All diskless desktop appliances deployed at retail sites, bank branches, and remote facilities operating under strict audit frameworks (PCI-DSS, ISO 27001).

Step 01: Free Verification CLI (Safe Read-Only)

Check your diskless appliance's logging daemon status, memory queue limits, and dropped log statistics:

Diagnostic Commands

# 1. Query miglogd memory queue depth and drop counters
diagnose test application miglogd 6

# 2. Inspect kernel log messages for buffer overflow and drop notices
diagnose log kernel-log | grep -E "miglogd|drop|overflow"

# 3. Check memory consumption of the logging daemon
diagnose sys top-mem | grep miglogd

# 4. Verify remote logging destination reachability and status
diagnose log fortianalyzer status

Remediation & Workaround Steps (Teaser Preview)

Follow the complete step-by-step remediation guide in the Ferrite interactive platform:

Step 02: Strip Dataplane Noise from Volatile Buffer

Disable logging of DNS requests, NetBIOS, and harmless local broadcast traffic to stretch buffer retention from 3 minutes to 4+ hours.

πŸ”’ Interactive CLI Available in Ferrite Runbook #04

Step 03: Enable Multi-Path Syslog over SD-WAN LTE Backup

Direct high-priority security logs to an emergency cloud endpoint or secondary syslog receiver over backup cellular.

πŸ”’ Interactive CLI Available in Ferrite Runbook #04

Step 04: Implement Automated Drop-Counter Alarming

Deploy FortiOS automation stitches that trigger an alert email whenever miglogd drop counters exceed zero.

πŸ”’ Interactive CLI Available in Ferrite Runbook #04
⚑ Ferrite Platform Superpowers

Protect Diskless Branch Firewalls with Automated Health Audits

Connect your FortiGate 40F/60F/70F via browser terminal, simulate WAN disconnects, optimize memory logging profiles in real-time, and generate certified compliance audit dossiers.

⚑
Live Browser Automation Direct terminal connection with live step checkoff.
πŸ“Ÿ
1-Click Tera Term (.ttl) Generate scripts for air-gapped jumpboxes.
πŸ›‘οΈ
Zero-Trust Scrubber Scrub serials and credentials in local browser RAM.
πŸ“„
Branch Compliance Dossier Standardized evidence export with SHA-256 seal.

Frequently Asked Questions

Why do diskless FortiGates drop logs during WAN outages?

Models without an internal SSD (FG-40F, FG-60F, FG-70F) allocate a strict 16MB to 32MB slice of volatile RAM for log buffering to prevent running out of system memory. When the WAN goes down and remote FortiAnalyzer/syslog destinations become unreachable, this ring buffer fills within 2 to 5 minutes of moderate traffic, triggering tail drops.

Why does FortiOS not warn administrators about log drops?

Under Bug 0876104, when the ring buffer reaches maximum capacity, miglogd invokes a silent discard routine rather than logging an event message, because generating a log message about a full log buffer would recursively exacerbate the buffer overflow.

How can remote branch firewalls remain PCI-DSS compliant without a disk?

Administrators must filter out low-value traffic logs, configure SD-WAN packet duplication for syslog traffic, or route high-priority audit events over an out-of-band cellular tunnel.