General :: Deleting Content In Swap Space And Emptying Cache Using Terminal
Jul 21, 2011
Wish a script which would delete cache content and remove additional files which have been downloaded via the internet and saved voluntarily by the user and files any thing other than those used by the OS in linux.Need a command which could make the execution of the above script possible before the shut down command is passed.
View 1 Replies
ADVERTISEMENT
Sep 25, 2009
This message comes up when I try to upgrade. The upgrade needs a total of 400M free space on disk '/'. Please free at least an additional 394M of disk space on '/'. Empty your trash and remove temporary packages of former installations using 'sudo apt-get clean'.
View 2 Replies
View Related
Dec 7, 2010
Lucid on an Acer Travelmate800.Can anyone tell me why I have 0k for swap space? I allocated swap which I can see in my Disk Utility's 'volumes' display.
View 5 Replies
View Related
Mar 28, 2010
Can i download and cache the content using Squid, i have a website running on IIS with HTTP-Authentication. i want to cache all content of website.
View 1 Replies
View Related
Dec 22, 2009
After running photorec I went from having ~30 gb of free space to having 0 bytes of free space. I have deleted all the results of photorec and various other large files and removed them from trash but it still has not freed up any space. Also, my firefox no longer has back/forward functionality which I'm sure would be fixed by a reinstall but seeing as I have 0 space, I can't really do that. Any thoughts?
View 7 Replies
View Related
Oct 13, 2009
a friend of mine recently installed Ubuntu in his Laptop however is running really slow. It's Dell 1520 so I don't think the computer is that slow. I think what the problem is that he doesn't have a swap space. ok, I could use GPARTED to resize the HD and create SWAP space but how can I tell the system to permanently use that space?
View 14 Replies
View Related
Jul 6, 2011
I have a rel 5.6 system that we just added more memory to.
1. What is the correct or best way to increase swap?
2. Can I remove the swap space later on?
3. How do you remove it when done?
Our rootvg only has 8G available to it and I want to be sure if i allocate anything out to it I can reclaim when done without having to rebuild the system.
We have to do a lot of data moves so we allocated extra memory to this VM system and now we need to increase swap. I did see several articles in google but they describe using a new swap partition, a swap file and increasing an existing swap space. I am still not sure what is the best way to go knowing this is a temp situation.
[Code]...
View 7 Replies
View Related
Apr 6, 2010
After checking my tmp folder I found out some strange hidden and unhidden folders of programs that I have not used or downloaded. After removing each one using sudo rm -rf some folders insist on re-appearing, and after a reboot all folders are back.
Moreover, trying netstat -l, found that many of these files are in listening state.
How can I permanently erase them?
View 3 Replies
View Related
Jun 10, 2010
How can I figure out which programs are using up swap space? My current memory usage is 2.9GiB out of 3.0GiB used(and I though I had 4GB, I need to check into that) and 1.3Gib of swap used.
View 1 Replies
View Related
Sep 12, 2010
When we want to setup a linux system, there is a common a suggestion like set the swap space as twice as big than your physical memory, I want to know why do we need this and how is this suggestion come from?
View 4 Replies
View Related
Jun 21, 2011
I have a linux server top reports about 9GB of swap used:But I cannot figure where's it use swap, some google results said that top - O commad follow by p will show swap usage by process. But as shown in the above image, taking a brief sum of the SWAP column shows that > 10GB of swap is used, so where does the 9GB figure for swap usage come from? Top reports that about 96492kb of ram is used by buffers. Is there anything I can do to utilize this, instead of using swap?
View 1 Replies
View Related
Sep 27, 2010
Code...
but 'top' shows 2GB of swap...
top - 18:38:42 up 4:22, 5 users, load average: 0.54, 0.61, 0.64
Tasks: 369 total, 1 running, 368 sleeping, 0 stopped, 0 zombie
Cpu(s): 7.4%us, 1.4%sy, 0.0%ni, 86.9%id, 3.4%wa, 0.0%hi, 0.9%si, 0.0%st
Mem: 33265832k total, 24859468k used, 8406364k free, 379892k buffers
Swap: 2031608k total, 0k used, 2031608k free, 2030328k cached
Why is that?
View 6 Replies
View Related
Jul 21, 2010
Closest analogy I can compare what I want to, is like the `sync` command, which writes out all stuff in the disk buffers, freeing the buffers.Instead of disk buffers, I want to 'clean out' my RAM and SWAP of any/all junk that's accumulated in there over the time my PC has been up. I've long wondered about this, but never asked, though I recall searching around several times..When I first boot it cold and log in, the memory usage bar on my desktop is near zero, and the swap is empty. But after a week or 2 or 3 or more of uptime, and with Firefox always running with a dozen tabs or so at any given time, I end up with all the memory full or 'filled with cached stuff', and the swap space is filled to capacity.Curiousity: I blame Firefox for leaking memory, but even if that's still the case today (historically it was) can this all be blamed on Firefox? Or what-all causes this, besides Firefox- just..Everything?
Here's current stats:
Code:
sasha@reactor: uptime
21:21:42 up 30 days, 10:07, 3 users, load average: 0.02, 0.05, 0.01
sasha@reactor: free
total used free shared buffers cached
[code]...
So, 3.8 of 4 Gib of RAM is occupied, and the 1 Gib swap space is jammed full 100%. This must slow things down to some degree, yes? I mean, the kernel does have to keep track of this, right?Of course closing all the applications doesn't make a difference (not an appreciable one anyhow) and the only way I have found to start fresh is to reboot.
View 14 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
May 9, 2010
While booting Linux it takes ages for 'enabling swap space'
I have allocated swap space twice that of the RAM.
Is there a way to fix it? What should I do to avoid this in the future installs?
View 9 Replies
View Related
Apr 6, 2010
clarify me with ulimit output and memory limit?
ulimit -a output:
core file size (blocks, -c) unlimited
data seg size (kbytes, -d) 1572864
[code]...
View 2 Replies
View Related
Feb 17, 2010
I'm trying opensuse 11.2 KDE out again after a bad experience last year. I'm installing it over Fedora 12 and when I try to install I get this error: Failure occured during following action: Deleting logical volume /dev/VolGroup/lv swap system error 4015 What does this mean? I've had other problems with with distro in the past but never this one. what is needed to enable the installer to install?
View 2 Replies
View Related
Feb 12, 2010
the method for freeing up space by deleting old kernels is made to sound very simple: go into Synaptic, select the outdated kernels, mark for complete removal, and Apply. Easy. But . . . when I mark a particular kernel for removal, Synaptic also wants to remove a lot of other things, some of which do not bear version numbers and seem generic. I am, to put it mildly, very leery of just telling it to go ahead, lest I end up losing things I should have kept and having a dead or at least crippled box.
Say, for example, that I mark for Complete Removal the line linux-image-2.6.22-15-generic; when I go to Apply that one deletion, I get a laundry list of to-die files that includes:
linux-generic
linux-image-generic
linux-restricted-modules-generic
linux-restricted-modules-2.6.24-27-generic
linux-ubuntu-modules-2.6.24-27-generic
linux-restricted-modules-2.6.22-15-generic
linux-ubuntu-modules-2.6.22-15-generic,........
View 9 Replies
View Related
Feb 10, 2011
I am using Ubuntu 10.10 and 10.04 on two different computers.I have the same problem with both .... when I delete a file on my hard drive or a removable drive I dont get the space back even after I empty the trash.The file is gone and deleted but its as if its only hidden from me seeing it and still sitting on my drive.For example when I have files on a thumb drive and I delete them and try and put new files on there it will tell me I dont have enough disk space even though all files have been deleted, the only way for me to get the disk space back is to format the drive.I have now realized I have the same problem with my hard drives, I delete files but I dont get any space back, eventually I will have a full hard drive but no files on there
View 9 Replies
View Related
May 29, 2011
There is one directory in /oracle partition in test server which i use to delete that dir after copying in the same location with diff file/dir name. Like this i did so many times.evrytime i m deleting but the /oracle partition space is reducing by 1.5 or 2gb after deleting dirs of 80gb.Directory size is 80GB and partition size 400GB.plz let me knw with steps, is it requires to do De-fragmentation?
View 1 Replies
View Related
Oct 25, 2010
I have connected an another hard disk to my computer and mounted its drives. when I delete the files from second hard disk it is not increasing the free space. only 1.3 GB is left on that drive of second hard disk.
View 5 Replies
View Related
Oct 5, 2010
I am using find to search for .tgz files modified more than 7 days ago and delete them.find /directory/ -iname backup*.tgz -daystart -mtime +7 -exec rm -rf {} My problem is that find will go through the content of tarball as well and list all content. I want to only search main tarball and delete it if older than 7 days.
View 4 Replies
View Related
Jan 25, 2011
How do I solve the problem of "No swap space, check if decopserver is running" Presume an increase in hidden partition required, my guess. Am using the original Xandros OS.
View 2 Replies
View Related
Oct 7, 2009
I'm running fedora 11 on Dell laptop. I find that fedora is using swap space even if memory is available.
Isn't it slower to use swap ?? Or Am I just missing something ?
View 2 Replies
View Related
Nov 22, 2010
I am reading slab allocator, it defines slab cache, i am quite confuse is it same as hardware cache?
View 2 Replies
View Related
Apr 12, 2011
If you have the value 100 in File1 and the value 5 in File2, how do you write a script to divide the 100 in File1 by the 5 in File2 in Linux Bash Shell?The operating system I am using is Ubuntu 10 and object is to write a script to accomplish this task.
View 5 Replies
View Related
Dec 21, 2010
i had to install oracle in my laptop...it required a certain amount of swap space which i didnt have... i tried to create it using the datadump command... dd if=/dev/zero of=/extraswapf bs=1M count=512 i then rebooted and made the swapfile using: mkswap /extraswap i then made the entry in /etc/fstab as follows "/extraswap swap swap default 0 0" and i used the command : swapon /extraswap the swap space was visible after that... but after rebooting the swap space is not visibille
View 4 Replies
View Related
Feb 3, 2010
When i first installed ubuntu about 2 weeks i left about 30gb left for windows vista. I have not used vista at all so i decided to delete it and use the whole hard drive for ubuntu. I got the liveCD out and went into the partition editor on that (i had ubuntu,swap,vista in that order) and deleted the swap space and vista and increased the size of the Ubuntu partition to so there was only 4gb left for swap. I then booted up again from the hard drive and i get this message "one or mounts cannot be mounted" or something to that effect and it talks about the swap partition and offers to boot in recovery mode which does work.Once in recovery mode i go in and try and make swap partition with Disk Utility and i do that and it works. I go to restart Ubuntu to test it out and the same problem happens again, cannot mount swap ect. so i go back into Disk Utility and it now says 4gb Unrecognized instead of swap
View 4 Replies
View Related
Apr 29, 2011
Before I start a flame war, I'd like to qualify my question with...I have a boatload of ram and a VERY thin install.(CLI openSuse 11.4-64) If I'm running the most baseline, text-only-install...and the whole system install is like 2GB or less, and I have 8GB of ram (which I could easily upgrade to 16). At install time...do I really need a swap partition at all? What purpose could a swap serve if I have that much ram in such a trimmed down environment?
View 6 Replies
View Related
Jan 30, 2010
swap space consumed is not released when there is enough main memory. pls advise how to release used swap space.
View 6 Replies
View Related