On Tue, Jul 27, 2010 at 11:54:31AM -0500, Ryan Malayter wrote: > I'm seeing a number of workers periodically entering the "D" status in > top (uninteruptible sleep). Normally, this means it is blocking on > disk IO. However, I am using nginx 0.7.62 (default package) on Ubunutu > 9.10, and I believe asynchronous IO should be enabled. > > We are using proxy_cache, so tby Igor Sysoev - Nginx Mailing List - English
I has this problem before, somehow nginx was blocking on access to a NFS partition that was saturated. Check if you have any link whatsoever with a saturated disk, and pay special attention to NFS partitions. On Tue, Jul 27, 2010 at 6:54 PM, Ryan Malayter <malayter@gmail.com> wrote: > I'm seeing a number of workers periodically entering the "D" status in > top (uninteruptibby Joaquin Cuenca Abela - Nginx Mailing List - English
I'm seeing a number of workers periodically entering the "D" status in top (uninteruptible sleep). Normally, this means it is blocking on disk IO. However, I am using nginx 0.7.62 (default package) on Ubunutu 9.10, and I believe asynchronous IO should be enabled. We are using proxy_cache, so there is some reading from disk in our configuration (not just reverse proxy). Is it normal toby Ryan Malayter - Nginx Mailing List - English
On Thu, Jul 15, 2010 at 10:56:31PM -0400, Peter Portante wrote: > Hi Folks, > > Should each proxy_cache_path "keys_zone" have a separate path? > > For instance, should we have? > > proxy_cache_path /home/nginx/run/proxy_cache levels=1:2 inactive=1d > max_size=1m keys_zone=Zone1:10m; > proxy_cache_path /home/nginx/run/proxy_cache levels=1:2 inactive=by Igor Sysoev - Nginx Mailing List - English
Hi Folks, Should each proxy_cache_path "keys_zone" have a separate path? For instance, should we have? proxy_cache_path /home/nginx/run/proxy_cache levels=1:2 inactive=1d max_size=1m keys_zone=Zone1:10m; proxy_cache_path /home/nginx/run/proxy_cache levels=1:2 inactive=1d max_size=5m keys_zone=Zone2:100m; Or: proxy_cache_path /home/nginx/run/proxy_cache/zone1 levels=1:2 iby Peter Portante - Nginx Mailing List - English
On Mon, Jul 12, 2010 at 02:53:55PM +0300, oren@stanzapub.com wrote: > Hi, > I want to be able to cache proxy responses indefinitely (until purged > manually by me, using cache purge module). > >From the docs it seems like proxy_cache_valid must get a number, can > it get somethingby Igor Sysoev - Nginx Mailing List - English
I'm seeing something similar. du -sb returns 1411480500 bytes, even though I have specified 1024 MB as max size. nginx 0.7.62 on ubuntu 9.10 server. Here is my proxy_cache config: proxy_cache_path /var/spool/nginx_proxy_cache levels=1:2 keys_zone=zone1:10m inactive=7d max_size=1024m; Any ideas? Is it the inactive period of 7d that controls when the cache manager proby Ryan Malayter - Nginx Mailing List - English
On Thu, Jun 24, 2010 at 10:04 AM, Simone fumagalli <simone.fumagalli@contactlab.com> wrote: > I've Nginx in front of my CMS that cache requests without cookie (anonymous visitors) while other requests (logged in users) are passed to the backend. > > The conf look like this (only relevant parts) : > > --------------------------------------------------------------------- > &by Ryan Malayter - Nginx Mailing List - English
I've Nginx in front of my CMS that cache requests without cookie (anonymous visitors) while other requests (logged in users) are passed to the backend. The conf look like this (only relevant parts) : --------------------------------------------------------------------- proxy_cache_path /usr/local/www/cache/myapp/html levels=1:2 keys_zone=MYAPP_HTML_CACHE:10m inactive=30m max_size=2g; serverby Simone fumagalli - Nginx Mailing List - English
On Wed, Jun 23, 2010 at 12:55 AM, MuFei <mufei4u@gmail.com> wrote: > Hi, > > I just set up Nginx as a proxy to Apache for my vBulletin based site. > Everything went well till I enabled Nginx caching. Once Nginx caching > is enabled I'm and all users are no longer unable to log-in to the > forum due cookie cashing. When I disable caching we are all able to > log-in as usby Ryan Malayter - Nginx Mailing List - English
Hi, Sorry for pumping this -kinda old topic- up, but I'm having the same issue as the original poster. After installing memcashed it's running but not storing or caching data. Yes I know nginx doesn't store anything in memcashed -which is shame- but what I'm asking for here is how to get memcached to cache and store data? is there any kind of command or code or something? I've googled fby XO39 - Nginx Mailing List - English
Hi, I just set up Nginx as a proxy to Apache for my vBulletin based site. Everything went well till I enabled Nginx caching. Once Nginx caching is enabled I'm and all users are no longer unable to log-in to the forum due cookie cashing. When I disable caching we are all able to log-in as usual. Is there anyway to completely disable caching for cookies/sessions and keep caching for anything elseby MuFei - Nginx Mailing List - English
Hi, I have a question about the proxy_cache_valid inheritance. I have the following configuration: http { ... proxy_cache_valid 301 1h; proxy_cache_valid 200 302 404 10m; proxy_cache_valid any 1m; ... server { proxy_cache mycache; location /test { proxy_pass http://$backend; } location /bar { proxy_pass http://$backend;by Jérôme Loyet - Nginx Mailing List - English
On Fri, Jun 18, 2010 at 01:22:25PM +0000, Ole Laursen wrote: > > Igor Sysoev <igor@...> writes: > > > You may bypass cache using "Some-Secret-Header: 1" in a request and > > > setting: > > > proxy_no_cache $http_some_secret_header; > > > The response may be cached. > > Hm, I think I might have been too hasty there. I can't getby Igor Sysoev - Nginx Mailing List - English
> Igor Sysoev <igor@...> writes: > > You may bypass cache using "Some-Secret-Header: 1" in a request and > > setting: > > proxy_no_cache $http_some_secret_header; > > The response may be cached. Hm, I think I might have been too hasty there. I can't get it to work with 0.7.67. If I send a request with a special header that goes to proxy_no_cache,by Ole Laursen - Nginx Mailing List - English
On Jun 17, 2010, at 11:24 AM, Ole Laursen wrote: > Hi! > > I'd like to force a refresh of a cache entry - is there any built-in way of > doing that? So the incoming request retrieves a new response from the back-end > and inserts it in the cache even if the previous entry was still valid? > > I have some pages that take > 1 s to generate. I'm caching those with > proxby Scott Smith - Nginx Mailing List - English
On Thu, Jun 17, 2010 at 06:24:44PM +0000, Ole Laursen wrote: > I'd like to force a refresh of a cache entry - is there any built-in way of > doing that? So the incoming request retrieves a new response from the back-end > and inserts it in the cache even if the previous entry was still valid? > > I have some pages that take > 1 s to generate. I'm caching those with > proxy_by Igor Sysoev - Nginx Mailing List - English
Hi! I'd like to force a refresh of a cache entry - is there any built-in way of doing that? So the incoming request retrieves a new response from the back-end and inserts it in the cache even if the previous entry was still valid? I have some pages that take > 1 s to generate. I'm caching those with proxy_cache with a timeout of a few minutes. Works fine, but unfortunately the first client tby Ole Laursen - Nginx Mailing List - English
Thank you for your reply. I mean everything is ok before I limited .jpg and .gif to be cached. So I didn't write all configurations here. Then, I give the full version before and current for you to help me. # Version Ok # I visited http://www.test.com/1.gif, # and purge it by visiting, http://www.test.com/purge/1.gif # It's ok, show: Successful purge ... #############################by piggy - Nginx Mailing List - English
Thanks. My English is not good and please forgive my bad grammer. I want only .jpg and .gif be cached, so I wrote: location ~ .*\.(jpg|gif)$ { proxy_cache cache1; proxy_cache_valid 200 304 15m; proxy_cache_key $host$uri$is_args$args; proxy_pass http://backend; } location / {by piggy - Nginx Mailing List - English
Why has this problem not be addressed? +1bump Happening to me to, 33M folder in cache when I set to 10Mby ALIZA.SAND - Nginx Mailing List - English
We are using NGINX .7.6 as a reverse proxy to an IIS webserver. We are trying to serve our images from a separate domain and IP that proxies to the same IIS root as the primary website. Both IP addresses are on the same subnet. The primary domain is on 67.111.111.1 and the image domain is on 67.111.111.12. The NGINX config related to these two sites is as follows - upstream primary_coby reference123 - Nginx Mailing List - English
2010/6/2 Igor Sysoev <igor@sysoev.ru>: > On Wed, Jun 02, 2010 at 08:11:53PM +0200, W-Mark Kubacki wrote: > >> In Nginx 0.8.38 (and later; on amd64) I've set this: >> proxy_cache_path /var/tmp/nginx/cache levels=1:2 >> keys_zone=my-cache:10m inactive=8h max_size=100m; >> >> Using that cache Nginx fills my harddrive with its cache, ignoring max_size. >by W-Mark Kubacki - Nginx Mailing List - English
On Wed, Jun 02, 2010 at 08:11:53PM +0200, W-Mark Kubacki wrote: > In Nginx 0.8.38 (and later; on amd64) I've set this: > proxy_cache_path /var/tmp/nginx/cache levels=1:2 > keys_zone=my-cache:10m inactive=8h max_size=100m; > > Using that cache Nginx fills my harddrive with its cache, ignoring max_size. > > Did somebody else observed that behaviour? Or, did I something wroby Igor Sysoev - Nginx Mailing List - English
Hello. In Nginx 0.8.38 (and later; on amd64) I've set this: proxy_cache_path /var/tmp/nginx/cache levels=1:2 keys_zone=my-cache:10m inactive=8h max_size=100m; Using that cache Nginx fills my harddrive with its cache, ignoring max_size. Did somebody else observed that behaviour? Or, did I something wrong? -- Thanks für your help in advance! Mark http://mark.ossdl.de/ ____________________by W-Mark Kubacki - Nginx Mailing List - English
On Wed, Jun 02, 2010 at 10:58:23AM -0400, sbehrens wrote: > Here are a few debug logs. Also I am testing this all on a local domain until I get everything working. I know that doesn't matter but just in-case you saw that in the config file. With this setup, if i navigate to my site with /login.html it loads, but if i navigate to the parent page it does not load. This is not debug log, sby Igor Sysoev - Nginx Mailing List - English
Here are a few debug logs. Also I am testing this all on a local domain until I get everything working. I know that doesn't matter but just in-case you saw that in the config file. With this setup, if i navigate to my site with /login.html it loads, but if i navigate to the parent page it does not load. error.log 2010/05/25 08:48:23 1533#0: bind() to 0.0.0.0:443 failed (98: Addressby sbehrens - Nginx Mailing List - English
I am trying to get the expires header to work on the cache module. I am limiting what content can be accessed and then would like to cache that content. It is working to only server the specified content but it is not serving the expires header. The backend server is not set to send and expires header and with the code below I get a an expiration not specified result. Here is that portion ofby discCIT - Nginx Mailing List - English
On Fri, May 28, 2010 at 04:47:47PM +0200, Thomas Delonge wrote: > So, I have a pretty basic need, but I can't figure out if it's even > possible, much less how to do it. > > I have a main page that anyone can see. Most of the rest of the > application can be seen only if logged in (hence, a "set cookie"). So I > was thinking, as long as they don't have a cookie set,by Igor Sysoev - Nginx Mailing List - English
So, I have a pretty basic need, but I can't figure out if it's even possible, much less how to do it. I have a main page that anyone can see. Most of the rest of the application can be seen only if logged in (hence, a "set cookie"). So I was thinking, as long as they don't have a cookie set, they can just see a cached version of nginx. I can get it caching with this: proxy_cacheby Thomas Delonge - Nginx Mailing List - English
![]() | ![]() | ![]() | ![]() |