June 12, 2011 08:33AM
We are using nginx -> Orbited for long-polling, nginx -> uwsgi for web content (AJAX-driven), and nginx for static files. Problem is, when user open more than, dunno, about 6-7 tabs in browser. Then, traffic for user (and just for him) just hangs. All new requests takes too long. Is there particular config option in nginx or Linux that limits these connections? Or there is problem with something else?

Below is our config, server {} section.

server_name foo;

client_max_body_size 10m;
client_body_buffer_size 128k;

access_log /var/log/nginx/deweloperski.access_log main;
error_log /var/log/nginx/deweloperski.error_log crit;

keepalive_timeout 30;

location /poll {

proxy_redirect off;
proxy_set_header Host $host;
proxy_set_header X-Real-IP $remote_addr;
proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for;
client_max_body_size 100m;
client_body_buffer_size 128k;
proxy_connect_timeout 90;
proxy_send_timeout 90;
proxy_read_timeout 90;
proxy_buffer_size 4k;
proxy_buffers 4 32k;
proxy_busy_buffers_size 64k;
proxy_temp_file_write_size 64k;


location /poll/tcp {

proxy_buffering off;
tcp_nodelay on;


location / {

uwsgi_pass deweloperski;
add_header Cache-Control no-store;
add_header Vary *;
expires epoch;
include uwsgi.params;
include uwsgi.conf;

Subject Author Posted

Orbited proxied by nginx hangs web traffic for particular user

Szymon June 12, 2011 08:33AM

Re: Orbited proxied by nginx hangs web traffic for particular user

Thomas Love June 12, 2011 09:02AM

Sorry, only registered users may post in this forum.

Click here to login

Online Users

Guests: 79
Record Number of Users: 6 on February 13, 2018
Record Number of Guests: 421 on December 02, 2018
Powered by nginx      Powered by FreeBSD      PHP Powered      Powered by MariaDB      ipv6 ready