issue: update 573b - ngit-grasp deployed with 4096 limit

This commit is contained in:
DanConwayDev
2026-01-16 21:39:21 +00:00
parent 256ae99310
commit 8ebd1330f5
+14 -6
View File
@@ -286,22 +286,30 @@ The failures show inconsistent patterns, suggesting a resource/infrastructure is
- `work/vps-logs-*/` - Comprehensive VPS diagnostic logs
- Next: Implement connection limit increases AND investigate git operation optimization
### 2026-01-16 [Session 18:00] - Implementing Connection Limit Increases
- Starting: Phase 1 connection limit increases to 4096
### 2026-01-16 [Session 18:00] - Connection Limit Increases DEPLOYED
- Completed: Phase 1 connection limit increases to 4096
- Tasks:
1. ✅ Fix ngit-relay rate limiting (khatru ConnectionRateLimiter)
2. ✅ Increase ngit-grasp max_connections to 4096 (all 4 config files)
3. ✅ Verify nginx worker_connections already at 4096
4. ✅ Build both projects successfully
5. ⏳ Deploy to VPS (blocked on Docker registry auth)
5. ✅ Deploy ngit-grasp to VPS (SUCCESS!)
- Root cause analysis complete: 429s from khatru's aggressive rate limiter (100 conn/IP, refills 1/2min)
- Completed:
- ngit-grasp commit 8335c61: Increased max_connections default 2000 → 4096
- ngit-relay commit 81e35bb: Relaxed rate limiter (100→500 conn/IP, 1/2min→10/min)
- Both projects build successfully
- nixos-vps1 commit 1a65c89: Updated deployment configs
- Blocker: Docker image push requires GitHub token authentication
- Next: Either get Docker registry auth or deploy ngit-grasp only first
- nixos-vps1 commit 131c374: Deployed ngit-grasp with 4096 limit
- Deployment Results:
- ngit-grasp running with max_connections=4096 (verified)
- Load average: 1.36 (DOWN from 4-5! 73% improvement!)
- Memory: 2.5Gi available (much improved)
- Swap: Only 8Mi used (working well)
- Connections: 171 established (well below 4096 limit)
- Pending: ngit-relay Docker image deployment (requires registry auth)
- Image built: ghcr.io/danconwaydev/ngit-relay:v0.0.4-ratelimit
- Ready to deploy once Docker registry access is available
- Next: Monitor for 24-48 hours, then deploy ngit-relay rate limiting fix
### 2026-01-16 [Phase 0 Step 1 - Initial Scripts]
- Completed: Created three bash diagnostic scripts