【问题标题】:How to solve [Errno 11] Resource temporarily unavailable using uwsgi + nginx[Errno 11] 使用uwsgi + nginx时资源暂时不可用如何解决
【发布时间】:2016-12-29 09:46:28
【问题描述】:

我正在使用这种配置的 uwsgi:

net.core.somaxconn = 1024

net.core.netdev_max_backlog=1000

我遇到了资源暂时不可用问题。如何解决这个问题?

df -h
Filesystem Size Used Avail Use% Mounted on /dev/xvda1

7.8G 2.1G 5.6G 28%/devtmpfs

1.9G 12K 1.9G 1% /dev tmpfs

1.9G 16K 1.9G 1% /dev/shm

【问题讨论】:

    标签: python django uwsgi


    【解决方案1】:

    您可以在 uwsgi 配置文件中增加 'listen' 的值。 默认值是 100,太小了。

    【讨论】:

      【解决方案2】:

      我在这里报告了这个问题:https://github.com/unbit/uwsgi/issues/1266

      【讨论】:

        猜你喜欢
        • 2017-11-18
        • 2012-11-13
        • 2011-08-09
        • 1970-01-01
        • 1970-01-01
        • 1970-01-01
        • 1970-01-01
        • 1970-01-01
        • 1970-01-01
        相关资源
        最近更新 更多