ops: record 100k hardening ecs rollout
This commit is contained in:
@@ -420,12 +420,12 @@ git commit -m "docs: design tdengine batch writer"
|
||||
- Modify: `docs/ops/vehicle-ingest-runbook.md`
|
||||
- Modify: `docs/ops/go-vehicle-ingest-memory.md`
|
||||
|
||||
- [ ] **Step 1: Apply sysctl changes on ECS**
|
||||
- [x] **Step 1: Apply sysctl changes on ECS**
|
||||
|
||||
Run on ECS:
|
||||
|
||||
```bash
|
||||
cat >/etc/sysctl.d/99-lingniu-vehicle-ingest.conf <<'EOF'
|
||||
cat >/etc/sysctl.d/zz-lingniu-vehicle-ingest.conf <<'EOF'
|
||||
net.core.somaxconn = 65535
|
||||
net.ipv4.tcp_max_syn_backlog = 65535
|
||||
net.ipv4.ip_local_port_range = 10000 65000
|
||||
@@ -434,7 +434,7 @@ EOF
|
||||
sysctl --system
|
||||
```
|
||||
|
||||
- [ ] **Step 2: Verify sysctl**
|
||||
- [x] **Step 2: Verify sysctl**
|
||||
|
||||
Run:
|
||||
|
||||
@@ -451,7 +451,7 @@ net.ipv4.ip_local_port_range = 10000 65000
|
||||
net.ipv4.tcp_tw_reuse = 1
|
||||
```
|
||||
|
||||
- [ ] **Step 3: Restart gateway**
|
||||
- [x] **Step 3: Restart gateway**
|
||||
|
||||
Run:
|
||||
|
||||
@@ -461,10 +461,12 @@ curl -fsS http://127.0.0.1:20211/readyz
|
||||
ss -ltnp | grep -E ':(808|32960|20211) '
|
||||
```
|
||||
|
||||
- [ ] **Step 4: Document rollout**
|
||||
- [x] **Step 4: Document rollout**
|
||||
|
||||
Add the applied sysctl values and timestamp to `docs/ops/go-vehicle-ingest-memory.md`.
|
||||
|
||||
Actual release: `/opt/lingniu-go-native/releases/100k-hardening-20260703175730`.
|
||||
|
||||
- [ ] **Step 5: Commit**
|
||||
|
||||
```bash
|
||||
|
||||
Reference in New Issue
Block a user