我已經在Ubuntu 12.04上設置了一個uwsgi服務。uwsgi啓動失敗,但不記錄任何錯誤
這裏是我使用的自定義配置文件:
[uwsgi]
# this is the path to the virtualenv
home = /var/www/api/webservice/current/
# this will point to the same file
paste = config:/var/www/api/webservice/production.ini
socket = /tmp/my_api.socket
gid = www-data
uid = www-data
logdate = true
master = true
harakiri = 30
limit-as = 1536
reload-on-as = 1200
no-orphans = true
log-x-forwarded-for = true
threads = 15
workers = 2
stats = /tmp/my_api_stats.socket
listen = 400
當我運行sudo service uwsgi start
我碰到一個「失敗」。 但是/var/log/uwsgi/app/my_api.log中的日誌不顯示任何錯誤消息。
我該如何調試?