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

Why is my nginx reverse-proxy not caching anything?

I'm following this sample configuration from the Nginx docx. Reverse-proxying works fine except that it isn't caching results. Here is my nginx.conf: user http http; worker_processes 1; events { worker_connections 1024; } http { …
usermynut
  • 53
  • 1
  • 3
4
votes
2 answers

LVM Raid 1 + SSD Caching

I have three disks: /dev/sda slow hdd /dev/sdb slow hdd /dev/sdc fast ssd /dev/vg0 volume group consisting /dev/sd{a,b,c} Each logical volume (lv) should be raid1 mirrored and ssd cached. With the following command, I can create a mirrored raid1…
user1091344
  • 279
  • 4
  • 9
4
votes
2 answers

Force browser to empty DNS cache

So I migrated a mediawiki site to a new Server. The old one is still up but the database is locked and I merge the new Content with rsync and mysqldump every 15 min. So we can read the content from the old IP. Now I changed the A record of the…
Finn
  • 219
  • 2
  • 15
4
votes
1 answer

Two separate PHP-FPM sites seem to be using the same code?

I have two websites with two codebases, yet when I change one codebase, I see the change in both. I have two checkouts of the same website. They are set up to use PHP-FPM through Apache2 with FastCGI. The checkouts are…
Sander Marechal
  • 289
  • 4
  • 11
4
votes
0 answers

slabtop command doesn't work

I've inherited Sys Admin duties on webserver and I'm a bit of out my element, but learning as I go. My newest issue is all the of the ram has been gobbled up and I'm not sure where it has gone. free -m gives me total used …
4
votes
3 answers

What's a good resource for learning about scaling PHP applications?

I know PHP fairly well. But one aspect of PHP which I am fairly green in is caching, loading balancing etc. A lot of companies hiring PHP developers are looking for these high-use background, which I've never really developed an enterprise…
qodeninja
  • 2,753
  • 10
  • 32
  • 33
4
votes
1 answer

Problems on mounted NFS: 'No such file or directory' but files and directories exist

So we are having a medium-sized NFS4 storage server running CentOS 6.6 exporting an NFS share /storageDat (which is the NFS root, with two RAID volumes bound in there: ./dat1 and ./dat2); Export options: rw,sync,no_wdelay,no_subtree_check,fsid=0 We…
Mone
  • 41
  • 1
  • 3
4
votes
1 answer

NGINX cache error: conflicts with already declared size 0 in /etc/nginx/nginx.conf

My current nginx for drupal config gives following error. Somehow, I am not able to enable nginx cache. Tried different config but overtime i get the same error. Can anyone help please? nginx: [emerg] the size 5242880 of shared memory zone "MYAPP"…
Tapash
  • 153
  • 1
  • 6
4
votes
1 answer

Restricting cache-storage for IIS server-side webrequests

We have several old websites running classic asp that invokes a series of HTTP-request to external systems (in this case, geo-ip-lookup). This is just a single request, resulting in a country-code as a response (2 bytes), but since a webrequest on a…
jishi
  • 868
  • 2
  • 11
  • 25
4
votes
0 answers

400 bad request from a proxy cache

So we have an nginx proxy cache that is used to maintain uptime even if npm goes down. On occasion this server (noticeably once every few months) starts returning 400 bad request for every response for some specific package. I figured it was a…
Parris
  • 329
  • 3
  • 16
4
votes
0 answers

LSA SID cache keeps old entry for renamed domain user - why?

I have a question about LSA SID cache on a domain member server. Recently I run into the issue when some users after their name was changed in AD has difficulties accessing application I support, and they also have old user name shown on SharePoint…
Mikhail
  • 1,295
  • 3
  • 19
  • 35
4
votes
2 answers

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 constraints), I made the decision to backup and replicate…
dvijayak
  • 43
  • 3
4
votes
2 answers

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 @ns1.your-server.de tippspiel-bl1.unternehmen-frische.de…
Janning
  • 1,421
  • 2
  • 21
  • 38
4
votes
2 answers

Caching DNS server returns invalid ip address for external lookups

I'm trying to resolve a DNS issue and am running short of ideas. Google doesn't seem to be helping, either. When I use my local caching name server to resolve external host names, it always returns 192.168.1.251. There are some examples below. Where…
4
votes
2 answers

Mirror/Cache Websites on a Mobile Server

I have been asked to determine the feasibility of mirroring or caching websites on a mobile server on a train. Unfortunately, this has been dropped on me at the last minute and I have to come up with an answer in a day or two, and I don't have much…
John Judd
  • 173
  • 6