GET request with transfer-encoding causing issue

2016-05-23 Thread bclod
We have a client sending a GET request who is also erroneously sending a transfer-encoding : chunked Header. This is causing nginx to wait for the client to send data before the client finally times out. Is there anyway to tell nginx to ignore this header? We have asked the client to get their

Re: nginx and HLS

2016-05-23 Thread Yuriy Medvedev
Hi. What protocol do you wanted use? 23 мая 2016 г. 19:47 пользователь "drook" написал: > Hi. > > I see there's a ngx_http_hls_module for HLS, but seems like it's for video > content, and I need to serve static mp3/audio files with nginx, prividing > some adaptive

Re: Зависание nginx из-за memcached

2016-05-23 Thread Илья Шипицин
headers-more-nginx-module - с этим модулем во времена, когда вы компилировали, проблемы были (в свежих версиях исправлено), у нас, например, worker-ы зависали а вы прямо по необходимости модули собирали? у меня с трудом укладывается, зачем одновременно push и h264 может (на стенде) часть модулей

nginx and HLS

2016-05-23 Thread drook
Hi. I see there's a ngx_http_hls_module for HLS, but seems like it's for video content, and I need to serve static mp3/audio files with nginx, prividing some adaptive bitrate adjustment. Is it possible with nginx ? Thanks. Posted at Nginx Forum:

[nginx] Realip: detect duplicate real_ip_header directive.

2016-05-23 Thread Ruslan Ermilov
details: http://hg.nginx.org/nginx/rev/3af0e65a461a branches: changeset: 6565:3af0e65a461a user: Ruslan Ermilov date: Mon May 23 19:17:24 2016 +0300 description: Realip: detect duplicate real_ip_header directive. diffstat: src/http/modules/ngx_http_realip_module.c

Re: Зависание nginx из-за memcached

2016-05-23 Thread Yuriy Medvedev
Пакет соберите и будет вам счастье. Отправлено с моего ASUS Исходное сообщение Отправитель:kpoxa Отправленные:Mon, 23 May 2016 19:01:19 +0300 Получатель:nginx-ru@nginx.org Тема:Re: Зависание nginx из-за memcached

Re: Зависание nginx из-за memcached

2016-05-23 Thread kpoxa
Нужные урлы пропустите через промежуточный nginx последней версии, который уже будет коннектиться к мемкешу. пн, 23 мая 2016 г. в 16:16, Vadim Osipov : > А как провести без сторонних модулей ? :) > Запустить на production, убрав нужные url-ы ? > > Если имеется в виду

[nginx] Realip: take client port from PROXY protocol header.

2016-05-23 Thread Dmitry Volyntsev
details: http://hg.nginx.org/nginx/rev/26feae43987f branches: changeset: 6563:26feae43987f user: Dmitry Volyntsev date: Mon May 23 18:44:22 2016 +0300 description: Realip: take client port from PROXY protocol header. Previously, when the client address was changed

[nginx] Added the $realip_remote_port variable.

2016-05-23 Thread Dmitry Volyntsev
details: http://hg.nginx.org/nginx/rev/b13d3a6f0512 branches: changeset: 6562:b13d3a6f0512 user: Dmitry Volyntsev date: Mon May 23 18:44:22 2016 +0300 description: Added the $realip_remote_port variable. diffstat: src/http/modules/ngx_http_realip_module.c | 75

[nginx] Realip: port support in X-Real-IP and X-Forwarded-For.

2016-05-23 Thread Dmitry Volyntsev
details: http://hg.nginx.org/nginx/rev/19db5a6bc34e branches: changeset: 6564:19db5a6bc34e user: Dmitry Volyntsev date: Mon May 23 18:44:23 2016 +0300 description: Realip: port support in X-Real-IP and X-Forwarded-For. Now, the module extracts optional port which

[nginx] Added the $proxy_protocol_port variable.

2016-05-23 Thread Dmitry Volyntsev
details: http://hg.nginx.org/nginx/rev/28c76d9d75b7 branches: changeset: 6561:28c76d9d75b7 user: Dmitry Volyntsev date: Mon May 23 18:44:21 2016 +0300 description: Added the $proxy_protocol_port variable. diffstat: src/core/ngx_connection.h | 1 +

Re: Зависание nginx из-за memcached

2016-05-23 Thread Vadim Osipov
Спасибо, попробую ! Posted at Nginx Forum: https://forum.nginx.org/read.php?21,267049,267065#msg-267065 ___ nginx-ru mailing list nginx-ru@nginx.org http://mailman.nginx.org/mailman/listinfo/nginx-ru

[nginx] Renamed "u" to "sockaddr" in listen options types.

2016-05-23 Thread Ruslan Ermilov
details: http://hg.nginx.org/nginx/rev/c90cf79d0e1d branches: changeset: 6560:c90cf79d0e1d user: Maxim Dounin date: Mon May 23 16:37:28 2016 +0300 description: Renamed "u" to "sockaddr" in listen options types. diffstat: src/http/ngx_http.c |

[nginx] Introduced the ngx_sockaddr_t type.

