我正在使用 Django 管理界面上传图像。它以前运行良好,但现在在上传仅约 1 MB 的图像时出现应用程序错误 (H13)。
Heroku 日志:
2012-10-25T04:00:06+00:00 app[web.1]: 2012-10-25 04:00:06 [2] [CRITICAL] WORKER TIMEOUT (pid:13)
2012-10-25T04:00:06+00:00 app[web.1]: 2012-10-25 04:00:06 [2] [CRITICAL] WORKER TIMEOUT (pid:13)
2012-10-25T04:00:06+00:00 heroku[router]: Error H13 (Connection closed without response) -> POST www.website.com/admin/whatever/ dyno=web.1 queue= wait= service= status=503 bytes=
2012-10-25T04:00:06+00:00 app[web.1]: 2012-10-25 04:00:06 [68] [INFO] Booting worker with pid: 68
档案:
web: gunicorn myapplication.wsgi -b 0.0.0.0:$PORT -w 10
设置:
STATICFILES_STORAGE = DEFAULT_FILE_STORAGE = 'storages.backends.s3boto.S3BotoStorage'
知道发生了什么吗?