Is ngx_http_v2_module ready for business application?

2016-09-23 Thread Nomad Worker
'The module is experimental, caveat emptor applies', it's writed on the doc of ngx_http_v2_module. However nginx already has a stable version(1.10.1) which contains the v2 module. If we use this latest stable version‘s http/2 module officially, what are the risks? And I know that NGI

Re: upstream and proxy_pass behavior

2016-09-23 Thread Maxim Dounin
Hello! On Fri, Sep 23, 2016 at 11:38:44AM -0500, Philip Walenta wrote: [...] > I see an error of: > > *51 no resolver defined to resolve origin., client: 5.6.7.8, server: > www.example.com, request: "GET /api/v1/proxy/?tid= HTTP/1.1", host: " > www.example.com" - as if it only considers

Re: posix_memalign(16, 16384) failed (12: Cannot allocate memory)

2016-09-23 Thread JohnCarne
Thank you for your feeback We reverted now to 1.11.3 with no brotly, and geoip module, (this version had caused no issue) Posted at Nginx Forum: https://forum.nginx.org/read.php?2,269787,269801#msg-269801 ___ nginx mailing list nginx@nginx.org http://

upstream and proxy_pass behavior

2016-09-23 Thread Philip Walenta
I'm trying to reduce the number of location blocks I need for an application by trying to route using a query parameter. My URL looks like this: https://www.example.com/api/v1/proxy/?tid= If I do this in my location block: location ~* /api/v1/proxy { proxy_pass http://origin.

Re: posix_memalign(16, 16384) failed (12: Cannot allocate memory)

2016-09-23 Thread Maxim Dounin
Hello! On Fri, Sep 23, 2016 at 05:20:56AM -0400, JohnCarne wrote: > Hello, > > [root@web1 ~]# nginx -v > nginx version: nginx/1.11.4 > > We are now after 13 days we observer suddenly in nginx logs this in an > intempestive manner, and causing nginx to reload, causing slow down on > server : pos

Re: posix_memalign(16, 16384) failed (12: Cannot allocate memory)

2016-09-23 Thread JohnCarne
nginx -V nginx version: nginx/1.11.4 built by gcc 4.8.5 20150623 (Red Hat 4.8.5-4) (GCC) built with OpenSSL 1.0.2h 3 May 2016 TLS SNI support enabled configure arguments: --prefix=/etc/nginx --sbin-path=/usr/sbin/nginx --modules-path=/etc/nginx/modules --with-openssl=./openssl-1.0.2h --conf-path=

Re: posix_memalign(16, 16384) failed (12: Cannot allocate memory)

2016-09-23 Thread JohnCarne
sysctl tweaked at maximum already # Kernel sysctl configuration file for Red Hat Linux # # For binary values, 0 is disabled, 1 is enabled. See sysctl(8) and # sysctl.conf(5) for more details. # Tweak for nginx workers/connections added 16/09/2016 for issue investigation on pisix error in nginx l

Re: posix_memalign(16, 16384) failed (12: Cannot allocate memory)

2016-09-23 Thread JohnCarne
I add my config at server level #Core Functionality user nobody; worker_processes auto; worker_rlimit_nofile 5; thread_pool iopool threads=32 max_queue=65536; pid /var/run/nginx.pid; error_log /var/log/nginx/error_log; #error_log /home/abackup/debug.log debug; #Load Dynamic Modules #incl

posix_memalign(16, 16384) failed (12: Cannot allocate memory)

2016-09-23 Thread JohnCarne
Hello, [root@web1 ~]# nginx -v nginx version: nginx/1.11.4 We are now after 13 days we observer suddenly in nginx logs this in an intempestive manner, and causing nginx to reload, causing slow down on server : posix_memalign(16, 16384) failed (12: Cannot allocate memory) This happens after our u