2016-05-23 Thread Ruslan Ermilov
details: http://hg.nginx.org/nginx/rev/adf25b8d0431 branches: changeset: 6559:adf25b8d0431 user: Ruslan Ermilov date: Mon May 23 16:37:20 2016 +0300 description: Introduced the ngx_sockaddr_t type. It's properly aligned and can hold any supported sockaddr.

Re: Зависание nginx из-за memcached

2016-05-23 Thread Илья Шипицин
если не является коммерческой тайной, покажите вывод nginx -V ? 23 мая 2016 г., 16:40 пользователь Vadim Osipov написал: > нет, т.к. это довольно рискованный и трудоемкий процесс в сравнении с > возможным изменением конфиг. файла nginx.conf, настроек memcached.

[nginx] Stream: fixed duplicate listen address detection.

2016-05-23 Thread Ruslan Ermilov
details: http://hg.nginx.org/nginx/rev/68854ce64ec7 branches: changeset: 6558:68854ce64ec7 user: Ruslan Ermilov date: Mon May 23 12:50:59 2016 +0300 description: Stream: fixed duplicate listen address detection. The 6f8254ae61b8 change inadvertently fixed the

Re: Зависание nginx из-за memcached

2016-05-23 Thread Vadim Osipov
А как провести без сторонних модулей ? :) Запустить на production, убрав нужные url-ы ? Если имеется в виду проводить эксперимент на тестовом стенде, то выходит, что достаточное кол-во подключений, запросов, машин, стендов, их параметры вряд ли получится достоверно воспроизвести, но возможно не

Re: Errorlog shows GET timeout; Accesslog shows POST

2016-05-23 Thread bclod
Francis, You are totally right! I forgot that that we were using some crap logic for the variables; we are switching this to $request_method (the actual built in variable). Your notes confirm to me what I was thinking all along: that the client is likely closing the connection after 5 seconds.

Re: Зависание nginx из-за memcached

2016-05-23 Thread Михаил Монашёв
Здравствуйте, Vadim. Эксперимент можно было бы провести без сторонних модулей. Тогда появился бы хотя бы один вариант решения Вашей проблемы. > нет, т.к. это довольно рискованный и трудоемкий процесс в сравнении с > возможным изменением конфиг. файла nginx.conf, настроек memcached. > Чтобы

Re: Зависание nginx из-за memcached

2016-05-23 Thread Vadim Osipov
нет, т.к. это довольно рискованный и трудоемкий процесс в сравнении с возможным изменением конфиг. файла nginx.conf, настроек memcached. Чтобы обновить до 1.10 потребуется заново собирать nginx, проверять правильность работы сторонних модулей, делать обычное и нагрузочное тестирование. Поэтому,

Re: Зависание nginx из-за memcached

2016-05-23 Thread Михаил Монашёв
Здравствуйте, Vadim. > Версия nginx: 1.4.2 Обновлять nginx не пробовали? -- С уважением, Михаил mailto:postmas...@softsearch.ru ___ nginx-ru mailing list nginx-ru@nginx.org http://mailman.nginx.org/mailman/listinfo/nginx-ru

Re: nginx on high load (upstream prematurely closed connection while reading response header from upstream)

2016-05-23 Thread muzi
Thankyou once again Francis Daly, i am now ignoring these errors, as i not see any errors in nginx access logs and site is working on high load and see 200 response code in access logs. Posted at Nginx Forum: https://forum.nginx.org/read.php?2,266978,267052#msg-267052

Re: nginx on high load (upstream prematurely closed connection while reading response header from upstream)

2016-05-23 Thread muzi
Thankyou once again Francis Daly, i am now ignoring these errors, as i not see any errors in nginx access logs and site is working on high load and see 200 response code in access logs. Posted at Nginx Forum: https://forum.nginx.org/read.php?2,266978,267051#msg-267051

Re: nginx on high load (upstream prematurely closed connection while reading response header from upstream)

2016-05-23 Thread muzi
Thankyou once again Francis Daly, i am now ignoring these errors, as i not see any errors in nginx access logs and site is working on high load and see 200 response code in access logs. Posted at Nginx Forum: https://forum.nginx.org/read.php?2,266978,267053#msg-267053

Зависание nginx из-за memcached

2016-05-23 Thread Vadim Osipov
Здравствуйте У нас 5 nginx, которые соединены с 2мя memcached. После того как на memcached случился segfault at 24 ip 0040dda0 sp 7ff13d03cc10 error 4 in memcached[40+16000]; каждый nginx worker (по настройке их 8 на каждом nginx) начинает утилизировать 100% ядра CPU, вызывая

reading config during run time

2016-05-23 Thread Pankaj Chaudhary
Hi, In my module i want to read config values run time. is there method available in nginx which i can use. Please suggest. Regards, Pankaj ___ nginx mailing list nginx@nginx.org http://mailman.nginx.org/mailman/listinfo/nginx

reading config during run time

2016-05-23 Thread Pankaj Chaudhary
Hi, In my module i want to read config values run time. is there method available in nginx which i can use. Please suggest. Regards, Pankaj ___ nginx-devel mailing list nginx-devel@nginx.org http://mailman.nginx.org/mailman/listinfo/nginx-devel