无法打开gunicorn日志

时间:2018-06-06 09:21:03

标签: django gunicorn digital-ocean

当前目录位于manage.py。此命令以前工作正常:

gunicorn --log-file=- myapp.wsgi:application

但是现在当我执行它时,它在我加载s3存储桶后会冻结:

(env) james@postr:~/postr$ gunicorn --log-file=- draft1.wsgi:application
[2018-06-06 09:14:32 +0000] [19585] [INFO] Starting gunicorn 19.7.1
[2018-06-06 09:14:32 +0000] [19585] [INFO] Listening at: http://127.0.0.1:8000 (19585)
[2018-06-06 09:14:32 +0000] [19585] [INFO] Using worker: sync
[2018-06-06 09:14:32 +0000] [19588] [INFO] Booting worker with pid: 19588

BEGIN REQUEST++++++++++++++++++++++++++++++++++++
Request URL = https://ec2.amazonaws.com?Action=DescribeRegions&Version=2013-10-15

RESPONSE++++++++++++++++++++++++++++++++++++
Response code: 200

<?xml version="1.0" encoding="UTF-8"?>
<DescribeRegionsResponse xmlns="http://ec2.amazonaws.com/doc/2013-10-15/">
    <requestId>63c5zfc8-5aa8-4eaa-m88e-3080cb8x7e81</requestId>
    <regionInfo>
        <item>
            <regionName>ap-south-1</regionName>
            <regionEndpoint>ec2.ap-south-1.amazonaws.com</regionEndpoint>
        </item>
        <item>
            <regionName>eu-west-3</regionName>
            <regionEndpoint>ec2.eu-west-3.amazonaws.com</regionEndpoint>
        </item>
        <item>
            <regionName>us-west-1</regionName>
            <regionEndpoint>ec2.us-west-1.amazonaws.com</regionEndpoint>
        </item>
        <item>
            <regionName>us-west-2</regionName>
            <regionEndpoint>ec2.us-west-2.amazonaws.com</regionEndpoint>
        </item>
    </regionInfo>
</DescribeRegionsResponse>

它就在那里停止^

知道问题是什么吗?

PS:这是我的直播服务器(django)通过digitalocean。

0 个答案:

没有答案