Re: debugging 504 Gateway Time-out

2016-08-14 Thread Larry Martell
On Tue, Aug 9, 2016 at 10:35 PM, Richard Stanway wrote: >> generated 0 bytes in 640738 msecs > > I would look into what is causing your backend to take over 10 minutes to > respond to that request. I have some requests that can take a long time to return - the users can request huge amount of dat

Re: embeded php code not activating

2016-08-14 Thread Richard Stanway
Visiting http://www.craythorneweather.info/moonphase.php show a HTTP/500, so you should examine your backend (PHP) error logs for more information. On Sun, Aug 14, 2016 at 5:48 PM, Joe Curtis wrote: > I have a weather station website running successfully under apache2 on a > fedora based server.

embeded php code not activating

2016-08-14 Thread Joe Curtis
I have a weather station website running successfully under apache2 on a fedora based server. I am in the process of transferring it to run on a raspberry pi 3 under nginx. This has transferred without a problem with the exception of a small section of PHP code which loads a graphic of the moon pha

Re: proxy_cache:Why Receive >Transmit?

2016-08-14 Thread fffffffffffff
On windows, cache files will become less, all cache files total size is 2G, I set max_size=20g,on linux it's ok Posted at Nginx Forum: https://forum.nginx.org/read.php?2,268938,268948#msg-268948 ___ nginx mailing list nginx@nginx.org http://mailman.ngi

Re: proxy_cache:Why Receive >Transmit?

2016-08-14 Thread fffffffffffff
Ok, I think i know why , other question, why the cache files in the directory will become less? I set inactive=7d and proxy_cache_revalidate on; already Posted at Nginx Forum: https://forum.nginx.org/read.php?2,268938,268947#msg-268947 ___ nginx maili

Re: proxy_cache:Why Receive >Transmit?

2016-08-14 Thread fffffffffffff
I run iftop on nginx, you can look the capture image http://i.stack.imgur.com/bZmVI.png Posted at Nginx Forum: https://forum.nginx.org/read.php?2,268938,268946#msg-268946 ___ nginx mailing list nginx@nginx.org http://mailman.nginx.org/mailman/listinfo/

Re: proxy_cache:Why Receive >Transmit?

2016-08-14 Thread Valentin V. Bartenev
On Sunday 14 August 2016 06:28:52 f wrote: > yes, this is not a problem of compression, this is problem of proxy_cache, > when i disable proxy_cache,RX=TX > It's not clear what do you measure with iftop, even on which machine you have run it. In case of proxying the data are receivi

Re: 413 Request Entity Too Large

2016-08-14 Thread Valentin V. Bartenev
On Saturday 13 August 2016 10:12:53 parthi wrote: > How do you say that?. Have checked by reducing the client_max_body_size to > 500K it works perfectly fine i'm not able to upload a file size of not more > than 500K. > In this case you have set the request body limit in nginx lower than on your

Re: proxy_cache:Why Receive >Transmit?

2016-08-14 Thread fffffffffffff
yes, this is not a problem of compression, this is problem of proxy_cache, when i disable proxy_cache,RX=TX Posted at Nginx Forum: https://forum.nginx.org/read.php?2,268938,268943#msg-268943 ___ nginx mailing list nginx@nginx.org http://mailman.nginx.o

Re: proxy_cache:Why Receive >Transmit?

2016-08-14 Thread Valentin V. Bartenev
On Sunday 14 August 2016 04:11:43 itpp2012 wrote: > When compressing (nginx) an already compressed stream (backend) that stream > usually gets bigger. > nginx doesn't use compression for already compressed responses. wbr, Valentin V. Bartenev ___ ng

Re: proxy_cache:Why Receive >Transmit?

2016-08-14 Thread itpp2012
When compressing (nginx) an already compressed stream (backend) that stream usually gets bigger. Posted at Nginx Forum: https://forum.nginx.org/read.php?2,268938,268941#msg-268941 ___ nginx mailing list nginx@nginx.org http://mailman.nginx.org/mailman/