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
306
questions
0
votes
0
answers
25
views
Unable to retrieve cache information using standard commands (lscpu, cat /proc/cpuinfo, etc.) on Raspberry Pi; seeking assistance to resolve the issue
I'm encountering difficulties retrieving cache information on my Raspberry Pi using standard commands like lscpu, cat /proc/cpuinfo, and lstopo. Despite attempting these commands with elevated ...
0
votes
0
answers
42
views
Why do cp, and nocache cp, clog up and slow down/freeze after 2-4 TB, but rsync is effective indefinitely?
Is there a setting I'm missing in CP and nocache CP that frees up resources after each file?
I looked around, and read that cp and nocache cp are MUCH faster, and use more RAM instead of CPU, but not ...
-1
votes
1
answer
61
views
yahoo sites at ubuntu hang
I have issues accessing yahoo sites, such as mail.yahoo.com om Ubuntu 22, with latest updates. Tested with latest Firefox (122, no ad-ons) and Opera. Some times pages load but most of the time the ...
0
votes
0
answers
42
views
How to resolve "broken cache" when installing shiny-server with gdebi
I am trying to install this shiny-server software (https://posit.co/download/shiny-server/) on Ubuntu 22.04.02.
I receive an installation error and can't see any of the details due to this "...
0
votes
0
answers
34
views
Optimize system for rapidly loading large volumes of data
I'm running a complex Matlab program on my Ubuntu computer. It needs to load several .MAT files, each of which is several GB on disk and larger in RAM. I know it is possible to run this program - a ...
0
votes
1
answer
192
views
kmv/qemu vm guests and host are connected through shared memory to collect and cache data beteween them
0
The configuration: host: Ubuntu:20.04 OS, guest: Ubuntu20.04 OS. The two files use the 9p file system for interworking.
The current progress is as follows: the mmap function in C language is used to ...
0
votes
0
answers
439
views
How to clear all cache data of google-chrome (installed on lubuntu 22.04) by commands executed by a bash script?
Initially I have written this question for a system with lubuntu 18.04 installed and for that distribution the question is off-topic.
But I have to solve exactly the same problem for the distribution ...
1
vote
1
answer
894
views
How to Increase RAM cache/buffer on ubuntu 22.04 desktop
i have 32GB Ram I noticed my Cache is usually around 5gb or less. The most of my ram is wasting. in my understanding RAM's Cache is to speed up system and performance.
so I was wondering are there ...
-2
votes
1
answer
310
views
Is it a good practice to restart VPS server everyday?
I am building an app server using Ubuntu 20.04 and will be serving thousands of clients with potentially a million http messages everyday.
I wanted to ask if it is a good practice to restart my server ...
1
vote
0
answers
350
views
How to configure common folder as pip cache for across all users?
Situation:
I have multiple users with their home folders under /home.
All of them are added to a group, e.g., pipcache, with read-write permissions on a common folder (e.g., /home/pipcache).
Yet, I'...
0
votes
1
answer
1k
views
' Unknown Error: '<class 'KeyError'>' ("the cache has no package named 'linux-headers-5.19.0-41-generic:amd64'")'
I am relatively new to Ubuntu, and have just installed version 20.04 onto a 120GB solid state drive. I have just gotten this error and noticed that neither my WiFi nor my Ethernet are working, I have ...
-2
votes
1
answer
2k
views
How to Download entire Ubuntu Software Repository in to the cache for easy offline use when no internet connection
How to fill apt-cache of all programs.
Download the entire Ubuntu Software center into apt cache for offline use.
sudo apt-get install --download-only *
Deb files.
Size Don't Matter
Binary 64x deb ...
1
vote
1
answer
164
views
How to recover data from drives in bcache configuration
I'm trying to recover the data in hard drives that was set up in raid and bcache.
I'm using ubuntu 22.04 and just migrate the two hard drives in raid 1 to another computer.
I have no longer the ssd ...
0
votes
1
answer
90
views
Can I blacklist a website from DNS cache Ubuntu 22.04
I'm having trouble with a specific university related site on Ubuntu 22.04. I have to flush DNS cache every time I want to access it as it seems that the main link and the link with a path point to ...
2
votes
1
answer
7k
views
Cannot boot. TPM Interrupt not working
I have installed Ubuntu 22.04 on my Acer C720 Chromebook. When I cleared the cache, I tried to boot Ubuntu with Ctrl+Alt+L, which resulted in this screen:
[ 0.260118] tpm tpm0: [Firmware Bug]: TPM ...
2
votes
0
answers
1k
views
Use a file on SSD as cache for an HDD
I'm using Ubuntu Server 22.04. The server has an HDD in it, and I'd like to be able to speed up disk access for that HDD. My system boots from an SSD, so my idea is that maybe I can use space on the ...
2
votes
0
answers
262
views
Ubuntu 20.04, Memory cache exhausts immediately upon booting
I'm not a supernerd, but I know some stuff, and I'm pretty sure my system is not supposed to work like this.
I recently reinstalled Ubuntu 20.04 from the bones up on my home-built desktop because I ...
0
votes
0
answers
1k
views
Unable to Boot - Stuck on "[sda] Assuming drive cache: write through"
How do I boot to Ubuntu desktop?
I am running Ubuntu 18.04 on VMWare Workstation. It was running fine until I had to expand my hard drive. Then, it showed the "SMBus Host Controller not enabled!&...
1
vote
0
answers
363
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 ...
24
votes
2
answers
47k
views
how to clear DNS cache in 22.04? [duplicate]
How is the DNS cache cleared in 22.04?
The method that worked in 20.04:
systemd-resolve --flush-caches
no longer works.
1
vote
0
answers
115
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 ...
2
votes
0
answers
517
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 ...
0
votes
1
answer
988
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 ...
1
vote
0
answers
141
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 ...
1
vote
0
answers
136
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....
0
votes
0
answers
41
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 ...
0
votes
1
answer
3k
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 ...
1
vote
0
answers
239
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?
-3
votes
1
answer
2k
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 ...
0
votes
1
answer
779
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 ...
2
votes
0
answers
986
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 ...
-1
votes
1
answer
154
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
-1
votes
1
answer
66
views
Please i can not solve these problems? related to updates
Error while refreshing cache problems
6
votes
3
answers
117k
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 ...
15
votes
7
answers
22k
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 ...
1
vote
0
answers
539
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 ...
0
votes
1
answer
396
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....
7
votes
2
answers
21k
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 ...
1
vote
1
answer
201
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 ...
1
vote
0
answers
1k
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 ...
7
votes
2
answers
47k
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?
0
votes
1
answer
727
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/...
1
vote
1
answer
2k
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 ...
0
votes
0
answers
64
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) ...
6
votes
1
answer
3k
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 ...
3
votes
1
answer
13k
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 ...
1
vote
1
answer
5k
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 ...
0
votes
1
answer
2k
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 ...
0
votes
0
answers
229
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://...
1
vote
0
answers
135
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 ...