Welcome! Log In Create A New Profile

Advanced

Re: upstream timed out

Илья Шипицин
October 18, 2012 04:12AM
кроме этого еще надо

proxy_http_version 1.1;
proxy_set_header Connection "";

иначе - да, у вас будет создан пул конекций до бекенда, но по факту каждый
раз коннекция будет закрываться (вместо того, чтобы взять из пула уже
конекцию с установленным соединением)


18 октября 2012 г., 12:03 пользователь Dmitry Y. Labutin <dmitry@labutin.com
> написал:

> Промазал. Хотел написать, что у меня стоит:
> upstream backend {
> server www4.... backup;
> server www1.... max_fails=3 fail_timeout=600s;
>
> keepalive 64;
> }
>
> Я правильно понимаю, что стоит попробовать уменьшить keepalive в моем
> случае?
>
> Дмитрий Лабутин
>
> 18.10.2012 9:42, Alex Vorona пишет:
>
> 18.10.2012 08:25, Dmitry Y. Labutin wrote:
>>
>>> Доброго времени суток.
>>>
>>> keepalive_timeout 65;
>>> В какую сторону крутить?
>>>
>>> В сторону http://nginx.org/ru/docs/http/**
>> ngx_http_upstream_module.html#**keepalive<http://nginx.org/ru/docs/http/ngx_http_upstream_module.html#keepalive>
>>
>> ______________________________**_________________
>> nginx-ru mailing list
>> nginx-ru@nginx.org
>> http://mailman.nginx.org/**mailman/listinfo/nginx-ruhttp://mailman.nginx.org/mailman/listinfo/nginx-ru
>>
>>
> ______________________________**_________________
> nginx-ru mailing list
> nginx-ru@nginx.org
> http://mailman.nginx.org/**mailman/listinfo/nginx-ruhttp://mailman.nginx.org/mailman/listinfo/nginx-ru
>
_______________________________________________
nginx-ru mailing list
nginx-ru@nginx.org
http://mailman.nginx.org/mailman/listinfo/nginx-ru
Subject Author Posted

upstream timed out

Dmitry Y. Labutin October 15, 2012 03:02AM

Re: upstream timed out

Andrey Kopeyko October 15, 2012 03:12AM

Re: upstream timed out

Dmitry Y. Labutin October 15, 2012 04:14AM

Re: upstream timed out

Andrey Kopeyko October 15, 2012 06:48AM

Re: upstream timed out

kav October 15, 2012 07:00AM

Re: upstream timed out

Maxim Dounin October 15, 2012 10:10AM

Re: upstream timed out

kav October 15, 2012 10:20AM

Re: upstream timed out

Илья Шипицин October 18, 2012 01:12AM

Re: upstream timed out

Dmitry Y. Labutin October 18, 2012 01:26AM

Re: upstream timed out

Alex Vorona October 18, 2012 01:44AM

Re: upstream timed out

Dmitry Y. Labutin October 18, 2012 02:04AM

Re: upstream timed out

Илья Шипицин October 18, 2012 04:12AM



Sorry, only registered users may post in this forum.

Click here to login

Online Users

Guests: 189
Record Number of Users: 8 on April 13, 2023
Record Number of Guests: 421 on December 02, 2018
Powered by nginx      Powered by FreeBSD      PHP Powered      Powered by MariaDB      ipv6 ready