buffer-size
uwsgi内部解析的数据包大小,默认4k。
如果准备接收大请求,你可以增长到64k。
允许uwsgi接收到32k,更大的会被丢弃。
xweb.ini
[uwsgi] socket = 127.0.0.1:9000 pidfile=/run/uwsgi.pid chdir = /xspeeder/xweb/ wsgi-file = xweb/wsgi.py master = true buffer-size = 65536 processes = 1 #threads = 1 #daemonize = /home/log/wsgi.log日志输出目录 vacuum = true disable-logging = true [version] vName = version = Ver1 Rboot = 1
时间: 2024-10-11 23:29:49