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

Filter by
Sorted by
Tagged with
0
votes
0answers
15 views

Load cache into RAM

Im just started to use Ubuntu and I notice that there is 1GB of cache in use. I also use SDD and I wanna to expand it life. Loaded System monitor shows that there is 1GB of cache, guessin, on SDD and ...
1
vote
0answers
15 views

Apt cache master / slave auto negotiation on a local network

I have 10s of systems on a school network running Ubuntu 18. These systems all regularly update and the impact on the network can be significant. I've been experimenting with apt-cacher-ng to ...
2
votes
0answers
157 views

Why does Ubuntu 20.04 on ZFS destroy custom datasets at boot-time zpool import of the zpool.cache?

After creating the targets of a personal data lake, and filling them with plenty of terabytes through rsync, I was quite surprised at the next reboot, that Ubuntu's ZFS didn't like the datasets, and ...
0
votes
0answers
22 views

New user, Software & Updates GUI hangs INDEF

so my Ubuntu 20.04 is hanging indefinitely when I am done with "software & Updates" I go to closeout and it asks if i want to reload/refresh or something. 2 options. I choose reload.... and it ...
1
vote
1answer
50 views

systemd-resolved keeps multiple copies of cache?

I put systemd-resolved into debug mode trying to troubleshoot high number of DNS queries from this machine (tcfe01). It seems systemd-resolved is keeping multiple copies of cache, one for global scope ...
1
vote
0answers
77 views

How to clean cache in snap and flatpak?

Is there an equivalent of sudo apt clean in snap and flatpak? That might free up a considerable amount of space. Also, is there any equivalent of sudo apt autoremove, or is it taken care of ...
1
vote
0answers
76 views

Ultra high page cache usage potentially triggering kswapd0?

I have been running into a serious problem with my ubunutu 18.04 server. I started noticing that there were serious slowdowns in the server and when I checked, CPU usage was all maxed to 100%. I began ...
1
vote
1answer
46 views

A reposotory for downgrade

I'm working on Ubuntu 18.04 and I need to Downgrade some packages, but I cannot find them on /var/cache/apt/archives anymore, so I'm looking for some external Ubuntu 18.04 compliant repository able to ...
0
votes
1answer
22 views

APT “/var/cache/apt/archives” Cache Configuration

I need to can configure the APT "/var/cache/apt/archives" Cache. Example: Set "Maximum Folder Cache Size" Get/Set "How much time, have to be passed, to remove an older version of a DEB file"."
1
vote
1answer
92 views

How can I free some space in /var/cache/archives/

I have a dual boot laptop,in my first partition windows are installed and in the second one I have installed Ubuntu. when I try to boot into Ubuntu, I face a message saying that: started user ...
2
votes
1answer
72 views

“Asking for cache data failed” and “Assuming drive cache: write through” messages after that Ubuntu boot failed

Today I was using my (old) Compaq laptop where Lubuntu is regularly installed on a partition. Suddenly, it stopped to respond to any inputs, so I (wrongly?) decided to restart the system. After the ...
0
votes
0answers
76 views

How to use sudo safely

So, I'm new to Linux. I've been installing programs on VirtualBox. I was able to install youtube_dl using: sudo pip install --upgrade youtube_dl. However, I got this error: The directory '/home/john/....
0
votes
1answer
97 views

Squid as cache proxy

The only internet connection I have is through mobile data, although I have an unlimited use in the browsers for the cache, to optimize the bandwidth and not have to be downloading the css and js ...
2
votes
0answers
58 views

Change kio cache directory

I was wondering if there's a way to change the location of the cache directory used by kio. Currently when I go through my GoPro videos, they cache to ~/.cache/kioexec/krun/ which is on my SSD. ...
4
votes
1answer
472 views

Is there a way to set the (max) amount buffer / cache an Ubuntu server reserves from RAM?

I've recently upgraded my server's RAM to 16 GB. The server itself doesn't require much RAM but Ubuntu seems to reserve quite a bit for caching. Doing free - m results in: total ...
2
votes
1answer
464 views

What uses and fills up ~/.cache/kioexec/krun/?

I've just noticed some files there that were created a long time ago, they look like copies of my files already present on filesystem elsewhere. What process or processes use this folder and for what ...
0
votes
0answers
48 views

Does darktable-generate-cache program make cache only in the default location?

