Galaxie 5000's avatar
Galaxie 5000
galaxie5000@jtron.net
npub1drys...wfpc
Spiritual Atheist Godless Believer 
 Reluctant Capitalist Libertarian Socialist 
 Logical Artist Creative Technologist
 Music/Photography/Bitcoin Photography: photo5000@jtron.net npub19jh3asw5yt2u755ayg7vmypjr53z3exndp3452lmhfj6j2c23ycqpem472
Galaxie 5000's avatar
galaxie5000 1 month ago
I opened #Primal (left) for the first time in like 6 months and saw this. Maybe I need to wait another 6 months? image
Galaxie 5000's avatar
galaxie5000 1 month ago
Test test test test test test test test test test test test test test test test
Galaxie 5000's avatar
galaxie5000 1 month ago
After some testing #Haven relay, Claude agent says: ● Bingo! File descriptor leak: ┌───────────┬──────────┬─────┬─────────┐ │ Metric │ Baseline │ Now │ Change │ ├───────────┼──────────┼─────┼─────────┤ │ Open FDs │ 97 │ 105 │ +8 │ ├───────────┼──────────┼─────┼─────────┤ │ TCP conns │ 31 │ 26 │ -5 │ ├───────────┼──────────┼─────┼─────────┤ │ FD max │ - │ 105 │ Growing │ └───────────┴──────────┴─────┴─────────┘ Haven is leaking file descriptors. It opened 8 more FDs but only lost 5 connections, meaning resources aren't being freed properly. This is likely a goroutine leak in haven—when it processes publishes, goroutines spawn but don't exit cleanly. Over time, FDs hit the ulimit and it crashes. Your options: 1. Use the watchdog script I provided earlier to auto-restart haven every ~10 min before it hangs 2. Increase the ulimit for haven (might delay the issue): sudo nano /etc/systemd/system/haven.service 2. Add under [Service]: LimitNOFILE=4096 2. Then restart 3. Report this to haven developers as a goroutine/FD leak after N publishes For now, the watchdog is the practical solution. Want me to help you set that up properly?
Galaxie 5000's avatar
galaxie5000 1 month ago
More testing to find out why a period of time after starting the #haven relay it stops responding.
Galaxie 5000's avatar
galaxie5000 1 month ago
All the testing is to find out why a period of time after starting the #haven relay it stops responding.