Tagged Questions

A location or process for storing of transitory or temporary data in order to improve application or system performance.

learn more… | top users | synonyms

0
votes
0answers
18 views

varnish is caching logged in users pages and serving those pages

I set logged_in cookie when user login. If logged_in cookie exits then varnish will not cache the request. This is my vcl_recv sub vcl_recv { if (req.backend.healthy) { set req.grace = ...
1
vote
3answers
39 views

Would the data on the RAID Card Cache and Drive Cache be lost when a kernel panic happens?

Is a BBU necessary when you have A+B power? Would the data on the RAID Card Cache and Drive Cache be lost when a kernel panic happens and you are forced to do a cold reset?
3
votes
0answers
31 views

Slab usage extremely high?

On a Centos 7 server with 32GB RAM memory I am running a few programs namely MySQL, Apache2, PHP. Recently I wanted to verify the amount of ram left as I was planning on installing a few more ...
-1
votes
0answers
12 views

P in setting & cache in my VPS [on hold]

2 weeks ago my "jessie debian virtual server" suddenly mix up and I am can't SSH to it and my server completely hang up. when I was launch console to it, I see all of my software information & ...
1
vote
0answers
14 views

counter for availability of dedicated Azure cache

The following link have a list of Azure caching perf counters : http://msdn.microsoft.com/en-us/library/azure/hh914135.aspx#PerfCountersc2 we are interested in, to get the utilization of the cache ...
1
vote
0answers
35 views

Transparent data caching in multi-site environment

I need an advice on choice of the right technology for my problem. I have geographically distributed multi-site environment where there is one main site and a number of remote sites. Main site ...
0
votes
0answers
3 views

How to detect whether its modified data or not which is coming from django app model resource in nginx+gunicorn? [closed]

I have a site hosted using nginx+gunicorn+django and have APIs written in tastypie which is taking data from mysql models. So, I want to detect where the data is changed when I fetch through API. ...
0
votes
0answers
25 views

website has problems for one person but not for another

My partner and I run 2 websites that I can access fine in all 3 major browsers. He unfortunately can not. He gets "too many redirects" error in Chrome and 404 error in IE but only for the one website. ...
0
votes
0answers
25 views

NGINX: proxy_cache altering headers

I have been having trouble building a proxy between my server and s3 to cache requests. I finally boiled it down to a single point of failure... http{ proxy_cache_path /home/cache levels=1:2 ...
0
votes
1answer
19 views

NGINX and Node.js Caching returning the same results on all subfolders

We use NGINX to proxy a connection to a Node.js instance running on the same server. Without caching turned on for that location, at one level (i.e. /v1/streams/) it returns a 2MB json file. If an ...
0
votes
0answers
12 views

Nginx proxy cache invalidating request to s3

I have set up a proxy from my application server to a private s3 bucket to cache requests. I was having some trouble with it where s3 was rejecting my download requests (403 forbidden) and after some ...
0
votes
1answer
65 views

How to set Nginx ignore Pragma: no-cache

I'm setting up a Nginx server for a cache proxy server. I've noticed that cache not working when this header is in request: Pragma: no-cache Without this header, cache working ok. Can I make ...
0
votes
1answer
39 views

Nginx map cache rules does not work

I have created map rules for Nginx for avoid cache. However it does not works nocache_map.conf (included in http section. map $http_x_requested_with $nocache { default 0; ...
0
votes
0answers
33 views

Caching Docker (Cloudfront) images with Squid

I have a Squid server setup with ssl-bump caching SSL resources used by Docker but I'm having issues trying to get it to cache requests to Cloudfront, for example: 1415056176.733 190419 172.17.0.40 ...
0
votes
0answers
20 views

First steps in distributed cache and application

Background: We provide a client with a single server to which we provide a data dashboard site (ASP.NET/IIS7) feeding multiple MSSQL databases (OS: Windows Server 2012 / SQL: MSSQL 2008R2). One of the ...
0
votes
1answer
53 views

Nginx not processing proxy hide header and proxy ignore headers

I have trouble trying to make Nginx ignore and hide some headers from a proxied server. I want Nginx to hide and ignore "Cache Control" and "Server" headers but it didn't work, I don't know why. My ...
-1
votes
3answers
154 views

How to flush DNS resolver cache on Linux (and FreeBSD)

I am admin for several Linux and FreeBSD servers and here is a problem I have: The servers run a tool that does a lot of DNS queries every minute for the entire network. When it does a query, the ...
2
votes
2answers
46 views

Solaris 10 ZFS ARC Maxed Out and CPU's Overloaded

We've been running ZFS for a couple years now on Solaris 10 on Oracle M5000 Enterprise server with 32 CPU cores and 256GB of memory. We are running a database/application on this server which appears ...
-1
votes
1answer
31 views

Varnish with PHP FastCGI / Change FastCGI server port

I want to run Magento with Varnish Cache. So far my PHP runs as FastCGI. I am now trying to set up Varnish. And have a probably pretty stupid question. So as I understand Varnish will listen on port ...
4
votes
1answer
181 views

Is this a case of a stale ISP DNS cache or did I fudge something up?

I am currently in the process of transferring a legacy website (from a legacy hosting service provider) to a modern solution. Due to my context-specific requirements (which include financial ...
1
vote
0answers
15 views

Does OPcache work when PHP is running in CGI mode?

Does PHP 5.5s OPcache work with PHP running in CGI mode? Or does that even make sense, since it forks and kills PHP for each request?
-1
votes
1answer
41 views

Debug Nginx caching

I want to determine when I am getting cache hits or misses. Preferably, this would be a header, like X-Cache: HIT or X-Cache: MISS How can I do this with Nginx (a reverse proxy for the upstream ...
-1
votes
1answer
28 views

Does Nginx respect maxage from upstream server?

I see the proxy_cache_valid directive, but that confuses me. In HTTP, doesn't the upstream server specify this with Cache-Control and maxage? How do I get Nginx's cache to use maxage ?
1
vote
0answers
26 views

Enabling APC cache takes down website

I have a VPS running on centos 5 with 2 GB ram. I run a IP.Board forum on that server. Recently my server was hacked and I had to format the disk and start again. I was using APC cache before and it ...
0
votes
0answers
21 views

Unexplained hostname on IIS on Test Server

The test environment is IIS/Windows Server 2008/ColdFusion10 My development environment is Apache2/Ubuntu14/ColdFusion10 Other developer uses ONLY IP Address to test the hosted website on the ...
1
vote
1answer
76 views

Nginx not caching data

I have a REST API behind an nginx proxy. Proxying works fine, however I am unable to cache any responses. Any help would be much appreciated: Nginx config: worker_processes 10; error_log ...
2
votes
2answers
85 views

Why does Apache send 200 OK while Last-modified matches If-modified-since?

I'm trying to have a basic behavior regarding my caching strategy: files should be cached, and revalidated with server each time. So I would like Apache to send a 304 back. Here is the dialog that ...
0
votes
1answer
48 views

Memory cache is full not sure what is using it and if it is normal [duplicate]

The situation is that amazon bots are download ~600k images off my server. My web app deployed on apache server is extremely slow probably because ram usage is 100% some statistics: ...
0
votes
1answer
89 views

Varnish cache with NGINX files not updating WordPress

It seems that Varnish is missing or not validating cache properly. When I try and purge my cache, I get 200 OK Cache successfully cleared, but my page does not update. I am simply making HTML changes ...
1
vote
0answers
19 views

Memcached Pool - Outtage causes increased lag in response time

I have multiple cache servers which are added to a virtual pool at the PHP layer via the Memcached::addServers() api. During fault tolerance testing I noticed that taking one of the memcached servers ...
1
vote
1answer
38 views

Varnish does not purge my requests sent by Plone

I have varnish 3.0.5 up and running, connecting to a Plone 4 backend. My requests are cached, but not purged reliably, actually only after expiration of the ttl. plone.app.caching is the addon, which ...
0
votes
1answer
405 views

why adding Expire-Header to static files in nginX does not work

I have a single server block where my site resides in. Inside of that block I've added a location block as below: server { ... location ~* \.(?:ico|css|js|gif|jpe?g|png)$ { expires 30d; ...
0
votes
0answers
23 views

IIS static content - how can I cache just on file modified date?

How Can I get IIS 7.5 to cache on the files modified date only for static content files (e.g .html). It seems the only options that are available is no-cache, or expire at arbitrary times. I need ...
0
votes
2answers
124 views

How do we find out what is causing high cache usage on our server?

Every Friday from about 22:00 our server starts using large amounts of cache and then dies about two hours later. Please look at the following Cacti graph. We tried hunting processes which use ...
0
votes
1answer
17 views

What does 'cache-control' do for a page, not a static file? [closed]

When I set a value for 'cache-control' for a page, does my browser cache the whole page just like js or css? I've set 'Cache-Control:max-age=2592000, public' and monitored apache access logs. It ...
1
vote
0answers
30 views

Solr 4.5, timeouts on cold cache, how to keep it warm?

(not sure if that is more StackOverflow kind of question so pardon me if it is) There is an fairly large index of about 70M documents roughly 30Gb in size running on Solr 4.5. While it is fine with ...
0
votes
0answers
21 views

How to cache particular file in folder using .htaccess

i tried google and found one solution at 'http://webmasters.stackexchange.com/questions/24881/cache-a-particular-image-using-htaccess' but it cache all the file of folder, i want to cache only ...
0
votes
1answer
47 views

nginx: how to cache negative FastCGI responses only

Need some collective brainstorming :). There is a heavy PHP application (e.g. Magento) and each time a visitor hits a non-existent page (or there is a problem with a particular part of the ...
2
votes
1answer
75 views

Memcached cachesize 512M or 1G for VPS 2G? [closed]

I just started to use memcached on a VPS with 2Go of RAM. I set the cache size at 512 Mb, but I am wondering if I can go for 1024Mb. On the VPS there are: a local business website with very few ...
0
votes
1answer
52 views

djbdns/dbndns dnscache query ipv6-only nameservers?

I have (attempted to) set up dnscache on Ubuntu 14.04 (Trusty) to do dual stack for servicing requests AND querying authoritative name servers. To be clear, I'm using the dbndns package, which has ...
1
vote
1answer
71 views

IIS Output Cache vs ASP.NET Output Cache

Quote from iis.net: The ASP.NET page output cache is separate from the IIS 7 output cache. In applications that use the Integrated ASP.NET mode, the ASP.NET page output cache can be used ...
-2
votes
1answer
141 views

Nginx CSS Caching [duplicate]

I've been trying to fix this for a while, but I haven't been able to find a solution. Some notes about my setup: I am not using VirtualBox I am running Nginx 1.4.6 Ubuntu The CSS's cache will not ...
1
vote
2answers
138 views

Wrong DNS answer with CNAME and A Record at the same time

We had a customer which has set a CNAME Record for his domain. Somehow he managed it to set an A Record too, which should be not possible and is forbidden by DNS. But the result was: $ dig ...
0
votes
0answers
29 views

IIS cache headers for selective file types

I have an application that serves .js, .css and .gif, and bunch others (.xls, .htm,.pdf....etc) file types. My requirement is to allow browser caching of .js, .css and .gif files but not allow any ...
0
votes
0answers
21 views

Rail's FileStore with Linux Disk Caching or RAMdisk?

I have a Ruby on Rails application that stores it's catched files on the filesystem (Rails file-system cache). I was thinking about changing to memcached Store, but a short test shows it isn't a big ...
0
votes
0answers
23 views

How to set varnish cache purge time

I want to set the varnish cache purge time to 1 hour. I was not able to find in .vcl files. Is it set via some system variables or needs to set somewhere else.
1
vote
2answers
86 views

After ntpdate update for ubuntu server I always receive the old php file in nginx

The problem with nginX caching happened when I used ntpdate ntp.ubuntu.com to sync my server clock. Now when I request the path http://www.example.com/project/create I receive the old PHP file that ...
1
vote
1answer
78 views

What happens to a random bit error in the cache on an Intel CPU?

I have a system with ECC RAM and a Xeon E3 CPU. My understanding is that ECC circuits on the RAM will detect corruption from random bit errors in the RAM chips. But what happens to random bit errors ...
0
votes
0answers
103 views

CouchBase Client Fails to Cache Object less than 20mb. Time Out Error

I am caching my serialized POJO s(4mb-8mb size objects) concurrently into Couchbase server with CouchBase client (couchbase-client-1.4.3). for(upto 20 itertarions){ new Thread().start().. ...
0
votes
1answer
233 views

How to clear cache in centos remote server? [duplicate]

I had been trying to clear cache in a remote server and I got these commands. First login as root user and execute: [root@server ~]# sync [root@server ~]# echo 3 > /proc/sys/vm/drop_caches bash: ...