darktable-generate-cache generates missing thumnails when your computer is in idle. That is what the manual says. How to change the cache folder where the darktable-generate-cache generates? I need ...
1
vote
0answers
44 views

How to analyze output in gem5 simulation

How can we check the data sharing and parallelism for a benchmark in gem5 simulator. I have run for 4 cores with 4 threads with 2 level cache where size of L1=4MB and L2=4MB respectively. I was told ...
4
votes
0answers
158 views

Is there anything in ~/.cache that is not really cache?

My machine has lots of memory, so I moved ~/.cache/google-chrome into /tmp, which is a tmpfs RAM disk. This makes the browser run faster and reduces SSD usage. When I reboot, it all goes away, but it ...
1
vote
1answer
985 views

How would I place the Chromium cache on tmpfs (ram)?

Some background: Today I have realized that my system SSD is almost full (90% full) for the /home dir. I have realized that the main culprit is (are) the 77 chromium profiles that I use on my ...
1
vote
1answer
839 views

Should I use an SSD as cache for Ubuntu Server 18.04 [closed]

I have an 128 GB SSD that I'm going to use as a boot drive on Ubuntu Server 18.04. The server will be mostly used as a media and file server. I was wondering if I should use the remaining space on ...
0
votes
1answer
324 views

How to determine meaning of ras-mc-ctl error messages?

ras-mc-ctl --errors is reporting results like: 661 2019-08-20 08:42:29 -0400 error: corrected filtering (some unreported errors in same region) Generic CACHE Level-3 Generic Error, mcg mcgstatus=0, ...
0
votes
0answers
45 views

How to clear out the info downloaded via apt-get update?

For testing purposes, to ensure that the automation I am running will work on a "fresh" server, how can I clear all info downloaded via apt-get update? apt-get clean does not appear to do this. ...
0
votes
0answers
53 views

Nginx proxy serving non-existent proxy cache files

I make custom program for reverse proxy cache invalidation. And I found unexpected behavior. My nginx.conf scheme: server, port 443 (proxy_cache) server, port 8088 (backend,pagespeed optimisation, ...
13
votes
1answer
1k views

Is there official documentation on directories like ~/.config and ~/.cache?

I've see these directories being used by many applications and am now considering using them for my app. How do I know this is an officially supported folder and not just a flavor of the month ...
1
vote
0answers
45 views

Caching server for snaps

A lot of packages have been added to the snaps store lately and it's great, but I work on an environment with very restricted bandwidth and everyone on the team usually benefit of other's downloaded ...
2
votes
0answers
584 views

Hyper-V dynamic memory using all memory with cache

Having trouble with Ubuntu server 18.04 and dynamic memory. I have some Debian 9 servers and ubuntu servers running on Hyper-V. The Debian servers perform as expected with dynamic memory and jump ...
1
vote
0answers
77 views

Error while running sudo apt-get update from terminal

I'm unable to perform apt update because it throws me following error. Reading package lists... Error! W: Target Packages (partner/binary-amd64/Packages) is configured multiple times in /etc/apt/...
0
votes
1answer
21 views

Adding additional static Ip adresses

I tried to make my own Steam Cache like it is shown in https://youtu.be/gk1eKPRLaJA?t=411 but even after I added all IP adresses they did not show up when executing ifconfig. My questions are now: 1. ...
0
votes
0answers
472 views

Setup in-memory cache for SSD on Ubuntu 18.04

I have Ubuntu 18.04 installed on my notebook with 128G SSD. I found articles about SSD-cache for HDD usage. Does any reason exist to setup in-memory cache for SSD? Will I have any performance bonus in ...
0
votes
1answer
687 views

How to clear Java and Flash cache in Ubuntu 16.04?

I'd like to know how to clear Java and Flash cache in Ubuntu 16.04 using CLI.
1
vote
2answers
1k views

Is it safe to remove files/folders from .cache? [duplicate]

My .cache folder is occupying over 6GB of space. It is safe to delete it? The contents of my .cache are: bazel dconf fontconfig jedi matplotlib motd.legal-displayed pip
0
votes
1answer
47 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
1k 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
76 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 -> ...
2
votes
2answers
4k 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 ...
1
vote
1answer
4k 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
161 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 ...
1
vote
1answer
2k 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
472 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?
1
vote
1answer
4k 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
173 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
1answer
95 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
599 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
885 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 ...
7
votes
2answers
655 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
174 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
675 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
265 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
2 3 4 5 6