Stack Exchange Network

Stack Exchange network consists of 175 Q&A communities including Stack Overflow, the largest, most trusted online community for developers to learn, share their knowledge, and build their careers.

Visit Stack Exchange

Questions tagged [cache]

a cache stores temporary data nearby so that it can be retrieved much more quickly than fetching it from the real backing store (disk, network), or recalculating some result all over again

-1
votes
0answers
15 views

Apache browser catching not working

I have this in my .htaccess file in the html folder. all modules are enabled but when i test my site it responds with this 5 minutes Type: Cache-Control. <filesMatch ".(ico|pdf|flv|jpg|jpeg|png|...
-1
votes
0answers
33 views

Discord permission denied error

Recently I've installed discord, the launch fails with: /snap/discord/87/bin/desktop-launch: line 20: usr/bin/getent: Permission denied mkdir: cannot create directory '/.cache': Permission denied ...
0
votes
1answer
26 views

Where are the Home Directory Contents / Settings Cached in Ubuntu 18.04?

On a Ubuntu 18.04 LTS machine, some settings related to the theme turned everything in the GUI (xfce) unreadable. I logged out, logged in as another user, deleted that previous user's directory and ...
0
votes
1answer
28 views

Use excess RAM as cache for Samba?

I have a older workstation with 32gb of RAM that I've repurposed as a server running Ubuntu Server 18.04. Since 32gb is way more than necessary given the limited use (mainly just file sharing and ...
0
votes
1answer
34 views

Does storage affect file caching in cp?

I read somewhere that cp uses file caching, but why does coping something the size of ~100MB result in a file cache of more than 100MB in ram? Does this also change if copying from HDD -> HDD,SSD -> ...
1
vote
2answers
123 views

Which is the right way to drop caches in Lubuntu?

I am currently using Lubuntu 18.04 I thought that theese are the 3 right code lines to drop cache: sync; echo 1 > /proc/sys/vm/drop_caches sync; echo 2 > /proc/sys/vm/drop_caches sync; echo ...
0
votes
0answers
15 views

programs / applications / binaries take a long time to start after boot

After booting, every program I try to run takes a long time to start, but works perfectly fine and responsively after it finally starts. For example: - Bash takes several seconds to display the first ...
0
votes
1answer
113 views

where are cached python packages stored in Ubuntu?

I thought to post this question in Stackoverflow, but I decided to post it here because it probably depends on the OS. When I install a python package using pip, at the first time it is downloaded ...
3
votes
1answer
85 views

Automating Gzip enabling and caching expiration in Apache

Instead me having to copy-paste the following codes to enable Gzip comperssing and cache expiration into my apache2.conf each time I create a new server-environment, is there a way to make them appear ...
0
votes
0answers
138 views

Where are stored cache, temporary files and all data in Brave Browser?

I am currently using Ubuntu 18.04 and Brave downloaded and installed as a snap. I suspect that in spite of I have set Brave configuration to erase cookies and history, etc, information is been held ...
0
votes
2answers
102 views

How to clear L1, 2 & 3 cache

What are the commands necessary to clear the L1, L2 and L3 cache in ubuntu? Can this be done utilising the shell or do I need a higher level language?
0
votes
1answer
573 views

gtk-update-icon-cache: The generated cache was invalid

i'm working on some editing icon theme and when i want to update the icon cache i got this error : gtk-update-icon-cache: The generated cache was invalid. WARNING: icon cache generation failed for /...
0
votes
0answers
78 views

How to drop temporary files inside Popcorn Time?

Using Popcorntime I usually find one issue, when I try to find a film or some series or after I've watched 2 films, Popcorntime inform me a system error telling me that I haven't memory enough to ...
0
votes
0answers
166 views

Nginx not serving Etag on content even with gzip diabled

We've got a Django site being served through Nginx and uwsgi on a Ubuntu 16.04 server, and I need to get caching working for an API endpoint that serves images and other content to authenticated users....
0
votes
1answer
51 views

Miss RAM, Total ram is bigger than Used ram + Free ram by 1.5 gb

I have two OS on my pc. I installed Ubuntu 18.04 alongside with Windows 10. Total ram is 3.94 gb. On Ubuntu my total ram is bigger than sum of free ram and used ram by 1,5 gb. And buff/cache is 1....
0
votes
1answer
249 views

How to delete all temp files and settings after uninstalling a software?

