Questions tagged [cache]

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

1588 questions
4
votes
1 answer

Growing OS cache in RAM causing high system CPU usage

I'm having a weird issue with a server that I've never seen before. On a machine with ~30G of RAM with an application that takes ~10G (spread across hundreds of processes). Over time the OS starts to fill up the spare RAM with cache and buffers…
mpeters
  • 233
  • 2
  • 11
4
votes
1 answer

Does fsfreeze flush FS caches?

If I run fsfreeze on a mounted filesystem, it will not be possible to perform new "write" operations on that FS until it is unfrozen, and "ongoing" writes should "complete". Now, will fsfreeze also flush the FS caches, after it starts blocking new…
Bruno Reis
  • 315
  • 3
  • 11
4
votes
2 answers

How do I set nginx's cache files to file permissions 777?

I'm trying to write a process that invalidates the cache on nginx (and doesn't re-warm the cache). By default, nginx has 700 on its cache files. The closest setting that I could find was: proxy_store_access user:rw group:rw all:r; However, that…
Homer6
  • 221
  • 2
  • 7
4
votes
1 answer

How to configure Varnish not to cache a particular folder?

I would like to set up Varnish as reverse proxy cache for Apache. How can I setup Varnish so that it does not cache content from a particular folder (and its subfolders), let's say /public_html/shop/
OC2PS
  • 539
  • 2
  • 9
  • 21
4
votes
2 answers

File Specific cache http header for IIS 6

Is there a way to set cache related header for a specific file type in II6? We want to turn off cache on all our *.js and *.css file here, but IIS6 is forcing us to do a all or nothing approach.
c24chan
4
votes
0 answers

How do I clear cached SSL state data from schannel?

I'm trying to clear SSL state data for a normal TLS session (no client certs are involved) for Outlook when connecting to a SSL based CAS server. How do I clear the SSL state of SChannel? Does the following command completely clear that state? …
makerofthings7
  • 8,911
  • 34
  • 121
  • 197
4
votes
1 answer

Data syncing behavior for filesystems in Windows

In Linux mounting supports commit option, which is described in mount(8) man page as: commit=nrsec Sync all data and metadata every nrsec seconds. The default value is 5 seconds. Zero means default. In Windows write-back caching can…
przemoc
  • 141
  • 4
4
votes
4 answers

Statically mirroring a heavy trafficked site, CloudFlare as DNS

I run a fairly heavy trafficked website and due to some unfortunate incidents the machines that are in my cloud at Linode went down. And I have only a single Load Balancer machine exposed to the outside world (one IP). Also my site is a candidate…
Quintin Par
  • 4,373
  • 11
  • 49
  • 72
4
votes
3 answers

nginx not returning 304 on cached content

I'm using nginx as a reverse proxy with an Apache back-end handling some PHP files. The files return the right expiry headers and proxy_cache does a good job of caching them, but I've noticed that the cached content returns a 200 on every refresh,…
Don H
  • 147
  • 1
  • 6
4
votes
2 answers

Why is Varnish not caching?

I am troubleshooting the setup of Varnish 3.x on my Ubuntu server. I'm running Drupal 7 on two sites set up on the box, via named-based vhosts. Before trying to get Varnish to play nice with Drupal I'm trying to just get Varnish to a PNG from…
Justin
  • 915
  • 3
  • 13
  • 26
4
votes
0 answers

How can I measure disk cache churn on Linux?

Possible Duplicate: Is there a way to get Cache Hit/Miss ratios for block devices in Linux? I have a file server which serves out large (25GB-1TB+) files over the network from local storage. I'm trying to decide whether adding more RAM for the…
regularfry
  • 215
  • 2
  • 11
4
votes
2 answers

Nginx Reverse Proxy : post_action if proxy cache hit - Possbile?

We have recently found out about nginxes post_action. We were wondering it there was a way to use this directive if a proxy cache hit is made? The flow we were hoping on is as follows: 1) User request comes in 2) If cache HIT goto A / If cache MISS…
anonymous-one
  • 1,018
  • 7
  • 27
  • 43
4
votes
2 answers

Linux cached memory: Over 85% of cached memory and using swap

I read about Linux and cachd memory at linuxatemyram but there is something that doesn't make sense to me, if the server have even a low load, instead of freeing some cached memory it starts using swap, which makes the server slow.. Even now, when…
Kuf
  • 449
  • 2
  • 8
  • 25
4
votes
2 answers

Can varnish cache files without specific extension or residing in specific directory

I have a varnish installation to cache (MANY) images that my service serves. It is about 200 images of around 4k per second and varnish happily serves them according to the following rule: if (req.request == "GET" && req.url ~…
pataroulis
  • 143
  • 1
  • 2
  • 11
4
votes
7 answers

Scaling large file downloads?

We currently deliver large (1GB+) files via a single Apache server, but our Apache server is extremely disk-IO-bound and we need to scale. My first idea was to simply duplicate this Apache server, however our file library is too big to simply…
jme