Commit de6a6f1
committed
perf(sandbox): reduce memory dirtying from envd logging in journald
Route envd stdout to /dev/null and keep only stderr in journald via the
envd systemd service, so envd panics/fatal errors are still inspectable
but per-request debug events no longer dirty guest memory and rootfs
pages on every snapshot. Full debug logs continue to ship through the
HTTP exporter to the orchestrator.
Bound the rest of journald with a drop-in: persistent (rootfs-backed)
storage capped at 8M with warning-only filtering, so other systemd
services can't grow the journal without bound either.1 parent dbef5ef commit de6a6f1
3 files changed
Lines changed: 17 additions & 1 deletion
File tree
- packages/orchestrator/pkg/template/build/core/rootfs
- files
Lines changed: 4 additions & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
12 | 12 | | |
13 | 13 | | |
14 | 14 | | |
| 15 | + | |
| 16 | + | |
| 17 | + | |
| 18 | + | |
15 | 19 | | |
16 | 20 | | |
17 | 21 | | |
| |||
Lines changed: 12 additions & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
| 1 | + | |
| 2 | + | |
| 3 | + | |
| 4 | + | |
| 5 | + | |
| 6 | + | |
| 7 | + | |
| 8 | + | |
| 9 | + | |
| 10 | + | |
| 11 | + | |
| 12 | + | |
Lines changed: 1 addition & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
90 | 90 | | |
91 | 91 | | |
92 | 92 | | |
93 | | - | |
| 93 | + | |
94 | 94 | | |
95 | 95 | | |
96 | 96 | | |
| |||
0 commit comments