There is some error in spyder, hence I want to uninstall it and re-install with all the new settings. But when I reinstalled it, the settings were as previous. Also, it is not possible to manually ...
2
votes
1answer
258 views

Clear cache — “Operation not permitted” even with sudo

I'm running the following command to clear the cache: $ sync; sudo sh -c "echo 3 > /proc/sys/vm/drop_caches" sh: 1: cannot create /proc/sys/vm/drop_caches: Operation not permitted $ free ...
3
votes
1answer
339 views

Is there a way to cache snap packages?

I'm currently running squid-deb-proxy to cache apt-related downloads, I was wondering if the same could be done with snaps as well.
2
votes
1answer
106 views

Is there a way of limiting the Kernel's memory manager to use only 75% of memory?

OK, here the premise: Customer is a Windows shop and their Ubuntu VMs always use 100% of their allocated memory (as per design) so they show up in "Red" on the memory usage charts. As we don't have ...
2
votes
1answer
139 views

Improve initial use of `find` performance time

I'm working on a project to find all the .tar installation files on my system using the command: time find / -type f \( -name "*.tar" -o -name "*.tar.*" \) 2>/dev/null | wc The first time it runs ...
0
votes
0answers
102 views

increase temporary cache

I have a server at work that is running 119 cameras. I am needing to increase the temporary cache for said server. It is a HP DL380-G7 machine running Ubuntu 14.04.5 It has 72gb of RAM, 2x2.67ghz ...
2
votes
2answers
1k views

Failed to implement Nginx caching - connection refused

I'm having trouble getting my site to work after trying to implement Nginx caching. I use Ubuntu 16.04 (xenial), Nginx (1.10.3), PHP-FPM (7.0) and WordPress. Port 9000 (for php-fpm) is unfiltered by ...
1
vote
0answers
32 views
0
votes
1answer
793 views

How to auto clear cache on ubuntu 17.10?

The .cache folder(The folder with cache) is eating up my space most of the time and I always how to clear it. How do I get Ubuntu to automatically delete every cache file, including clearing the ...
1
vote
0answers
423 views

LVM cache does not give any performance enhancement

I'm using Ubuntu 16.04.4 and it's running on a VM. The disk that has the origin data has an I/O limit on 1MB/s and disk for cache has no limit. I have followed the guide at fibervillage to create ...
0
votes
0answers
33 views

Extremely slow programs start/files read

My Lubuntu 17.10 laptop read is extremely slow, even though the laptop itself is pretty good - Intel i5-3320M 2.60GHz, 8 GBs of RAM, Sandisk SSD. I've been experiencing this slowness since the fresh ...
0
votes
0answers
372 views

Can I increase cache size in Chrome? [duplicate]

I live in China, where VPNs are both a necessity and a headache, and an already overloaded internet is subject to unpredictable choking and surveillance by the government. All I want to be able to do ...
0
votes
0answers
100 views

Cache and sync a directory using RAM for faster access

Are there any apps or any ways to cache and sync a hard disk directory with RAM? Currently I'm making a fake disk and RAM RAID. Firstly, I make an .img file on hard disk: qemu-img create -f raw /...
-1
votes
1answer
696 views

Squid3 not installing on ubuntu 17

Hi i am new to ubuntu and hear from some one that installing squid on ubuntu will improve my client computers browsing experience. Since i am new to ubuntu and not known too much about this OS, i ...
1
vote
1answer
28 views

Script for keeping a cache directory a specific size and removing based on last accessed

I need a script that will check the size of a directory and if it's bigger than a specified size it will go through and delete x number of files until it's below the threshhold size again. And I would ...
0
votes
0answers
41 views

How to generate image thumbnails from network resource in advance?

After years of struggling with how to maintain my family photo collection, I have a solid process down. Our phones synchronize to the file server to a specific directory. Later, a script I wrote ...
0
votes
1answer
120 views

Installing libs faster

(previously) I'm newbie at Ubuntu, so I'm installing wine fallowing the instructions to build biarch (does not know very well what is) from https://wiki.winehq.org/BuildingBiarchWineOnUbuntu and ...
2
votes
2answers
3k views

Very high cache usage causing slowdown

I'm trying to identify the culprit of what's causing my personal computer to be extremely sluggish. The biggest suspect is memory. When the computer is running fast my cache memory looks normal. ...
0
votes
0answers
62 views

