Skip to content

fix(uploads): Trying out maxed-out uwsgi config to debug parallel upl… #754

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 1 commit into from
Mar 13, 2025
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 3 additions & 0 deletions docker/nginx_production/conf.d/default.conf
Original file line number Diff line number Diff line change
Expand Up @@ -98,6 +98,9 @@ server {
include uwsgi_params;
uwsgi_buffering off;
uwsgi_request_buffering off;
uwsgi_read_timeout 900s;
uwsgi_send_timeout 900s;
uwsgi_connect_timeout 900s;

# Max upload size for files is set to 50GB (configure as needed).
client_max_body_size 500G;
Expand Down
8 changes: 7 additions & 1 deletion docker/uwsgi/uwsgi_rest.ini
Original file line number Diff line number Diff line change
Expand Up @@ -10,5 +10,11 @@ mount = /api=invenio_app.wsgi_rest:application
manage-script-name = true
wsgi-disable-file-wrapper = true
single-interpreter = true
buffer-size = 32768
buffer-size = 65535
pidfile = /tmp/uwsgi_rest.pid
socket-timeout = 900
so-write-timeout = 900
socket-write-timeout = 900
so-send-timeout = 900
socket-send-timeout = 900
harakiri = 900
Loading