Commit c836bc3
committed
fix: increase flask backend memory limit to prevent OOM kills
The monitoring_flask_backend (flask-pgss-api) workers were being
SIGKILL'd by the OOM killer every ~5 minutes — exactly when
VictoriaMetrics scraped /query_info_metrics. With 4 gunicorn workers
and 4750+ pgss query rows to process, 192MB was insufficient.
Bump mem_limit from 192m to 384m.
Relates to https://gitlab.com/postgres-ai/postgresai/-/issues/148
https://claude.ai/code/session_01SzJxzZNQjDQphaHyaX3RU71 parent 276b7a4 commit c836bc3
1 file changed
Lines changed: 1 addition & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
200 | 200 | | |
201 | 201 | | |
202 | 202 | | |
203 | | - | |
| 203 | + | |
204 | 204 | | |
205 | 205 | | |
206 | 206 | | |
| |||
0 commit comments