昨天把网站服务器的Ubuntu系统做了大版本升级(升级到22.04.1 LTS),结果导致基于Django开发的PaperHub出现卡死。 检查Apache日志,发现如下报错: [Wed Aug 24 04:51:35.847564 2022] [wsgi:error] [pid 4046:tid 139995902613056] [client 195.246.120.35:49245] Truncated or oversized response headers received from daemon process 'paperhub': /home/yanll/paper-hub.cn/paperhub/wsgi.py, referer: https://paper-hub.cn/xiangma/all [Wed Aug 24 04:51:35.847912 2022] [wsgi:error] [pid 4046:tid 139995911005760] [client 195.246.120.35:57568] Truncated or oversized response headers received from daemon process 'paperhub': …