Skip to content

FTL webserver thread goes idle and terminates after extended uptime (Pi Zero 2W, v6.4) #2818

@nicoleman0

Description

@nicoleman0

Versions

  • Pi-hole: v6.4
  • Web: v6.4.1
  • FTL: v6.5

Platform

  • OS and version: Raspberry Pi OS Lite (64-bit)
  • Platform: Raspberry Pi Zero 2W

Expected behavior

FTL runs indefinitely with the web UI remaining accessible.

Actual behavior / bug

After extended uptime (~15-16 hours), FTL's internal webserver thread goes idle, after which FTL terminates cleanly (code 0). The web UI becomes unreachable. DNS and DHCP may recover if FTL restarts automatically, but the web UI does not.

FTL log:

2026-03-07 09:03:50.108 GMT [1037M] INFO: Thread webserver (7) is idle, terminating it.
2026-03-07 09:03:50.108 GMT [1037M] INFO: All threads joined
2026-03-07 09:03:50.693 GMT [1037M] INFO: ########## FTL terminated after 15h 50m 45s (code 0)! ##########

Steps to reproduce

  1. Run Pi-hole v6.4 on a Pi Zero 2W with normal household DNS/DHCP traffic
  2. Leave running for ~15-16 hours
  3. Web UI becomes unreachable

Debug Token

Additional context

Hardware appears healthy — vcgencmd get_throttled returns 0x0, no undervolt or thermal events logged.

A cron job to restart FTL if the web UI becomes unreachable:

*/15 * * * * curl -sk http://localhost/ | grep -q "Pi-hole" || systemctl restart pihole-FTL

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions