Ubuntu :: How To Clear The System Cache Memory
Feb 15, 2011
Ubuntu 10.10
How do I clear the System cache memory.
For the past few days , I am facing problem in opening websites (firefox & Chrome).
I have to restart the laptop and then access the web sites.
View 3 Replies
ADVERTISEMENT
Jan 11, 2010
let me know how to clear cache memory ( RHEL 5.1 ) as it consumes almost 100% physical memory.
View 3 Replies
View Related
Aug 3, 2009
I just installed F9 and updated to F11 (fedora 11) and I updated the system because I couldn't get the media player working and then I installed all these packages for two days. I have tried yum clear cache and the rpm update. Here are some of the ones I tried:
rm -f /var/lib/rpm/__db*
yum update PackageKit
; yum clean all;
And this is the error:
Error Type: <type 'exceptions.TypeError'>
Error Value: 'NoneType' object is unsubscriptable
File : /usr/share/PackageKit/helpers/yum/yumBackend.py, line 2280, in <module>
main()
File : /usr/share/PackageKit/helpers/yum/yumBackend.py, line 2277, in main
backend.dispatcher(sys.argv[1:])
File : /usr/lib/python2.5/site-packages/packagekit/backend.py, line 600, in dispatcher
self.dispatch_command(args[0], args[1:])
File : /usr/lib/python2.5/site-packages/packagekit/backend.py, line 508, in dispatch_command self.get_updates(filters)
File : /usr/share/PackageKit/helpers/yum/yumBackend.py, line 1743, in get_updates self._check_init()
File : /usr/share/PackageKit/helpers/yum/yumBackend.py, line 1965, in _check_init self.yumbase.repos.doSetup()
File : /usr/lib/python2.5/site-packages/yum/repos.py, line 71, in doSetup self.ayum.plugins.run('postreposetup&apos
File : /usr/lib/python2.5/site-packages/yum/plugins.py, line 178, in run func(conduitcls(self, self.base, conf, **kwargs))
File : /usr/lib/yum-plugins/rpm-warm-cache.py, line 32, in postreposetup_hook
cmd = commands[0]
View 1 Replies
View Related
Oct 22, 2010
since arch has started using python3, bleachbit is broken, so i am looking for a system cleaner to replace it. i need something that will overwrite file contents and clear firefox cache + the all the normal functions of a system cleaner.
View 8 Replies
View Related
Jul 23, 2010
I've been advised to "clear the java cache", and to do so under Windows, one would open the java control panel. Of course, I'm using OpenJDK, and not Java's java.
Can anyone tell me how I would clear the java cache?
View 1 Replies
View Related
Aug 22, 2010
Ubuntu 10.4 64-bit.I am almost certainly using the wrong term here, but if I knew for sure what I was looking for I probably would have managed to google it.In a fit of minor insanity, I used ffmpeg to convert all my video files I've impulse downloaded over the last decade or so to mp4, mostly because Easytag will happily tag them an assist in reorganizing them, but of course some videos didn't convert, either properly or at all due to issues with the original file.
But - every 108 -123 (Going by the filecount in my trash when it happens; I've wondered if the actual number is 127 or 128 but haven't gotten that definitive yet.) videos or so, totem dies, and so does every other video player I can use, VLC, mplayer, et al. For awhile I rebooted, then I figured out just logging out/in cleared the error, but I've yet to narrow down what exactly is causing it.Since it crosses all players I can only assume that there is some kind of cache that is getting filled up that is cleared when you logout, but after doing some digging it's nothing cleared by anything I've found like bitbleach.
View 6 Replies
View Related
Aug 25, 2010
Is that possible that SHM shared memory is counted as cache memory on Linux with kernel 2.6.18?If find it really odd since this memory is not file backed, but I have a piece of code that loads data using shm_open+mmap, and it generates an amount of cache memory in /proc/meminfo that corresponds exactly to the amount of shared memory (I load that data from a file but I am using posix_fadvise(fd,0,0,POSIX_FADV_DONTNEED) to ensure this file is not cached and I made sure that it is working as expected). As far as I know SHM memory was not tagged as cache memory with kernel 2.6.9.If it is the case it is really unfortunate since normally cache memory can be considered to be part of the "available" memory since it can be flushed promptly but this is clearly not the case with SHM memory... Is there an easy way to get the total amount of used SHM memory on a system?
View 4 Replies
View Related
Jan 18, 2011
A friend has a website. the site has been moved to another server. I am inside of a private network.
Problem: when trying to reach his website, my browser keeps connecting to the old server which is on another continent
Windows machines have no problem with this. They connect to the new server without issues.
NOW what is hard to understand: even the PING utility is pinging the old server.
I tried these and none works:
- computer restart
- Clear private data in Iceweasel (has ntg to do with PING, but tried...)
- installed nscd and restarted the service
- modified /etc/resolv.conf to point to another nameserver than modified it back
At the same computer, if I reboot and load Windows, the browser has no problem connecting to the new server.
View 8 Replies
View Related
Apr 12, 2010
I can't find how to clear ABRT cache (other than to forcibly 'rm -rf /var/cache/abrt/'). How does one clear out the pile (which has grown to 1.2 GB here)?
View 3 Replies
View Related
Sep 1, 2010
I'm getting a weird situation where even though I updated an image in a folder for a website in apache, it's still showing the old image. And yes, I checked it in multiple browsers and on diff. computers. (Apache is in a virtualbox OS)
Here's what I've done:
1. Checked it in firefox on the host, cleared cache, reloaded
2. Restarted apache
3. Checked it in konqueror for first time, still showing old version
4. Checked it in the actual file folder and it's correct there
5. Checked it for first time on virtual machine's OS in its firefox, and it shows the wrong/old image
View 9 Replies
View Related
Jan 16, 2010
I just wanna clear database(postgresql) cache so how to do that..and also adempiere cache...
View 1 Replies
View Related
Jun 23, 2010
I just noticed that my hard drive is filling up with unnecessary files. what is the command to clean it up?
I've had to do this in Mandriva a while ago on my other pc. I'm running opensuse 11.2 KDE 64 bit
View 5 Replies
View Related
Feb 11, 2010
I am using ubuntu and gnome-do and have in my gnome-do some bad shortcuts ( they even have a grey X icon ) that i cant figure out how to delete from the list. I thought gnome do has some cache but its been a while and they are still there :(
how to clear them from the list ?
Update: I deleted the ~/local/share/gnome-do folder and still no success
View 3 Replies
View Related
Aug 21, 2010
How to reduce the cached swap from the server?
[root@CMS-UAT ~]# free -m
total used free shared buffers cached
Mem: 7985 4146 3839 0 3 2300
-/+ buffers/cache: 1842 6143
Swap: 12479 4721 7758
[root@CMS-UAT ~]#
My server is showing swap usage of 4.7 GB.
View 2 Replies
View Related
Feb 4, 2010
I have a dedicated server and I am having email issues etc (seemingly) because the /var directory is 97% full
I would like to know if it is safe to clear it and how to clear it (assuming it will not disrupt/kill server services to do so).
I have a 'Matrix' control panel so i can view the storage etc but it does not have an way of clearing the /Var directory.
I have Putty Access to root but do not know much about command line access.
I found a few threads but the information is not clear to me as there seems to be an assumption of (basic?) knowledge I don't yet have.
My linux support guru that usually does this kind of thing for me is away and not contactable and my server is grinding to a halt and unable to store/send email.
I have only a very basic understanding of command line but really need to get this sorted ASAP.
Is it possible and SAFE to delete files via FTP from the /var/cache/apt/archives?
View 12 Replies
View Related
Aug 4, 2011
In a performance test, I want to bypass the influence of cache of linux system (including page cache/inode cache and so on). I have tried O_DIRECT flag, but it's turned out that direct I/O is still "enjoy" the effect of some cache.Is there a thorough way to close the effect of system cache?
View 2 Replies
View Related
Jan 10, 2010
My cache is full, and I've tried doing "apt-get clean" to no avail. I also can't find any apt.conf file in my system.Here is a screenshot of the error message that pops up when I open Synaptic Package Manager:PS: I'm pretty new to Linux, especially Debian; most of my Unix-like OS experience is with Mac OS X. My Musix installation is in a VMWare machine.
View 1 Replies
View Related
Nov 9, 2009
is there any way to scheduled cache clear auomatically instead of manual in squid.
View 1 Replies
View Related
Nov 30, 2010
My synaptic stops responding when I try to clear cache of old deb install packages
View 3 Replies
View Related
Mar 6, 2011
I installed squid cache on my ubuntu server 10.10 and it is work fine but i want to know how to make it cache all files like .exe .mp3 .avi ....etc. and the other thing i want to know is how to make my client take the files from the cache in the full speed. since am using mikrotik system to use pppoe for clients and i match it with my ubuntu squid
View 1 Replies
View Related
Nov 18, 2009
I am having a Oracle server installed on Linux server. I want to clear the buffers after a certain time interval. I use the following command for the same.
echo 3 > /proc/sys/vm/drop_caches
Can I have a script which will execute the above script after certain time interval OR a script which will execute the above command when certain memory size is reached.
View 1 Replies
View Related
Jan 24, 2010
I read somewhere that i can clean cache memory with this comand:
Code:
david@lap:~$ sudo echo 3 > /proc/sys/vm/drop_caches
bash: /proc/sys/vm/drop_caches: Permission denied
The problem is that permission is denied as you see...
View 4 Replies
View Related
Feb 4, 2010
Any one have an idea How to clear apache cache without restarting apache server.
View 5 Replies
View Related
Mar 12, 2011
I've installed my debian sid about one month ago (first xfce, next gnome) but noticed that it's kind of really slow. The upgrades take ages, launching (and using) firefox takes so much time,... In comparaison to my ubuntu, archlinux (on the same computer) or previous installation of debian there is clearly a problem somewhere.Today I tried to do a "top" sorted by mem usage : 3.5% xulrunner-stub, 2.1% dropbox, 1.4% aptitude (doing upgrade), 1.4% clementine,... nothing terriblebut still I've 2.7Gb or RAM used (more than 50%)
$ free -m
total used free shared buffers cached
Mem: 3967 26851282 0 79 1938
[code]....
View 4 Replies
View Related
Aug 11, 2010
i am running Ubuntu Lucid x64 as a fileserver that shares its files via SFTP, NFS and Samba. Currently the hard disks are configured to go to standby if they are not needed. This works perfectly as long as no one browses the shares or my HTPC is running: That one repeatedly looks through the shares for new music or movies. In other words my problem is that the disks are spinning up a lot more often than they should have to. Additionally the spin-up time delays the response time while browsing. Since the machine has a lot of unused RAM i want to tell the kernel that it should keep the directory structure in memory. That way the disks would not need to spin up every time someone browses through the directories.
View 2 Replies
View Related
May 27, 2011
It seems that something is causing the memory cache to be cleared when the screensaver launches. Then when moving the mouse or hitting a key to stop the screensaver it takes forever for the already launched and minimized applications to redisplay. I am using the ubuntu classic desktop.
Now time to rant.
Natty has so many bugs it is impossible to work around them all. This memory issue is one of the worst. The dead zone caused by the static application switcher, and the application switcher plugins for compiz (and probably any override redirect window) is another big one. There is not a single window decorator for compiz that works right. I have encountered two packages with binaries that won't even run (emerald and xpdf). The nvidia drivers seem to have issues (this may be related to this memory clearing issue).
Without a doubt more bugs than any other release of Ubuntu to date. I have worked around most of them by recompiling, and etc., but this is a real pain.
This is all aside from the idiotic switch to unity, when it is clearly not ready for release. The general direction of Ubuntu is really starting to look bad. By the way, what is up with the decision to uglify the desktop with gray scale icons (I know this is an old one, but I haven't really ranted on Ubuntu yet).
Looks like I will have to revert to Maverick.
View 4 Replies
View Related
Nov 3, 2010
(Ubuntu Linux server, 64-bits)I was troubleshooting a problem with a file (~3.0 GB) which I had just downloaded, but it was failing the integrity test, when I discovered something really unusual.First this is the MD5 of the file after download, which didn't match the expected value:
~% md5sum media.iso
5d74facb904cc1765a468354908a8f34 media.iso
Some time passes, nothing should have changed the file during this time, but when I went to check the file again:
~% md5sum media.iso
a5b97c5016afb39bd67ccfc3fa6ca59e media.iso
This was really unexpected. Since I have a lot of RAM, I suspected this was the effect of caching and something was going awry with it. I decided to retry with the whole file from disk, for my surprise:
~% sudo sysctl -w vm.drop_caches=3 # This linux command invalidates
vm.drop_caches = 3 # everything in the memory cache.
~% md5sum media.iso
2992aa6270f6e1de9154730ed3beedc1 media.iso
I redid it and now it seems to stay consistent, although this still isn't the value I was expecting. Certainly, the contents in memory cache were different from the contents on disk.This is the big problem.To fix the download, I created a torrent on the source machine and opened it in the target machine. Five 1MB chunks out of ~3.0GB failed integrity check. I used the torrent to fix these file chunks and how the file integrity is ok.The problem now is to determine where the data got out-of-sync.
I tested the memory with memtest86+, all but the bit fading test. I was expecting to see some failing memory module, but there wasn't anything. Everything is ok.Filesystem is Ext4, over LVM2, over a 3-disk RAID5 array.Ext4 is considered stable, and if data were inconsistent between disks, mdadm would have warned. But there is nothing in the logs. S.M.A.R.T. error logs are clean, the disks are new (have less than 30 days of "power-on-hours").I'm looking for information about any data-loss bugs in my current kernel (2.6.35), but there doesn't seem to be anything, as far as I looked.what else I could check, or where exactly could be the defect/bug?It is a Ubuntu 10.10 64-bit, Core i7 930, 6 GB non-ECC RAM.
Update: I confirmed that the files are being correctly written to the disk, the pages are being altered after they are read from disk, while in memory. I did a lot more memtests (I left it doing bit fade test overnight),and still nothing. All memory modules seem ok.Some more tests:
~% md5sum media.iso
cc8bcf1ce67ff7704eadc2222650c087 media.iso
~% cp media.iso tmp[code]....(direcat is a version of cat that reads with O_DIRECT, that is, bypassing page cache)There is a clear pattern: it always happens to the 2nd byte in a 16-byte alignment. In that byte, almost always the bit 4 (LSB) flips to one, but there was one instance where bit 2 flipped to zero.
View 1 Replies
View Related
Jun 18, 2010
What it's the difference between buff(ered) and cache portions of memory?
Code:
View 3 Replies
View Related
Jun 18, 2010
I have a Linux server running CentOS with 2GB RAM. I am searching in google and also in this forum but could not find any luck yet. I am searching the way that we can receive notification by system to a specified email when the memory reached a specified value we defined.
Is there any tool or sort of shell script we set via crontab every minute to check that?
View 2 Replies
View Related
Oct 23, 2009
What programs can be used to test and find faulty memory (RAM, Video adapters, cache)?
View 2 Replies
View Related