emperor.ini
[uwsgi]
is_master = {is_master}
emperor = {mongodb_uri},emperor.vassals,{{enabled:1, hostname:'{hostname}'}}
plugin = emperor_mongodb
master = true
pidfile = {emperor_pid_path}
daemonize = {emperor_logs}
max-fd = 120000
listen = 1024
procname-prefix-spaced = {app_name}_emperor
binary-path = {uwsgi_binary_path}
show-config = true
emperor-stats = {emperor_stats}
if-opt = is_master=1
smart-attach-daemon = {mongodb_pid} mongod --config {mongodb_config}
endif =
fastrouter.ini
[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
max-fd = 120000
Also listen is set for vassal config. But no effect.
Thx.
On 24 June 2014 22:40, C Anthony Risinger <[email protected]> wrote:
> Doesn't --listen work?
> On Jun 24, 2014 2:39 PM, "Gheorghe Chirica" <[email protected]>
> wrote:
>
>> I have uwsgi setup using emperor, fastrouter configuration and I'm using
>> the php plugin.
>>
>>
>> After latest uwsgi update from master I get such error in logs:
>>
>> *** uWSGI listen queue of socket "x.x.x.x:xxxxx" (fd: 3) full !!!
>> (101/100) ***
>>
>> I edited /etc/sysctl.conf and added:
>>
>> net.core.somaxconn = 65535
>> net.core.netdev_max_backlog = 65536
>> net.ipv4.tcp_max_syn_backlog=65536
>>
>>
>> restarted the uwsgi(soft and hard), but I still get the same issue.
>> This is running onUbuntu 12.04.4 LTS server. How can I increase the this
>> value?
>>
>> Note that listen parameter from config is set to 1024 (both fastrouter
>> and emperor).
>>
>> I build uwsgi myself, not sure if this is relevant info.
>>
>> I also tried to change the default value from uwsgi.listen_queue = 100;
>> <https://github.com/unbit/uwsgi/blob/930c19210af71511b0288cb61a8901606038f077/core/init.c#L109>,
>> recompiled the uwsgi but still the same result. I'm not sure what I'm doing
>> wrong.
>>
>> Thx.
>>
>> _______________________________________________
>> uWSGI mailing list
>> [email protected]
>> http://lists.unbit.it/cgi-bin/mailman/listinfo/uwsgi
>>
>>
> _______________________________________________
> uWSGI mailing list
> [email protected]
> http://lists.unbit.it/cgi-bin/mailman/listinfo/uwsgi
>
>
_______________________________________________
uWSGI mailing list
[email protected]
http://lists.unbit.it/cgi-bin/mailman/listinfo/uwsgi