roysmith / spi-tools

8 stars 3 forks source link

Cases with large numbers of socks crash in SockSelectView. #135

Closed roysmith closed 3 years ago

roysmith commented 3 years ago

https://spi-tools-dev.toolforge.org/spi/sock-select/MariaJaydHicky

Select all, then click any of the action buttons.

This results in 502 Bad Gateway

roysmith commented 3 years ago

Fixed by adding

buffer-size = 65535

to $HOME/www/python/uwsgi.ini; see https://uwsgi-docs.readthedocs.io/en/latest/ThingsToKnow.html.

Thank you to Bryan Davis at WMF for diagnosing this.