Skip to content

Fix invalid suffix in uwsgi buffer-size value#60

Merged
fcollman merged 1 commit intoCAVEconnectome:masterfrom
DocSavage:fix/uwsgi-buffer-size-typo
Jan 30, 2026
Merged

Fix invalid suffix in uwsgi buffer-size value#60
fcollman merged 1 commit intoCAVEconnectome:masterfrom
DocSavage:fix/uwsgi-buffer-size-typo

Conversation

@DocSavage
Copy link
Copy Markdown
Contributor

@DocSavage DocSavage commented Jan 30, 2026

Summary

  • buffer-size was set to 32768g but uWSGI only accepts plain integers (bytes) for this setting. The trailing g is not a recognized unit suffix.
  • The setting still works because uWSGI's uwsgi_opt_set_64bit handler uses strtoul() which parses the leading digits and silently ignores the trailing g.
  • This PR removes the erroneous suffix for correctness.
  • See Add buffer-size to uwsgi.ini to fix OAuth callback 502 errors middle_auth#74 for context on how this was discovered.

The buffer-size was set to `32768g` but uWSGI buffer-size only accepts
plain integers (bytes). The trailing `g` is not a valid suffix and
causes the setting to be silently ignored, falling back to the default
of 4096 bytes.

See CAVEconnectome/middle_auth#74 for context on how this was discovered.

Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
@fcollman fcollman merged commit a3f9387 into CAVEconnectome:master Jan 30, 2026
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.

2 participants