Hi.
I have uwsgi setup Nginx, Emperor mode with fastrouter on a Ubuntu 12.04.4
LTS (GNU/Linux 3.10.23-xxxx-std-ipv6-64 x86_64) server.
I'm having this error in my fastrouter log file:
connect_to_tcp()/socket(): Too many open files [core/socket.c line 459].
Here is my vassal config file:
*[uwsgi]*
*plugin = {plugin}*
*socket = {vassal_socket}:{vassal_port}*
*processes = {processes}*
*master = true*
*vacuum = true*
*auto-procname = true*
*max-requests = 100000*
*harakiri = 7200*
*harakiri-verbose = true*
*limit-post = 65536*
*post-buffering = 1048576*
*procname-prefix-spaced = {app_name}_worker*
*subscribe2 =
server={subscription_server},key={subscribe_key},modifier1={modifier1}*
*no-orphans = true*
*log-slow = false*
*listen = 1024*
*reload-on-rss = 300*
*buffer-size = 65535*
*env = LANG=en_US.UTF-8*
*binary-path = {uwsgi_binary_path}*
*show-config = true*
*pidfile = {worker_pid_path}*
*stats = {worker_stats_path}*
*touch-reload = {touch_reload}*
Here is my fastrouter config:
*[uwsgi]*
*plugins = fastrouter*
*master = true*
*shared-socket = {fastrouter}*
*fastrouter = =0*
*fastrouter-cheap = true*
*fastrouter-subscription-server = {subscription_server}*
*pidfile = {fastrouter_pid}*
*daemonize = {fastrouter_logs}*
*fastrouter-stats = {fastrouter_stats}*
*procname-prefix-spaced = {app_name}_fastrouter*
*binary-path = {uwsgi_binary_path}*
*show-config = true*
*listen = 1024*
I already tried to change some limits in
/etc/security/limits.conf
* soft nofile 120000
* hard nofile 100000
I also read that this may be an issue from nginx and increased limit to:
worker_rlimit_nofile 100000;
None of this options worked for me. Does anyone have this type of issue and
how can I solve it.
Thx.
_______________________________________________
uWSGI mailing list
[email protected]
http://lists.unbit.it/cgi-bin/mailman/listinfo/uwsgi