Re: "No space left on device" for temp cache - v1.7.4

2014-09-11 Thread NitrouZ
What file system do you use for cache? Try using xfs instead ext4. Xfs have better inode storage than ext4. On Thursday, September 11, 2014, arraisgabriel wrote: > Thank you very much for the quick response. It looks like that the cache > now stores many small files because of the revalidation

Re: 502 errors with nginx and php5-fpm

2014-09-11 Thread Miguel Clara
What do you see in the php-fpm logs? Maybe the php-fpm processes are not enough to handle the requests. On September 11, 2014 9:42:51 PM GMT+01:00, nfn wrote: >Hi, > >Here is the debug log: http://pastebin.com/raw.php?i=w8Bwj4pS > >Can you help me understand why I have these random 502 error? >

Re: 502 errors with nginx and php5-fpm

2014-09-11 Thread nfn
Hi, Here is the debug log: http://pastebin.com/raw.php?i=w8Bwj4pS Can you help me understand why I have these random 502 error? Thanks Posted at Nginx Forum: http://forum.nginx.org/read.php?2,253117,253202#msg-253202 ___ nginx mailing list nginx@ngi

Query_String not matching

2014-09-11 Thread Roland RoLaNd
Hello, I am obviously a new nginx user, so please bear with me. I have setup nginx as a content caching service, running on port 80 and directing traffic to backend servers. all works okay, though one specific scenario where i want to cache an object matching a specific query string. Here's a

Re: "No space left on device" for temp cache - v1.7.4

2014-09-11 Thread arraisgabriel
Thank you very much for the quick response. It looks like that the cache now stores many small files because of the revalidation feature, and reached the inode storage limit. Maxim Dounin Wrote: --- > Hello! > > On Thu, Sep 11, 2014 at 10:15:4

Re: Using default CA path from openssl

2014-09-11 Thread Maxim Dounin
Hello! On Thu, Sep 11, 2014 at 12:56:29AM +0200, Michal Cichra wrote: > Hi, > > first I would like to thank for the proxy ssl verification that > landed in nginx 1.7. > > Regarding that, there is one slight problem I’ve found, when > creating a proxy, that dynamically accesses different hosts

Re: "No space left on device" for temp cache - v1.7.4

2014-09-11 Thread Maxim Dounin
Hello! On Thu, Sep 11, 2014 at 10:15:43AM -0400, arraisgabriel wrote: > Hi, recently we noticed that the version 1.7.3 added a feature important to > our infrastructure: "cache revalidation now uses If-None-Match header if > possible.". > So we changed part of our cache to the 1.7.4 version, but

Re: fastcgi_cache_bypass. Need some explain.

2014-09-11 Thread Maxim Dounin
Hello! On Thu, Sep 11, 2014 at 12:01:00PM +0300, wishmaster wrote: > Hi, > > I am attempting to configure nginx to avoid caching some data. > > map $http_x_requested_with $no_cache { > default 0; > "XMLHttpRequest" 1; > } > > fastcgi_cache_bypass

Re: Using default CA path from openssl

2014-09-11 Thread Michal Cichra
Yes, the s_client and s_server core is … There are even bugs filled https://bugs.launchpad.net/ubuntu/+source/openssl/+bug/396818 But this is different. The SSL_CTX_set_default_verify_paths does not have a bug, but the usage of it is wrong. Cheers. On 11 Sep 2014, at 05:14, Philipp wrote:

"No space left on device" for temp cache - v1.7.4

2014-09-11 Thread arraisgabriel
Hi, recently we noticed that the version 1.7.3 added a feature important to our infrastructure: "cache revalidation now uses If-None-Match header if possible.". So we changed part of our cache to the 1.7.4 version, but something strange started to happen, at certain point of disk usage nginx starte

Re: Windows 2008 - logging off kills nignx

2014-09-11 Thread ronlemonz
Sorry, I think I might have it now. Trying to re-create a dev server based on a prod server. I went through setting by setting comparing both servers... waiting to see if it runs during the night. I think the run as "SYSTEM" is the answer. So I can log off and it should work (i hope0. Thanks for th

Re: Windows 2008 - logging off kills nignx

2014-09-11 Thread Miguel Clara
On September 11, 2014 2:27:52 PM GMT+01:00, ronlemonz wrote: >Thank you. Seems awkward to set it as a service... in windows. Why? Doesn't windows run other services? Ex: IIS Actually I'd prefer of windows and run less services by deafault I always have to do some cleaning, but its worst in d

Re: fastcgi cache use stale "updating" — improvement suggestion

2014-09-11 Thread Maxim Dounin
Hello! On Wed, Sep 10, 2014 at 03:27:10PM -0400, nanochelandro wrote: > Maxim Dounin Wrote: > > nginx needs a client request to be able to request a > > resource from a backend and to save it to the cache. > > I'm afraid my explanation wasn't clear enough. > There's no need to make nginx able t

Re: Windows 2008 - logging off kills nignx

2014-09-11 Thread ronlemonz
Thank you. Seems awkward to set it as a service... in windows. I see 3rd party solutions to automate niginx as a service... but that seems strange. Posted at Nginx Forum: http://forum.nginx.org/read.php?2,253161,253181#msg-253181 ___ nginx mailing list

Re: help for tcpinfo

2014-09-11 Thread Valentin V. Bartenev
On Thursday 11 September 2014 15:09:00 mylich119 wrote: > hi everyone, > now I am trying to use $tcpinfo_rtt in the nginx.conf, but it can not be > recognized. > > below is my envioroment. and when I built nginx 1.6.1, it said "checking for > TCP_INFO ... not found " > > [lichuanhui@yptest01v ~/n

fastcgi_cache_bypass. Need some explain.

2014-09-11 Thread wishmaster
Hi, I am attempting to configure nginx to avoid caching some data. map $http_x_requested_with $no_cache { default 0; "XMLHttpRequest" 1; } fastcgi_cache_bypass $no_cache; fastcgi_no_cache $no_cache; With above configuration exceptions work

help for tcpinfo

2014-09-11 Thread mylich119
hi everyone, now I am trying to use $tcpinfo_rtt in the nginx.conf, but it can not be recognized. below is my envioroment. and when I built nginx 1.6.1, it said "checking for TCP_INFO ... not found " [lichuanhui@yptest01v ~/nginx-1.6.1]$ cat /etc/redhat-release CentOS release 5.4 (Final) [lich