Deleted .cache folder, how to recover?

I ran the commands: sudo su & rm -R ~/.cache (or -r, I can't remember). And my system does not seem to be working. It is hard to log in successfully. Is there any hope of recovery?
0
votes
0answers
34 views

How to use rsnapshot with limited/no cache?

So I have RSnapshot configured but I have been running into issues, when I try to backup my (whole) system I run out of storage becuase RSnapshot is using it to cache. Is there a way for me to use a ...
0
votes
1answer
919 views

Why is my apache cache not working fine?

The OS of my server: Distributor ID: Ubuntu Description: Ubuntu 16.04.2 LTS Release: 16.04 Codename: xenial Apahce version:Apache/2.4.18 (Ubuntu) I'm so sorry that my poor English,I will try ...
0
votes
1answer
665 views

Package Manager Error; Permission denied while reading sources.list.d for Spotify Client

I'm new to Ubuntu (moved from Windows) and have a couple issues. This post is just about one, though. I tried installing spotify according to the website instructions but my wifi went down midway. I ...
1
vote
0answers
88 views

Move Boot To ZFS From SSD and Use SSD as ZFS Cache

I've got an SSD I want to use as cache for ZFS but it's the boot drive at present. The ZFS is set up to mirror two 3TB hard drives and the remaining SATA port (of the 4 on the motherboard) is for the ...
2
votes
0answers
66 views

Ubuntu 16.04 Access Memory Contents through /proc

I've recently upgraded to Ubuntu 16.04 from 12.04. In 12.04 we could access memory contents through file descriptors. Like if we want to access cached Firefox video, we could get its process id and ...
1
vote
1answer
159 views

How do I force Spotify's cache into RAM?

Spotify is writing enormous amounts of data onto my hard drive. As is expected from an app that downloads every song it plays and then deletes it after you close the app. All that reading and writing ...
3
votes
1answer
3k views

Determining the source of memory cache usage

I'm troubleshooting a machine with slow downs due to heavy swap usage after running for several days. The system has 16 GB of ram and should generally be fine, save that a large volume of the ram is ...
0
votes
1answer
76 views

Preload most-used piece of software [duplicate]

I tried an in-memory Linux distro and I was shocked by how fast it was. Is there is a way to always cache in memory some (user specified) software like the file explorer so that you can benefit of ...
0
votes
2answers
152 views

Very Odd DNS Reset Issue

Running Ubuntu 16.04 on an HP laptop. I have a very strange issue that is driving me nuts. When I'm connected to a very intermittent wifi access point sometimes I will get disconnected. When that ...
1
vote
1answer
413 views

/var/cache/apt dir filling with daily pkgcache.bin.xxxyyy files

I have a headless remote webcam server connected via the mobile telephone network. Each day at 0625 local time (GMT +12), a new file pkgcache.bin.xxxyyy (where xxxyyy are seemingly random letters/...
0
votes
1answer
41 views

Ways to free up extra space? [duplicate]

I'm running dangerously low on disk space (about 300mb left of my 16gb capacity) and I need to find out how I could get rid of things I don't need.
1
vote
1answer
5k views

Can I turn off PHP and HTML caching both within an Apache virtual host conf file?

I'm running a LAMP server on Ubuntu 16.04, typical LAMP setup. We have a family of websites running all controlled through virtual host files in the sites-available folder. Pretty aggressive caching ...
4
votes
3answers
94 views

unknown file in ~/.cache/wallpaper

In my ~/.cache/wallpaper directory there is a file: 0_5_1600_1200_792beab7550410d531e55f95b449f135 What is this? Should/can I delete it?
1
vote
2answers
103 views

How to remove hdd usage for small tasks?

This is really a problem for me. It makes me feel that other people use some kind of program to deal with it. Can you share your info? I came from Windows and after 4 months on ubuntu still don't know ...
1
vote
0answers
120 views

ARP Cache Not Caching Virtual Host IP

I'm using a web application known as IOU-Web. This application is used to execute CISCO IOS software in a browser. Here is what topology looks like And here is what interfaces config snap Now the ...
3
votes
1answer
1k views

Does “min_free_kbytes=256000” allow caching even when the free mem is at 250 MB?

I am actually plotting a memory graph which shows the free, cached, used and buffer memory on my VM, And i am taking these values using the sar -r command. My min_free_kbytes is 256000. Now, The ...