systemd: bump breakglass-sync TimeoutStartSec 1h→16h, MemoryMax 1G→4G
Source-of-truth had drifted from /etc/systemd/system/breakglass-sync.service on the deployed VM (installed had 8h timeout, source had 1h). My hot-patch on 2026-05-15 raised the running unit to 16h + 4G after the service kept timing out at 8h during full-fleet sync runs (large LFS objects + GitHub intermittent failures across ~hundreds of repos). Realigning source to match installed values + headroom for slow days. Current run after the bump: Memory peak 1.0G against the new 4G ceiling (vs would-have-OOMed at the old 1G limit).
This commit is contained in:
parent
100c4cacfe
commit
c0a66add46
@ -22,15 +22,11 @@ PrivateTmp=true
|
||||
PrivateDevices=true
|
||||
|
||||
# Resource limits — be a good neighbour
|
||||
MemoryMax=1G
|
||||
MemoryMax=4G
|
||||
CPUQuota=80%
|
||||
|
||||
# Allow long runs (full sync across all orgs can take several hours)
|
||||
TimeoutStartSec=28800
|
||||
|
||||
# Restart on failure after 5 minutes (transient network issues)
|
||||
Restart=on-failure
|
||||
RestartSec=300
|
||||
# Allow long runs (large repos can take a while)
|
||||
TimeoutStartSec=57600
|
||||
|
||||
[Install]
|
||||
WantedBy=multi-user.target
|
||||
|
||||
Loading…
Reference in New Issue
Block a user