2022 Developer Survey is open! Take survey.

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
0 answers
52 views

Any issues with disabling local DNS Cache on Ubuntu Server 18.04 or 20.04 or 22.04

My Ubuntu 18.04 server is used to create websites and initiate SSL's via an Admin panel. The issue is that when I initiate the SSL I like to have the server check the DNS record, but since the client ...
user avatar
  • 101
1 vote
1 answer
1k views

how to clear DNS cache in 22.04?

How is the DNS cache cleared in 22.04? The method that worked in 20.04: systemd-resolve --flush-caches no longer works.
user avatar
1 vote
0 answers
45 views

encrypted ubuntu

I am new to zfs. I read, and sucessfully tested, that encrypted zfs is working. This is a professional laptop so full encryption is required. Current (20.04) setup is separate / and /home, both luks ...
user avatar
0 votes
0 answers
32 views

Write cache / delay as long as possible

I am trying to setup Linux to delay the writes as much as possible (minutes). To those wondering why: this is Chia plotting. It is very write intensive done in SSD/NVMe, if the system crashes you have ...
user avatar
  • 101
0 votes
1 answer
248 views

drop_cache Permissions Denied

I was following https://www.tecmint.com/clear-ram-memory-cache-buffer-and-swap-space-on-linux/ and I realized that I had no permissions for /proc/sys/vm/drop_caches. I even used sudo su and it still ...
user avatar
1 vote
0 answers
40 views

drop_caches hangs for 1-2 min and maxes cpu before completing

If I have been logged into the Ubuntu 18.04 graphical console for a while and run either: echo 2 >| /proc/sys/vm/drop_caches echo 3 >| /proc/sys/vm/drop_caches the process takes almost 2 ...
user avatar
  • 11
0 votes
0 answers
48 views

Logout/exit from 'su <otheruser> takes > 1 minute

If I 'su root' or 'su <other_user>' from my user login account and then logout (or exit), it takes about 1 minute for the logout to complete and return me to my user shell. During that minute ...
user avatar
  • 11
1 vote
0 answers
73 views

KDE KIO caches all network media before viewing

What is kioexec? Why does it run every time I try and open a picture or video? It appears to copy the entire file to ~/.cache before viewing. Same happens w/ VLC and other media applications as well....
user avatar
  • 11
0 votes
0 answers
40 views

How to install Signal on Ubuntu [duplicate]

Whenever I try to install Signal on my Ubuntu, I get the following cache error message: <Malformed entry 1 in list file /etc/apt/sources.list.d/signal-xenial.list ([option] not assignment)> How ...
user avatar
0 votes
1 answer
279 views

Ubuntu 20.04 Error: Opening the Cache

