C-7 halts completely every few weeks: green LED, dead Ethernet PHY, no response at layer 2

Posting this in some detail because I've spent a while instrumenting it and I think I've eliminated most of the usual suspects. Ticket is open with support; hoping someone here recognizes the pattern.

Symptom

Hub stops responding entirely. Port 80 and 8081 both unreachable. Front LED stays solid green. No Ethernet link light on the hub at all, and arp -a from another machine on the same subnet returns <incomplete> — so it isn't answering at layer 2. New cable and a different switch port change nothing. Hub only recovers with a power-cycle

C-7, platform 2.4.3.158.

Failure history

Four events. Uptime between them: 2 days, then 25 days, then 6 days. No periodicity, no clustering by time of day (one at 05:55, one at 23:18).

What I've ruled out

I polled /hub/advanced/freeOSMemoryHistory to an external box continuously, so I have the full 5.5-day run leading into the most recent failure.

  • Java heap — post-GC free floor completely flat at 242–247 MB of 331 MB total across the entire uptime. No leak.
  • Direct (off-heap) memory — climbs during post-boot warm-up, then plateaus around 3.6 MB and gets reclaimed periodically. Not a leak either.
  • Free OS memory — ~526 MB free at time of death, drifting maybe 7 MB/day.
  • CPU — 5m average under 0.2 the entire time.
  • Errors — zero error-level log entries in the retained window before either failure.
  • Database — 816 KB, flat across ten days of nightly backups.
  • Z-Wave — 9 nodes, no ghosts, 0 route changes.

The part I find most interesting

All three transports were demonstrably alive within seconds of the halt:

23:01:29  cloud integration — full round trip, fresh login, HTTP 200
23:17:50  Z-Wave sensor — normal report
23:18:04  LAN integration — parsed data from a local controller
23:18:09  final log entry — outbound LAN POST, truncated mid-write

Then nothing. No degradation, no slowdown, no error. I also measured the duration of a recurring 30-minute polling job across the final four hours before the earlier failure: 3.7s to 5.0s, dead flat, with the last cycle faster than several before it. Whatever happens, happens instantly.

Questions

  1. Has anyone seen this specific combination — green LED, no Ethernet link light, no ARP response, both ports dead? Green apparently means "platform running," but I assume it's just latched from before the halt.
  2. Any way to get kernel or system logs off a C-7? Every /hub/advanced/ path I tried 404s and the diagnostic tool has no log export. Assuming support is the only route.
  3. Does a truncated final log line mean anything, or does the log viewer just cut long entries?

Happy to share the raw CSV if it's useful to anyone.

I'm not sure I can help you especially as you seem to have tried an awful lot and have great knowledge but the first thing I would do is update to the latest build and see if things improve.
You are on quite an old build. :man_shrugging:

Ha, one thing I haven't done. Upgrading now. Although it was misbehaving the same way before the current build too... :man_shrugging:

You likely have a failing hub. If I were you, I would make a cloud backup to make it simple to migrate to a new hub. You might also try using your C-7 with a supported WiFi adapter,

@mattk Dumb question. Do you have jumbo packets turned on anywhere?

That's a great point! I've gotten so spoiled by the C-8 Pro that I've forgotten the effect of jumbo packets on old model hubs.

Not dumb. I did have jumbo packets turned on my NAS. No idea when I've turned that on, probably many years ago. The NAS runs my Legrand "man-in-middle" server in a Docker container and the Homebridge server with the Hubitat plugin. I've disabled jumbo frames on the NAS, but it sounds odd to me. I can't remember a single occasion where a jumbo frame led to kernel panic and not just a dropped packet.

One more thing that I've done while troubleshooting this is set the Ethernet speed to 100 mbps in the hub (it was set to "Auto"). Hopefully it will help whoever runs across this later.

I would leave it set to auto and just make sure jumbo packets are off. The larger MTU kills the hubitat ethernet interface. The other option is to get a small 4 port switch that doesn't support jumbo frames and isolate the hubitat on to it if you want jumbo frames on your local network.

I have it plugged in to some 4-port TP-Link unmanaged gigabit switch, no idea if it supports jumbo frames or not. But if the problem is with jumbo frames, wouldn’t I see it more frequently on the hub than once every couple weeks (it hasn’t been consistent, sometimes I only get a couple days of runtime and sometimes it chugs along for a month before requiring a power cycle).

Most gigabit switches do. If you want to be absolutely certain, use a fast ethernet switch; they're restricted to 100 Mbps and definitely drop oversized ethernet packets.