Nginx Vulnerability on FreeBSD

2016-01-04 Thread Peter Chen
Hi, I am trying to do a security research experiment on FreeBSD. I try to test the Nginx Vulnerability CVE-2013-2028 on FreeBSD 10.1 x86-64, with Nginx 1.3.9/1.4.0. (https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2013-2028) However, most exploit samples can succeed on Linux, but not FreeBSD.

Re: Debugging 504 Gateway Timeout and its actual cause and solution

2016-01-04 Thread itpp2012
Keyur Wrote: --- > If its poorly written code then I need to inform the developer that > 504 is happening due to issue in php code and not due to nginx or > php-fpm and if its due to Nginx or Php-fpm then need to fix that. How many php master/sla

Re: Debugging 504 Gateway Timeout and its actual cause and solution

2016-01-04 Thread Richard Stanway
Have you checked the php-fpm logs? It seems like your backend is overloaded and not accepting connections fast enough. ___ nginx mailing list nginx@nginx.org http://mailman.nginx.org/mailman/listinfo/nginx

Re: Debugging 504 Gateway Timeout and its actual cause and solution

2016-01-04 Thread Keyur
Here are some of the timeouts already defined : Under server wide nginx.conf : keepalive_timeout 5; send_timeout150; under specific vhost.conf : proxy_send_timeout 100; proxy_read_timeout 100; proxy_connect_timeout 100; fastcgi_connect_timeout 120; fastcgi_send_timeout 300; fastcgi_read_ti

Debugging 504 Gateway Timeout and its actual cause and solution

2016-01-04 Thread Keyur
Hi, We are running following stack on our web server Varnish + Nginx + FastCGI (php-fpm) on RHEL 6.6 Its a dynamic website with different result sets everytime and has around 2 million url's indexed with Google. * Its running on nginx/1.5.12 and PHP 5.3.3 (Will be upgraded to latest nginx and PHP