Commit 9903115
Add 4GB swap file on root filesystem to prevent OOM kills
Homepage request causes PHP-FPM to spike to ~400MB, exhausting all
available memory (985MB total, ~400MB free at idle). Without swap,
the OOM killer terminates PHP-FPM workers causing 502 errors.
Swap on root (7.4GB free) not persistent volume — recreated each boot.
Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>1 parent 8b26e22 commit 9903115
1 file changed
Lines changed: 10 additions & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
9 | 9 | | |
10 | 10 | | |
11 | 11 | | |
| 12 | + | |
| 13 | + | |
| 14 | + | |
| 15 | + | |
| 16 | + | |
| 17 | + | |
| 18 | + | |
| 19 | + | |
| 20 | + | |
| 21 | + | |
12 | 22 | | |
13 | 23 | | |
14 | 24 | | |
| |||
0 commit comments