I have been getting this error for months: Error: Opening the cache(E: can not open /var/lib/apt/lists/ E: The package lists or status file could not be parsed or opened This usually means your ...
user avatar
  • 1
1 vote
0 answers
53 views

ubuntu error: opening the cache, permissions denied

I get this error every day on my ubuntu screen: I am a new user and unable to resolve this. Could any one tell me what is it and how to solve it?
user avatar
0 votes
0 answers
33 views

Force refresh of file cache in start menu

My disk was in need of a long overdue clean-up. I deleted around 70GB of files and folders from my disk using Dolphin (the file manager). When I now open the start menu, I still find a lot of cached ...
user avatar
  • 1
0 votes
0 answers
103 views

Big Ram Usage When Starting Up - Ubuntu 20.04

I have a problem with big memory usage on Ubuntu 20.04 when starting up. I have 16 gb of RAM, and it is used 7 gb when starting up. Then I came across this SO thread and found out that this RAM usage ...
user avatar
-3 votes
1 answer
238 views

How to clear cache? [closed]

Result of after entering free in terminal ronay@MackbookPro:~$ free total used free shared buff/cache available Mem: 3893824 2748748 120040 ...
user avatar
0 votes
1 answer
279 views

Running cachefilesd cache on ramdisk (tmpfs) for PXE NFS boot

I am running ubuntu 20.04 LTS (kernel 5.4.0-81-generic) from PXE and I wish to add a local cache. Because I don't want to have a partition on all my devices for caching, I wish to use a ramdisk for ...
user avatar
  • 683
2 votes
0 answers
117 views

Allow disk cache to use as much of RAM as possible

I recently learned that Ubuntu uses disk cache / filesystem cache (size is displayed in system monitor). I couldn't see any documentation that says there is a default limit on how much RAM can be used ...
user avatar
0 votes
1 answer
40 views

Appliction software updater has closed unexpectedly

Error in opening the cache, How can i fix this issue getting this from long time application updater closed unexpectedly, when clicking on updates Please Help!, not able to solve this
user avatar
  • 1
0 votes
1 answer
39 views

Please i can not solve these problems? related to updates

Error while refreshing cache problems
user avatar
2 votes
3 answers
30k views

See terminal text. 'Waiting for cache lock' error. How to fix? I'm on Ubuntu 21.04

advait@advait-Bravo-15-A4DDR:~$ sudo apt install ubuntu-restricted-extras Waiting for cache lock: Could not get lock /var/lib/dpkg/lock-frontend. It is held by process 43843 (synaptic) Waiting ...
user avatar
0 votes
0 answers
19 views

How can I understand why an app is draining computer resources?

I’ve being using a VirtualBox Ubuntu 18.04 VM on a a MacBook Pro (MacOS Big Sur - 11.4) without any perfomance problem. Lately I’ve installed an application (Rabix composer), which gave me no problem ...
user avatar
11 votes
8 answers
5k views

Cached Memory Takes all the memory

I've switched to Ubuntu just a couple of months ago. Some days ago, I found out that the system is storing cache in memory which is occupying a lot of space and although I'm getting the benefit of ...
user avatar
1 vote
0 answers
154 views

Why the system unexpectedly reboot with ^@ in log

When reboot happens (last reboot) The system reboot at Jun 19, 13:14: reboot system boot 5.8.0-55-generic Sat Jun 19 13:41 still running What does the /var/log/kern.log say There are many ...
user avatar
  • 101
0 votes
1 answer
196 views

Error opening the cache

The error message is: E:Unable to parse package file /var/lib/apt/lists/ro.archive.ubuntu.com_ubuntu_dists_groovy-updates_In release(1),E:The package lists or status file could not be parsed or opened....
user avatar
4 votes
2 answers
4k views

Does anyone know if VS-Code Cache's data anywhere other than `~/.cache`?

Everywhere I look on google, I find out how to clear the VS-Code cache data on windows. To be fair, even though it is an open source project, its being built from Microsoft's dollar, and by MS ...
user avatar
  • 151
1 vote
1 answer
71 views

What is RAM Cache?

I noticed this once I installed Ubuntu 20.10. There is 2.1GiB of memory used as "Cache". I know the CPU, GPU and hard disk's have a cache. I know of swap memory, but this is the first time ...
user avatar
  • 694
0 votes
0 answers
248 views

why is my memory cache so big?

right now I have only a browser tab running on my laptop, but when I open system monitor, in memory section, It shows: 3.2 GiB (23.2%) of 13.7 Cache 6.1 GiB why is my Cache so big? is it usual?, and I ...
user avatar
  • 322
3 votes
1 answer
9k views

Can we clear memory cache in Ubuntu

In my Ubuntu 20.04 I see 8.7 GB Memory cache in system monitor. Can I clear this, what is the best way to do so?
user avatar
  • 133
0 votes
1 answer
226 views

Composer Installation Problem

Cannot create cache directory /home/rukon/.cache/composer/repo/https---repo.packagist.org/, or directory is not writable. Proceeding without cache Cannot create cache directory /home/rukon/.cache/...
user avatar
1 vote
1 answer
286 views

How do you make a SSD cache for a Raid 5 HDD array Ubuntu NAS?

I'm trying to make a NAS in Ubuntu as I like the OS more, and I can install it on a partition of a drive, as opposed to FreeNAS or any dedicated NAS operating systems. However, one thing I liked about ...
user avatar
0 votes
0 answers
49 views

How to cache a specific folder?

I have a folder that has a things in it that get frequently accessed. Some things get accessed a lot, and some don't. How can I set it up so that if something gets accessed enough times (i.e. 3 times) ...
user avatar
1 vote
1 answer
926 views

Progress bar on copying files to USB

On the Nautilus file manager, when copying any file to a flash drive, the progress bar will immediately go to 100%, signifying the transfer has completed. The issue is that the files have only been ...
user avatar
  • 41
1 vote
1 answer
2k views

Clear dnsmasq cache without restarting the service

I have cache enabled in my dnsmasq, because it is fast. In some situations (for example, with VPN off), dnsmasq caches wrong results. I want a quick way to clean the cache (when I connect to the VPN ...
user avatar
  • 768
1 vote
1 answer
2k views

How to disable disk cache of NVMe SSD

I know hdparm -W0 /dev/sata-ssd can disable disk cache for SATA SSD, but this does not work on my NVMe SSD (i.e., Samsung 980 pro). Maybe some option of nvme can do it, but I failed to find it. How ...
user avatar
  • 101
0 votes
1 answer
600 views

How to get apt-cacher-ng to download AND cache packages from Apt HTTPS repositories?

Typically Apt packages are served over bare HTTP and the downloaded contents are verified with GPG signatures. This makes it easy for apt-cacher-ng to proxy the HTTP connections and add the downloaded ...
user avatar
0 votes
0 answers
85 views

Is there something similar of windows "SetProcessWorkingSetSize" for linux?

I run into a memory leak on google chrome when running my script as it sends clicks very fast. I created an example code, in how to reproduce the leak on my post on StackOverflow: https://...
user avatar
  • 101
1 vote
0 answers
85 views

Cache music streaming (Spotify) Location

I am characterizing traffic from streaming services, specifically Spotify. I notice that a song is streamed once, and then, if the song is replayed, only few traffic is generated. Hence, that song is ...
user avatar
3 votes
0 answers
870 views

LVM Slow flush of cached dirty blocks

I have a system with two 4TB SATA disks and two 1TB NVME disks setup in two mirrors using mdadm. Ubuntu 20.04 installed with one boot on md0 and the rest (md1) is added to vg0 with a root lv with ext4....
user avatar
0 votes
0 answers
95 views

Minimizing SWAP usage, but Cache is forcing Ubuntu to use SWAP

I have a 128 GB SSD (with DRAM cache) and 1 TB HDD. I have installed Ubuntu 20.04 in the SSD (/, /home, swap [8GB] in SSD and data in HDD). My PC has 8 GB RAM. I have reduced swappiness to 20 from 60 ...
user avatar
0 votes
2 answers
253 views

Does ubuntu ever clear ~/.cache automatically?

I was wondering whether by default there's anything in place that clears the .cache folder. To my understanding .cache is similar to /tmp, at least I am seeing it being used like that. Meaning that ...
user avatar
  • 143
17 votes
2 answers
7k views

Reset MS Teams completely

I used Microsoft Teams (Linux) few months back with an organizational account. Now I want to use it with some other account. I'm currently in logged out state since I don't have access to the org ...
user avatar
3 votes
1 answer
6k views

How can I see systemd-resolve dns cache?

Using sudo systemd-resolve --statistics let me see the current dns cache statistics, for example : Cache Current Cache Size: 68 Cache Hits: 412 Cache Misses:...
user avatar
  • 55
0 votes
1 answer
715 views

Permission for all commands, but unable to clear cache

I am trying to clear the cache on my laptop running: Operating System: Ubuntu 20.04 LTS Kernel: Linux 5.4.0-40-generic However when I put in these commands this is the output: $ sudo sync; ...
user avatar
0 votes
1 answer
515 views

Can I change my Bcache settings on the fly?

I made a fresh install of ubuntu 20.04 on my desktop, and then, from within the installation, created a bcache device to put my /home sudo make-bcache -C /dev/sdb4 -B /dev/sda1 Where /dev/sdb is the ...
user avatar
  • 697
1 vote
0 answers
141 views

How to set a permanent buffer size for file transfers

I have read other posts that address the problem of excessive RAM usage for buffering, during huge file transfers. I know about nocache etc. What I'd like to ask is whether there's a way to actually ...
user avatar
  • 5,474
1 vote
0 answers
26 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 ...
user avatar
  • 111
2 votes
0 answers
1k 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 ...
user avatar
3 votes
1 answer
469 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 ...
user avatar
  • 61
5 votes
1 answer
3k views

How to clean cache and orphan dependencies in snap and flatpak?

Is there an equivalent of sudo apt clean in snap and flatpak (to delete the cached installation files)? That might free up a considerable amount of space. Also, is there any equivalent of sudo apt ...
user avatar
2 votes
0 answers
551 views

Ultra high page cache usage potentially triggering kswapd0? [duplicate]

I have been running into a serious problem with my Ubuntu 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 ...
user avatar
  • 129
1 vote
1 answer
70 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 ...
user avatar
  • 380

1
2 3 4 5 6