Re: Nginx on Windows PHP fastcgi read timeouts

2014-06-19 Thread c0nw0nk
I found the cause on ever page i noticed it had Google Map's/Location running the person who wrote the Location addon in the component on Joomla for some reason thought it was good coding to wait for a link load. So the reason it time'd out is because it is connecting to a google maps link that nev

Re: Nginx on Windows PHP fastcgi read timeouts

2014-06-18 Thread c0nw0nk
Yep it is a PHP application error. My Nginx log now outputs this. I doing more digging to see why it is acting up. 2014/06/18 23:20:49 [error] 3792#7764: *22709 upstream timed out (10060: A connection attempt failed because the connected party did not properly respond after a period of time, or e

Re: Nginx on Windows PHP fastcgi read timeouts

2014-06-18 Thread Maxim Dounin
Hello! On Wed, Jun 18, 2014 at 09:21:55AM -0400, c0nw0nk wrote: > Even with PHP_FCGI_MAX_REQUESTS=1 i still get it what log setting would > you like nginx set to ? > > Because mysql has no outputs in the slow query log that take more than 2 > seconds and PHP has no error outputs or crashes i

Re: Nginx on Windows PHP fastcgi read timeouts

2014-06-18 Thread itpp2012
c0nw0nk Wrote: --- > Upon the change it gets worse now i do not even get a error the > browser just time's out. I have no idea if it is a Joomla issue or if > it is actualy something with PHP on windows. I get the feeling it is a > bit of both. T

Re: Nginx on Windows PHP fastcgi read timeouts

2014-06-18 Thread c0nw0nk
Upon the change it gets worse now i do not even get a error the browser just time's out. I have no idea if it is a Joomla issue or if it is actualy something with PHP on windows. I get the feeling it is a bit of both. Posted at Nginx Forum: http://forum.nginx.org/read.php?2,250964,251014#msg-2510

Re: Nginx on Windows PHP fastcgi read timeouts

2014-06-18 Thread c0nw0nk
Doing further testing i have discoverd something disturbing. I can execute a page upon the website, the page never loads. Then when i go to load other pages they all give of a error. Fatal error: Maximum execution time of 30 seconds exceeded in C:\server\websites\ps\public_www\libraries\loader.ph

Re: Nginx on Windows PHP fastcgi read timeouts

2014-06-18 Thread Kurt Cancemi
I meant change max_execution_time = 30 to max_execution_time = 120 --- Kurt Cancemi http://www.getwnmp.org On Wed, Jun 18, 2014 at 11:58 AM, Kurt Cancemi wrote: > To change the Maximum execution time, in your php.ini change > max_execution_time 30 to 120. The maximum execution time is how low a

Re: Nginx on Windows PHP fastcgi read timeouts

2014-06-18 Thread Kurt Cancemi
To change the Maximum execution time, in your php.ini change max_execution_time 30 to 120. The maximum execution time is how low a php script may run for in seconds. --- Kurt Cancemi http://www.getwnmp.org On Wed, Jun 18, 2014 at 11:19 AM, c0nw0nk wrote: > Looking at it PHP, MySQL and Nginx hav

Re: Nginx on Windows PHP fastcgi read timeouts

2014-06-18 Thread c0nw0nk
Looking at it PHP, MySQL and Nginx have no changes in CPU although PHP did spike in I/O usage. And i disabled caching in Joomla and sometimes i came across this. PHP Fatal error: Maximum execution time of 30 seconds exceeded in C:\server\websites\ps\public_www\libraries\loader.php on line 183 D

Re: Nginx on Windows PHP fastcgi read timeouts

2014-06-18 Thread itpp2012
c0nw0nk Wrote: --- > error_log logs/error.log crit; > > Is my current setting should i change it to debug ? No option is required to get error messages about backend issues. Remove that first server {} block with the return 200, for fcgi try

Re: Nginx on Windows PHP fastcgi read timeouts

2014-06-18 Thread c0nw0nk
Even with PHP_FCGI_MAX_REQUESTS=1 i still get it what log setting would you like nginx set to ? Because mysql has no outputs in the slow query log that take more than 2 seconds and PHP has no error outputs or crashes in my syslog. error_log logs/error.log crit; Is my current setting should

Re: Nginx on Windows PHP fastcgi read timeouts

2014-06-18 Thread itpp2012
PHP_FCGI_MAX_REQUESTS=0, try the recommended value of 1. Posted at Nginx Forum: http://forum.nginx.org/read.php?2,250964,250992#msg-250992 ___ nginx mailing list nginx@nginx.org http://mailman.nginx.org/mailman/listinfo/nginx

Re: Nginx on Windows PHP fastcgi read timeouts

2014-06-18 Thread itpp2012
Lets see some logging. Posted at Nginx Forum: http://forum.nginx.org/read.php?2,250964,250990#msg-250990 ___ nginx mailing list nginx@nginx.org http://mailman.nginx.org/mailman/listinfo/nginx

Re: Nginx on Windows PHP fastcgi read timeouts

2014-06-17 Thread c0nw0nk
Could traffic surges do that too ? Such as after i leave php running for a while it seems to not take as long to load ? Posted at Nginx Forum: http://forum.nginx.org/read.php?2,250964,250979#msg-250979 ___ nginx mailing list nginx@nginx.org http://mail

Re: Nginx on Windows PHP fastcgi read timeouts

2014-06-17 Thread c0nw0nk
What logs you want me to paste PHP or Nginx ? Posted at Nginx Forum: http://forum.nginx.org/read.php?2,250964,250973#msg-250973 ___ nginx mailing list nginx@nginx.org http://mailman.nginx.org/mailman/listinfo/nginx

Re: Nginx on Windows PHP fastcgi read timeouts

2014-06-17 Thread Steve Wilson
On 18/06/2014 00:39, c0nw0nk wrote: > I am still having the same issue read time outs. If every request made to > the server circles the upstream then it has to be the upstream that is the > issue not php. PHP loads are fine no crashes no errors. What's in the logs? Steve. _

Re: Nginx on Windows PHP fastcgi read timeouts

2014-06-17 Thread c0nw0nk
I am still having the same issue read time outs. If every request made to the server circles the upstream then it has to be the upstream that is the issue not php. PHP loads are fine no crashes no errors. Posted at Nginx Forum: http://forum.nginx.org/read.php?2,250964,250971#msg-250971

Re: Nginx on Windows PHP fastcgi read timeouts

2014-06-17 Thread c0nw0nk
Not a bad suggestion steve to test it i just changed my php mark to 100 processes will wait and see if i still get read time outs. And to answer your other question about why i do not use linux. I don't use linux because i am not very good with linux machines my understanding and trying to get to

Re: Nginx on Windows PHP fastcgi read timeouts

2014-06-17 Thread Steve Wilson
I'm not sure how you'd diagnose this on windows, I had a similar issue with php-fpm under linux as it was running out of "handlers". Could it be that all 20 of your fastcgi processes are in use and nginx is waiting for one to become available? As a side note, why windows? I'm curious why you'd be

Nginx on Windows PHP fastcgi read timeouts

2014-06-17 Thread c0nw0nk
So this is going to be a bit of a long post but if i have encounterd this issue no doubt someone else will. Basically i keep getting read time outs or my web pages take a very long time to load. My server is Windows 2008 R2 64bit. Everything runs under either System or Root 1GBPS Connection serve