• Vitaly Lipatov's avatar
    fix route-health: bulk route flush + wider health window · 5f8a5bc3
    Vitaly Lipatov authored
    flush_gw_routes() deleted routes one-by-one in a loop (ip route del x127k),
    which hung the oneshot service for 20+ minutes under netlink contention and
    froze ALL gateway health monitoring. Replace with a single kernel-level
    "ip route flush table T via GW" -- the same idiom route-update.sh already uses
    for stale-gateway cleanup -- guarded by timeout 60.
    
    Also widen the ping and vpn_status InfluxDB query windows from 1m to 3m. The
    queries use last(), so a wider window does not delay reaction to a real outage;
    it only stops an empty result (=> false "dead") when telegraf momentarily
    starves under load. Together both changes break the flush->load->stale->flush
    feedback loop.
    
    Verified on igw: cycle time ~18s (was 20+ min), table 202 v6 routes via the
    ikev2.vdska peer restored to 127259.
    Co-Authored-By: 's avatarClaude <noreply@anthropic.com>
    5f8a5bc3
Name
Last commit
Last update
.claude Loading commit data...
.gear Loading commit data...
ansible/playbooks Loading commit data...
auth Loading commit data...
backup Loading commit data...
certs Loading commit data...
check_system Loading commit data...
common Loading commit data...
cyrus Loading commit data...
dc Loading commit data...
dc-client Loading commit data...
ddos Loading commit data...
dns Loading commit data...
docker Loading commit data...
etersoft Loading commit data...
etersoft-cron Loading commit data...
fail2ban Loading commit data...
girar Loading commit data...
git Loading commit data...
gluster Loading commit data...
hdd Loading commit data...
korinf Loading commit data...
mail Loading commit data...
mysql Loading commit data...
nagios Loading commit data...
nginx Loading commit data...
pve Loading commit data...
research Loading commit data...
rooter Loading commit data...
router Loading commit data...
seafile Loading commit data...
tests Loading commit data...
users Loading commit data...
utils Loading commit data...
vz Loading commit data...
web Loading commit data...
zfs-label-tool Loading commit data...
.gitignore Loading commit data...
CLAUDE.md Loading commit data...
TODO Loading commit data...
etersoft-admin-essential.spec Loading commit data...