Skip to content

fix: reduce to 1 gunicorn worker and increase memory limit to 2Gi - #59

Merged
elliotechne merged 1 commit into
mainfrom
remove-paths-filter
Mar 14, 2026
Merged

fix: reduce to 1 gunicorn worker and increase memory limit to 2Gi#59
elliotechne merged 1 commit into
mainfrom
remove-paths-filter

Conversation

@elliotechne

Copy link
Copy Markdown
Owner

2 workers still OOM'd, meaning the app needs >600MB per worker process. Switching to 1 worker + 4 threads avoids duplicate process memory overhead while maintaining concurrency (appropriate for I/O-bound Flask). Memory limit raised to 2Gi with 768Mi request to give the single worker sufficient headroom.

2 workers still OOM'd, meaning the app needs >600MB per worker process.
Switching to 1 worker + 4 threads avoids duplicate process memory
overhead while maintaining concurrency (appropriate for I/O-bound Flask).
Memory limit raised to 2Gi with 768Mi request to give the single
worker sufficient headroom.

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
@elliotechne
elliotechne merged commit 3c7fe5d into main Mar 14, 2026
5 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant