Created
November 2, 2012 02:07
-
-
Save esacteksab/3998227 to your computer and use it in GitHub Desktop.
nginx+uwsgi pef settings
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
worker_connections are not enough while connecting to upstream | |
nginx-- | |
worker_processes = 4 | |
worker_connections = 8192 | |
worker_rlimit_nofile 4096 | |
uwsgi -- | |
listen = 4096 | |
system -- | |
net.core.somaxconn = 32768 | |
worker_connections are not enough while connecting to upstream | |
nginx-- | |
worker_processes = 4 | |
worker_connections = 1024 | |
worker_rlimit_nofile 4096 | |
uwsgi -- | |
listen = 4096 | |
system -- | |
net.core.somaxconn = 32768 | |
failed (24: Too many open files) while connecting to upstream, client | |
nginx -- | |
worker_process = 4 | |
worker_connections = 1024 | |
uwsgi -- | |
listen = 100 (default) | |
system -- | |
net.core.somaxconn = 32768 | |
failed (24: Too many open files) while connecting to upstream, client | |
nginx -- | |
worker_process = 4 | |
worker_connections = 768 | |
uwsgi -- | |
listen = 100 (default) | |
system -- | |
net.core.somaxconn = 256 | |
.sock failed (11: Resource temporarily unavailable) while connecting to upstream | |
nginx -- | |
worker_process = 4 | |
worker_connections = 768 | |
uwsgi -- | |
listen = 100 (default) | |
system -- | |
net.core.somaxconn = 128 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Hello Morison,
It is a very good idea to list the issues you got for each set of configuration. I am wondering did you get around these issues and how?