Re: TCP Connection

2016-03-04 Thread Maxim Konovalov
Giulio, On 3/5/16 1:25 AM, Giulio Loffreda wrote: > Here is my nginx.conf and site config. After calling tcp > connection and getting http 400, no log is generated. > > I’m following > Let me re-phrase: this is not your _full_ nginx config. There are probably other files in /etc/nginx or

Re: TCP Connection

2016-03-04 Thread Валентин Бартенев
On Friday 04 March 2016 23:25:27 Giulio Loffreda wrote: > Here is my nginx.conf and site config. > After calling tcp connection and getting http 400, no log is generated. > > I’m following > > Thanks > > server { > listen 80; > server_name apidvc.sparkgo.cc; >

Re: Nginx 1.9.11 and OpenSSL 1.0.2G - HTTP2, but no ALPN negotiated.

2016-03-04 Thread Alt
Hello, Great, thanks Andrew! Best Regards Posted at Nginx Forum: https://forum.nginx.org/read.php?2,265036,265115#msg-265115 ___ nginx mailing list nginx@nginx.org http://mailman.nginx.org/mailman/listinfo/nginx

Re: TCP Connection

2016-03-04 Thread Giulio Loffreda
Here is my nginx.conf and site config. After calling tcp connection and getting http 400, no log is generated. I’m following Thanks server { listen 80; server_name apidvc.sparkgo.cc; access_log /var/log/nginx/myhost.com.access.log combined; root

Re: TCP Connection

2016-03-04 Thread Валентин Бартенев
On Friday 04 March 2016 19:12:56 Giulio Loffreda wrote: > Still having no luck. > No log is generated. > > TCP connection has any relation to web socket support configuration ? > > this is my site config. > > server { > listen 80; > server_name myhost.com; > access_log

Re: TCP Connection

2016-03-04 Thread steve
does /var/log/nginx exist, and it is writeable by the web server user? On 03/05/2016 07:12 AM, Giulio Loffreda wrote: Still having no luck. No log is generated. TCP connection has any relation to web socket support configuration ? this is my site config. server { listen 80;

Re: TCP Connection

2016-03-04 Thread B.R.
You have been told to use the info error_log level, which is not set (defaults to error). ​Make sure no other error_log directive might overwrite this one.​ --- *B. R.* On Fri, Mar 4, 2016 at 7:12 PM, Giulio Loffreda wrote: > Still having no luck. > No log is generated.

Re: [PATCH] move systemd/sysv dependencies into more generic logic

2016-03-04 Thread Konstantin Pavlov
Hi Evan, Thanks for your contribution. On 02/03/2016 19:07, Evan Kinney wrote: > # HG changeset patch > # User Evan Kinney > # Date 1456933417 18000 > # Wed Mar 02 10:43:37 2016 -0500 > # Node ID 484ae92864c7881246fdcbd6c4a7197041050ac3 > # Parent

Re: TCP Connection

2016-03-04 Thread Giulio Loffreda
Still having no luck. No log is generated. TCP connection has any relation to web socket support configuration ? this is my site config. server { listen 80; server_name myhost.com; access_log /var/log/nginx/myhost.com.log combined; error_log

Re: TCP Connection

2016-03-04 Thread Valentin V. Bartenev
On Friday 04 March 2016 17:41:42 Giulio Loffreda wrote: > Thank you for your answer. > > Here is my log after the request, my request, my response and my nginx.conf > > root@vps190138:~# cat /var/log/nginx-error.log > 2016/03/04 15:49:02 [notice] 8990#0: using the "epoll" event method >

Re: TCP Connection

2016-03-04 Thread Giulio Loffreda
Thank you for your answer. Here is my log after the request, my request, my response and my nginx.conf root@vps190138:~# cat /var/log/nginx-error.log 2016/03/04 15:49:02 [notice] 8990#0: using the "epoll" event method 2016/03/04 15:49:02 [notice] 8990#0: nginx/1.8.1 2016/03/04 15:49:02 [notice]

Re: TCP Connection

2016-03-04 Thread Valentin V. Bartenev
On Friday 04 March 2016 17:20:18 Giulio Loffreda wrote: > Hi All, > > If I’m sending this email to wrong list, apologies and give me the good one. > > I have one embedded application which needs to connect via TCP and send an > HTTP request. > We run Nginx on Ubuntu 14.04. > > I can connect

TCP Connection

2016-03-04 Thread Giulio Loffreda
Hi All, If I’m sending this email to wrong list, apologies and give me the good one. I have one embedded application which needs to connect via TCP and send an HTTP request. We run Nginx on Ubuntu 14.04. I can connect and persist, but once the packet is sent, I get HTTP 400 without any log

Re: nginx to return compressed file while proxying

2016-03-04 Thread Maxim Dounin
Hello! On Fri, Mar 04, 2016 at 06:49:00PM +0300, Vasil Mikhalenya wrote: > можно ли это понять из приведенного лога и что означает HTTP/1.1 200 OK в > обоих случаях Версия, написанная в HTTP-ответе - это максимальная версия, которую поддерживает сервер. При этом само сообщение формируется в

Re: nginx to return compressed file while proxying

2016-03-04 Thread Валентин Бартенев
On Friday 04 March 2016 18:49:00 Vasil Mikhalenya wrote: > спасибо, > да очевидно это оно, > можно ли это понять из приведенного лога и что означает HTTP/1.1 200 OK в > обоих случаях > [..] Из переведенного лога - едва ли, из приведенного конфига - да. К тому же это самая частая причина почему

Re: zero size buf in output при proxy cache

2016-03-04 Thread Maxim Dounin
Hello! On Thu, Feb 25, 2016 at 08:25:23PM +0300, Maxim Dounin wrote: > On Thu, Feb 25, 2016 at 06:19:04PM +0300, Иван wrote: > > > Можем ли мы еще что-то сделать для решения этой проблемы? [...] > В почте у меня соответствующее письмо отмечено, но вряд ли я > доберусь до "посмотреть это

Re: Workers CPU leak [epoll_wait,epoll_ctl]

2016-03-04 Thread Valentin V. Bartenev
On Friday 04 March 2016 09:42:45 vizl wrote: > Sorry, my misprint. > > Config whithout aio on; > > only aio threads=default; > > > do you or some tool periodically change the files ? > no, files are unchanged, just periodically some new are added and some > expired are deleted > Could you

Re: Workers CPU leak [epoll_wait,epoll_ctl]

2016-03-04 Thread vizl
user www; worker_processes 16; thread_pool default threads=128 max_queue=1024; worker_rlimit_nofile 65536; ###timer_resolution 100ms; #error_log /home/logs/error_log.nginx error; error_log /home/logs/error_log.nginx.debug debug; events { worker_connections 3; use epoll; } http {

Re: nginx-1.9.12

2016-03-04 Thread Vadim A. Misbakh-Soloviov
1) не замечал (хот не особо использую, но собираю с ним) 2) как ни странно, но его автор писал в этом же треде как раз последним перед вами :) Вот только, на сколько я помню, он не горит желанием его допиливать :) 04.03.2016 14:36, Олег Черній пишет: > В 1.9.11 і 1.9.12 отвалился ngx_ctpp модуль

Re: Workers CPU leak [epoll_wait,epoll_ctl]

2016-03-04 Thread Valentin V. Bartenev
On Friday 04 March 2016 07:12:09 vizl wrote: > Sorry for long answer, but we have doing some tests, and notice that probles > is appear when thread_pool enabled. > > thread_pool default threads=128 max_queue=1024 > > We need to use thread_pool, and can't permenent disable it unfortunately >

Re: Workers CPU leak [epoll_wait,epoll_ctl]

2016-03-04 Thread vizl
Sorry for long answer, but we have doing some tests, and notice that probles is appear when thread_pool enabled. thread_pool default threads=128 max_queue=1024 We need to use thread_pool, and can't permenent disable it unfortunately Posted at Nginx Forum:

[njs] Fixed building by GCC 4.1.

2016-03-04 Thread Igor Sysoev
details: http://hg.nginx.org/njs/rev/480849ab9e96 branches: changeset: 83:480849ab9e96 user: Igor Sysoev date: Fri Mar 04 14:57:21 2016 +0300 description: Fixed building by GCC 4.1. diffstat: nginx/ngx_http_js_module.c | 3 ++- 1 files changed, 2 insertions(+), 1

Re: upstream prematurely closes cnx => 502 Bad Gateway to client

2016-03-04 Thread Aleksandar Lazic
Hi. Am 04-03-2016 11:00, schrieb stefws: stefws Wrote: --- Seems I'm not alone w/TC issues ;) missed the link: http://permalink.gmane.org/gmane.comp.web.haproxy/26860 Well Maybe you have a completely different situation. Is it possible to

Re: TLS session resumption (identifier)

2016-03-04 Thread Igor Sysoev
On 04 Mar 2016, at 13:30, B.R. wrote: > On Fri, Mar 4, 2016 at 11:19 AM, Igor Sysoev wrote: > Sorry, I meant there is no performance difference between “none” and “off” > settings. > > ​Well, the client believes he should remember every session ID and

Re: TLS session resumption (identifier)

2016-03-04 Thread B.R.
On Fri, Mar 4, 2016 at 11:19 AM, Igor Sysoev wrote: > Sorry, I meant there is no performance difference between “none” and “off” > settings. > ​Well, the client believes he should remember every session ID and store it somewhere for nothing, reading/resending/writing it on every

Re: TLS session resumption (identifier)

2016-03-04 Thread Igor Sysoev
On 04 Mar 2016, at 12:55, B.R. wrote: > On Fri, Mar 4, 2016 at 10:33 AM, Igor Sysoev wrote: >> But still, advertising something without actually supporting it must lead to >> cases where sessions reuse is believed to take place without ever happening,

Re: upstream prematurely closes cnx => 502 Bad Gateway to client

2016-03-04 Thread stefws
stefws Wrote: --- > Seems I'm not alone w/TC issues ;) missed the link: http://permalink.gmane.org/gmane.comp.web.haproxy/26860 Posted at Nginx Forum: https://forum.nginx.org/read.php?2,265031,265079#msg-265079

Re: upstream prematurely closes cnx => 502 Bad Gateway to client

2016-03-04 Thread stefws
Seems I'm not alone w/TC issues ;) Posted at Nginx Forum: https://forum.nginx.org/read.php?2,265031,265078#msg-265078 ___ nginx mailing list nginx@nginx.org http://mailman.nginx.org/mailman/listinfo/nginx

Re: TLS session resumption (identifier)

2016-03-04 Thread B.R.
On Fri, Mar 4, 2016 at 10:33 AM, Igor Sysoev wrote: > But still, advertising something without actually supporting it must lead > to cases where sessions reuse is believed to take place without ever > happening, harming performance... that was probably happening in versions < >

Re: TLS session resumption (identifier)

2016-03-04 Thread B.R.
Thanks Igor, that makes the whole thing crystal clear! What saves us there is the fact that, if I understand it well, the RFC 5077 ​ states the server decides by itself on the use of tickets and those have precedence over identifiers. But still,

Re: nginx-1.9.12

2016-03-04 Thread Олег Черній
В 1.9.11 і 1.9.12 отвалился ngx_ctpp модуль http://ngx-ctpp.vbart.ru/. Floating point exception (core dumped) С 1.9.10 - все Ok Проверял на Fedora 20-23: А жаль, у нас еще используется. 2016-02-24 17:11 GMT+02:00 Maxim Dounin : > Изменения в nginx 1.9.12 > 24.02.2016 > >